help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function keys in macro


From: Emanuel Berg
Subject: Re: function keys in macro
Date: Mon, 25 Nov 2013 22:40:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> In fact, I just got a new idea writing this, remap to
> some unused shortcut (or even Unicode char, if those
> could be put in macros), and then have a macro "type"
> that... stay tuned!

Keyboard macros are *not* intercepted by the tty:

(fset 'Ml (kbd "M-l"))
(execute-kbd-macro (symbol-function 'Ml))

This will *not* take me to tty2 (if in tty1/Emacs), but
will instead run `downcase-word', i.e., normal Emacs
behaviour!

Amazing! That means this whole idea must be dropped!

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]