unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* function keys in macro
@ 2013-11-23 15:10 Emanuel Berg
  2013-11-25 12:38 ` Michael Heerdegen
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Emanuel Berg @ 2013-11-23 15:10 UTC (permalink / raw)
  To: help-gnu-emacs

I tried so many ways to include one of the function
keys in a macro, like:

(fset 'F2 (kbd "M-<f2>"))
(fset 'F2 (kbd "<M-f2>"))
(fset 'F2 [(meta f2)])
(fset 'F2 [M-f2])
;; and more...

and then (after either of the above)

(execute-kbd-macro (symbol-function 'F2))

But then I always get:

"Keyboard macro terminated by a command ringing the bell"

But it works for the non-F* keys so there has to be
something with those that breaks it.

Thanks!

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-14  1:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-23 15:10 function keys in macro Emanuel Berg
2013-11-25 12:38 ` Michael Heerdegen
2013-11-25 12:44 ` Jambunathan K
2013-11-25 12:50 ` Jambunathan K
     [not found] ` <mailman.7060.1385383126.10748.help-gnu-emacs@gnu.org>
2013-11-25 20:34   ` Emanuel Berg
2013-11-25 21:40     ` Emanuel Berg
2013-11-26  7:35       ` Michael Heerdegen
2014-01-14  1:47     ` Emanuel Berg
     [not found] ` <mailman.7064.1385384049.10748.help-gnu-emacs@gnu.org>
2013-11-25 20:40   ` Emanuel Berg
2013-11-25 20:42     ` Emanuel Berg
2013-11-27 12:38       ` Tassilo Horn
     [not found]       ` <mailman.7252.1385555936.10748.help-gnu-emacs@gnu.org>
2013-11-27 20:10         ` Emanuel Berg
2013-11-28 10:06           ` Jambunathan K
     [not found]           ` <mailman.7323.1385633250.10748.help-gnu-emacs@gnu.org>
2013-11-28 15:25             ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).