From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: (no subject) Date: Fri, 3 Jun 2005 19:56:27 -0500 (CDT) Message-ID: <200506040056.j540uRr07626@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117847153 21310 80.91.229.2 (4 Jun 2005 01:05:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2005 01:05:53 +0000 (UTC) Cc: "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 03:05:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeN6W-0000Ku-0A for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2005 03:05:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeNCJ-0001eo-QJ for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 21:11:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeN9e-0000R6-8O for emacs-devel@gnu.org; Fri, 03 Jun 2005 21:08:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeN9Z-0000Os-RE for emacs-devel@gnu.org; Fri, 03 Jun 2005 21:08:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeN9Y-0000Bv-FG for emacs-devel@gnu.org; Fri, 03 Jun 2005 21:08:44 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeN10-0003EA-Jo for emacs-devel@gnu.org; Fri, 03 Jun 2005 20:59:54 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j540vACK013177; Fri, 3 Jun 2005 19:57:10 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j540uRr07626; Fri, 3 Jun 2005 19:56:27 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38096 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38096 Is there a reason why this-original-command, unlike this-command, returns a non-nil value when no command is running? The reason why this originally annoyed me is no longer valid, so I do not need this to be "fixed", but I thought that maybe it might just be due to an oversight. What about the patch below? Grepping shows that this-original-command, is only used in ido and cua. Basically, I believe that only Kim has ever used it. What about the mini-patch below? I can install if desired. ===File ~/keyboard.c-diff=================================== *** keyboard.c 26 May 2005 10:40:35 -0500 1.826 --- keyboard.c 30 May 2005 17:14:15 -0500 *************** *** 1522,1527 **** --- 1522,1528 ---- Vthis_command = Qnil; real_this_command = Qnil; + Vthis_original_command=Qnil; /* Read next key sequence; i gets its length. */ i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0], ============================================================