emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#4093: closed (Overlay keymap and timers)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#4093: closed (Overlay keymap and timers)
Date: Sun, 05 Oct 2014 01:22:04 +0000

Your message dated Sun, 05 Oct 2014 05:21:25 +0400
with message-id <address@hidden>
and subject line Re: bug#10459: Overlay keymaps ignored until point is moved 
when overlay is created from timer
has caused the debbugs.gnu.org bug report #10459,
regarding Overlay keymap and timers
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10459: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10459
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Overlay keymap and timers Date: Sun, 9 Aug 2009 16:49:30 +0300
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/address@hidden/msg12003.html

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

Cheers,
-Mihai


--- End Message ---
--- Begin Message --- Subject: Re: bug#10459: Overlay keymaps ignored until point is moved when overlay is created from timer Date: Sun, 05 Oct 2014 05:21:25 +0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux)
Version: 24.4

> On Sun, Jan 08, 2012 at 10:52:54PM -0500, Stefan Monnier wrote:
>> Yes, this is a known limitation: the set of active keymaps is computed
>> before waiting for the next key sequence.

This has been fixed around the start of 24.4 development: the set of
keymaps is recomputed at the start of a key sequence.

The examples in this and merged bugs work for me now. Please feel free
to reopen if you see a case where the problem's not fixed.


--- End Message ---

reply via email to

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