GNU bug report logs - #10459
Overlay keymaps ignored until point is moved when overlay is created from timer

Previous Next

Package: emacs;

Reported by: Toby Cubitt <toby-predictive-dated-1327275432.bb87aa <at> dr-qubit.org>

Date: Mon, 9 Jan 2012 00:50:02 UTC

Severity: normal

Merged with 4081, 4093, 11088

Found in version 24.0.94

Fixed in version 24.4

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10459 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Toby Cubitt <toby-predictive-dated-1327275432.bb87aa <at> dr-qubit.org>
Cc: 10459 <at> debbugs.gnu.org
Subject: Re: bug#10459: Overlay keymaps ignored until point is moved when
	overlay is created from timer
Date: Sun, 08 Jan 2012 22:52:54 -0500
Yes, this is a known limitation: the set of active keymaps is computed
before waiting for the next key sequence.

You might be able to get around this problem by pushing some dummy event
(which you then bind to `ignore' in some keymap) onto
unread-command-event from your timer, just to force a refresh.


        Stefan




This bug report was last modified 10 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.