From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#4093: Overlay keymap and timers Date: Mon, 10 Aug 2009 19:42:15 +0200 Message-ID: References: <680d89b1d020330a6cb4001845e1e5fb@bazon.net> <8d0e98985fc5a0229f138935490f4f6a@bazon.net> Reply-To: Lennart Borgman , 4093@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249927718 14469 80.91.229.12 (10 Aug 2009 18:08:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 18:08:38 +0000 (UTC) Cc: 4093@emacsbugs.donarmstrong.com, Mihai Bazon To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 20:08:22 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 1MaZIB-00062L-C4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 20:08:19 +0200 Original-Received: from localhost ([127.0.0.1]:32838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaZIA-0007yl-9F for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 14:08:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaZGp-0007bD-K7 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 14:06:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaZGl-0007al-Qs for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 14:06:55 -0400 Original-Received: from [199.232.76.173] (port=48601 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaZGl-0007ae-Lu for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 14:06:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38327) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaZGk-0003ew-VT for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 14: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 n7AI6mf0014041; Mon, 10 Aug 2009 11:06:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7AHo6cB011688; Mon, 10 Aug 2009 10:50:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 17:50:06 +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.124992613811076 (code B ref 4093); Mon, 10 Aug 2009 17:50:06 +0000 Original-Received: (at 4093) by emacsbugs.donarmstrong.com; 10 Aug 2009 17:42:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7AHgGcd011073 for <4093@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 10:42:17 -0700 Original-Received: by an-out-0708.google.com with SMTP id b2so1188805ana.31 for <4093@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 10:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Qq9Y7xXAmzZoJFtzqfl/1sOgF2PFoNC1F8DTUjx+jrk=; b=VZu00RyTlxHeMsPkJ+nJunN3KL4AtK9sV2XxBCeC1h6h21Cilt86I9boEVVhSsMJhH A9V5N/bwqCKU3purT+JMbhg+OcanlA+ACFZ2rnQOSgH5lYfk+nL7jGJq3AF+kZA1yD2F k8Hj9oaMma5VoNVHnvBDSQF2+0JHOPvUnhjm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FkEZyIPhmBX+keWzQBuK0kGISPdMOUT83F49yHTZzhBQC10QEyYPRsvfRZ+0YaJC93 prpLflfnQTCciGp0XTICIstaqbhOtkAQRcErFD7Ur/8eDSKP4eUj5taA/nHdv1JiY8Gu /aSeIYMYtb+hqmIzt/14q9ZGIBBRDqvoV6x50= Original-Received: by 10.100.96.4 with SMTP id t4mr3911268anb.170.1249926135814; Mon, 10 Aug 2009 10:42:15 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 10 Aug 2009 14:06: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:30066 Archived-At: On Mon, Aug 10, 2009 at 7:38 PM, Stefan Monnier w= rote: >>> 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. =C2=A0Would 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. =C2=A0Not sure if that > advantage is of any significance, tho. You mean it is the same approach as you were thinking of? Then I think the "active voice" used to call the function makes it a bit easier to understand, but maybe that is just me. Also you can't really doubt how to use it.