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#4093: Overlay keymap and timers Date: Thu, 13 Aug 2009 13:33:24 -0400 Message-ID: References: <680d89b1d020330a6cb4001845e1e5fb@bazon.net> <8d0e98985fc5a0229f138935490f4f6a@bazon.net> <3db84103d8c5db51b3dd6bba4c267a84@bazon.net> Reply-To: Stefan Monnier , 4093@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250185670 15768 80.91.229.12 (13 Aug 2009 17:47:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 17:47:50 +0000 (UTC) Cc: 4093@emacsbugs.donarmstrong.com To: Mihai Bazon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 19:47:43 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 1MbeOs-0001AE-R3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 19:47:43 +0200 Original-Received: from localhost ([127.0.0.1]:35411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbeOs-0002bO-CE for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 13:47:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbeOA-0001kJ-AW for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2009 13:46:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbeO4-0001cV-O1 for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2009 13:46:57 -0400 Original-Received: from [199.232.76.173] (port=42610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbeO4-0001cG-Fe for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2009 13:46:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37170) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbeO3-00009a-R6 for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2009 13:46:52 -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 n7DHknXM006557; Thu, 13 Aug 2009 10:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7DHe5b5005345; Thu, 13 Aug 2009 10:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 13 Aug 2009 17:40: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.12501848084329 (code B ref 4093); Thu, 13 Aug 2009 17:40:05 +0000 Original-Received: (at 4093) by emacsbugs.donarmstrong.com; 13 Aug 2009 17:33:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7DHXPuB004325 for <4093@emacsbugs.donarmstrong.com>; Thu, 13 Aug 2009 10:33:27 -0700 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n7DHXOMk019649; Thu, 13 Aug 2009 13:33:24 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 1B1199015C; Thu, 13 Aug 2009 13:33:24 -0400 (EDT) In-Reply-To: <3db84103d8c5db51b3dd6bba4c267a84@bazon.net> (Mihai Bazon's message of "Tue, 11 Aug 2009 19:49:39 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3340=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 13 Aug 2009 13:46:57 -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:30161 Archived-At: > Indeed, that function looks frightening. I hoped you'd find it challenging. Oh well! > It's worth noting that XEmacs doesn't have this problem. IIRC XEmacs's equivalent function restarts the whole work after every event, so they look up the keymaps anew, and look them all up anew (kind of like always jumping back to replay_sequence except that it additionally recomputes the active keymaps). > But the code differs drastically.. Yes, the algorithm is completely different. I have a feeling it's related to the "frightening" above... nah! Stefan