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: Mon, 10 Aug 2009 13:38:09 -0400 Message-ID: References: <680d89b1d020330a6cb4001845e1e5fb@bazon.net> <8d0e98985fc5a0229f138935490f4f6a@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 1249926431 1690 80.91.229.12 (10 Aug 2009 17:47:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 17:47:11 +0000 (UTC) Cc: 4093@emacsbugs.donarmstrong.com, Mihai Bazon To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 19:47:03 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 1MaYxb-0006aN-Em for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 19:47:03 +0200 Original-Received: from localhost ([127.0.0.1]:34665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaYxa-0006gL-6G for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 13:47:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaYxU-0006fO-BA for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 13:46:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaYxP-0006c4-Nu for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 13:46:55 -0400 Original-Received: from [199.232.76.173] (port=53104 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaYxP-0006by-GU for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 13:46:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58299) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaYxO-0008VG-Sr for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 13:46: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 n7AHkmqe011510; Mon, 10 Aug 2009 10:46:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7AHj4Rl011198; Mon, 10 Aug 2009 10:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 17:45:04 +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.124992589210633 (code B ref 4093); Mon, 10 Aug 2009 17:45:04 +0000 Original-Received: (at 4093) by emacsbugs.donarmstrong.com; 10 Aug 2009 17:38:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from tomts10-srv.bellnexxia.net (tomts10-srv.bellnexxia.net [209.226.175.54]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7AHcA7D010630 for <4093@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 10:38:11 -0700 Original-Received: from toip7.srvr.bell.ca ([209.226.175.124]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20090810173809.YEHN12711.tomts10-srv.bellnexxia.net@toip7.srvr.bell.ca> for <4093@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 13:38:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAH/1f0pGN48s/2dsb2JhbACBUs9GhBgF Original-Received: from bas1-montreal42-1178046252.dsl.bell.ca (HELO ceviche.home) ([70.55.143.44]) by toip7.srvr.bell.ca with ESMTP; 10 Aug 2009 13:40:57 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4243FB454F; Mon, 10 Aug 2009 13:38:09 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Mon, 10 Aug 2009 18:30:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 10 Aug 2009 13:46:55 -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:30065 Archived-At: >> But maybe an alternative is to provide some way for your Elisp code to >> cause a jump back to `replay_sequence' so that you can force the C-c C-d >> to be interpreted in the new keymaps even if the C-c had already been >> pressed when your code was run. > Sounds good. Would it perhaps be most easy to implement > a `please-replay-sequence' function that tells the command loop to go > one more turn and check the keymaps again and reuse the pending input? That function couldn't do much more than set a variable and return. So yes, it could be done and would have the advantage of making it possible to keep the variable hidden from Elisp. Not sure if that advantage is of any significance, tho. Stefan