From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mihai Bazon Newsgroups: gmane.emacs.bugs Subject: bug#4093: Overlay keymap and timers Date: Mon, 10 Aug 2009 09:55:24 +0300 Message-ID: <8d0e98985fc5a0229f138935490f4f6a@bazon.net> References: <680d89b1d020330a6cb4001845e1e5fb@bazon.net> Reply-To: Mihai Bazon , 4093@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249888053 13136 80.91.229.12 (10 Aug 2009 07:07:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 07:07:33 +0000 (UTC) Cc: 4093@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 09:07:25 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaOya-0003rQ-91 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 09:07:24 +0200 Original-Received: from localhost ([127.0.0.1]:42450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaOyZ-0007WO-ME for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 03:07:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaOy9-0007MC-Ao for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 03:06:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaOy4-0007Ka-OB for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 03:06:56 -0400 Original-Received: from [199.232.76.173] (port=46378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaOy4-0007KT-FF for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 03:06:52 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:20291) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaOy3-0004z2-N3 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 03:06:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaOy2-0004Et-N8 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 03:06:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7A76mEE011416; Mon, 10 Aug 2009 00:06:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7A75586010712; Mon, 10 Aug 2009 00:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Mihai Bazon Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 07:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4093 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4093-submit@emacsbugs.donarmstrong.com id=B4093.12498875509878 (code B ref 4093); Mon, 10 Aug 2009 07:05:05 +0000 Original-Received: (at 4093) by emacsbugs.donarmstrong.com; 10 Aug 2009 06:59:10 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from v1.dynarch.com (ip-72-55-183-145.static.privatedns.com [72.55.183.145]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7A6x9fa009875 for <4093@emacsbugs.donarmstrong.com>; Sun, 9 Aug 2009 23:59:10 -0700 Original-Received: by v1.dynarch.com (Postfix, from userid 5001) id 413C61DCC61; Mon, 10 Aug 2009 09:55:25 +0300 (EEST) Original-Received: from v3.dynarch.com (ip-72-55-183-147.static.privatedns.com [72.55.183.147]) by v1.dynarch.com (Postfix) with SMTP id A05321DCC5E; Mon, 10 Aug 2009 09:55:24 +0300 (EEST) Original-Received: (nullmailer pid 29605 invoked by uid 65534); Mon, 10 Aug 2009 06:55:24 -0000 Content-Disposition: inline In-Reply-To: X-Mailer: XUHEKI - Dynarch.com WebMail X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 10 Aug 2009 03:06:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30053 Archived-At: Stefan Monnier wrote: > > Yes, this is a really bad thing - sometimes, ie when you need to do > > just that. >=20 > The code in keyboard.c reads the set of active keymaps before reading > the next event. That's most likely the explanation for this behavior. What you are saying does actually make sense. If it set the keymap *before* serving an event, it should work fine. But I think what happens is that it sets the keymap *after* executing an event... I looked at the code but couldn't figure out where is the keymap computed. Could you point it out? Cheers, -Mihai=