From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10459: Overlay keymaps ignored until point is moved when overlay is created from timer Date: Sun, 08 Jan 2012 22:52:54 -0500 Message-ID: References: <20120108145806.GA26632@c3po> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326081242 4520 80.91.229.12 (9 Jan 2012 03:54:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 03:54:02 +0000 (UTC) Cc: 10459@debbugs.gnu.org To: Toby Cubitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 09 04:53:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rk6J1-0000AK-0X for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 04:53:55 +0100 Original-Received: from localhost ([::1]:33891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk6J0-0008TO-Cv for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 22:53:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk6Iy-0008T8-4w for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2012 22:53:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk6Ix-0002Jz-66 for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2012 22:53:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk6Ix-0002Jv-3H for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2012 22:53:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rk6J7-0001ne-Vc for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2012 22:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2012 03:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10459 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10459-submit@debbugs.gnu.org id=B10459.13260812066875 (code B ref 10459); Mon, 09 Jan 2012 03:54:01 +0000 Original-Received: (at 10459) by debbugs.gnu.org; 9 Jan 2012 03:53:26 +0000 Original-Received: from localhost ([127.0.0.1]:50505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rk6IX-0001mp-1Y for submit@debbugs.gnu.org; Sun, 08 Jan 2012 22:53:26 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:57670) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rk6IG-0001mP-U3 for 10459@debbugs.gnu.org; Sun, 08 Jan 2012 22:53:22 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q093qtK7010956; Sun, 8 Jan 2012 22:52:55 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E9C2358F7E; Sun, 8 Jan 2012 22:52:54 -0500 (EST) In-Reply-To: <20120108145806.GA26632@c3po> (Toby Cubitt's message of "Sun, 8 Jan 2012 16:14:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4095=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4095> : streams <718030> : uri <1043323> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55559 Archived-At: 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