unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4093: Overlay keymap and timers
@ 2009-08-09 13:49 Mihai Bazon
  2009-08-09 20:56 ` Lennart Borgman
  0 siblings, 1 reply; 15+ messages in thread
From: Mihai Bazon @ 2009-08-09 13:49 UTC (permalink / raw)
  To: bug-gnu-emacs

Actually, it seems it hasn't anything to do with overlays:

(defun my-set-keymap-with-timer ()
  (interactive)
  (run-with-timer 0.5 nil (lambda()
                            (use-local-map my-keymap)
                            (message "Done setting keymap"))))

If we eval the following and M-x my-set-keymap-with-timer, the keymap
will only be enforced after the first keypress (i.e. first press of M-n
says "M-n is undefined", but subsequently it works).

Found another thread about this issue here:

   http://www.mail-archive.com/emacs-pretest-bug@gnu.org/msg12003.html

Stallman says "we should consider that a serious problem". ;-)

Cheers,
-Mihai





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

end of thread, other threads:[~2009-08-13 17:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 13:49 bug#4093: Overlay keymap and timers Mihai Bazon
2009-08-09 20:56 ` Lennart Borgman
2009-08-09 21:23   ` Mihai Bazon
2009-08-10  4:06   ` Stefan Monnier
2009-08-10  6:55     ` Mihai Bazon
2009-08-10 16:25       ` Stefan Monnier
2009-08-10 16:30         ` Lennart Borgman
2009-08-10 17:38           ` Stefan Monnier
2009-08-10 17:42             ` Lennart Borgman
2009-08-10 18:17               ` Stefan Monnier
2009-08-10 18:32                 ` Lennart Borgman
2009-08-10 18:26         ` Mihai Bazon
2009-08-11 16:49         ` Mihai Bazon
2009-08-13 17:33           ` Stefan Monnier
2009-08-13 17:49             ` Mihai Bazon

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).