From debbugs-submit-bounces@debbugs.gnu.org Fri May 18 03:10:00 2012 Received: (at submit) by debbugs.gnu.org; 18 May 2012 07:10:00 +0000 Received: from localhost ([127.0.0.1]:60056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVHK3-0007Eo-K9 for submit@debbugs.gnu.org; Fri, 18 May 2012 03:09:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50461) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVHK0-0007Av-Uz for submit@debbugs.gnu.org; Fri, 18 May 2012 03:09:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVHJa-0002o5-R7 for submit@debbugs.gnu.org; Fri, 18 May 2012 03:09:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:42493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVHJa-0002nt-Nx for submit@debbugs.gnu.org; Fri, 18 May 2012 03:09:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVHJZ-0003Vn-0T for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 03:09:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVHJW-0002n9-Mn for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 03:09:28 -0400 Received: from smtp12.dentaku.gol.com ([203.216.5.74]:44591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVHJW-0002mY-7J for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 03:09:26 -0400 Received: from 218.231.234.39.eo.eaccess.ne.jp ([218.231.234.39] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1SVHJT-000425-Oz for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 16:09:23 +0900 Received: by catnip.gol.com (Postfix, from userid 1000) id A1671E006; Fri, 18 May 2012 16:09:22 +0900 (JST) From: Miles Bader To: bug-gnu-emacs@gnu.org Subject: 24.1.50; "C-x z" ("repeat") no longer works correctly with M-x Date: Fri, 18 May 2012 16:09:22 +0900 Message-ID: <87wr4a6k4d.fsf@catnip.gol.com> MIME-Version: 1.0 Content-Type: text/plain X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) It used to be (up until fairly recently, dunno the exact point at which it changed) that "C-x z" would correctly repeat the previous extended command; e.g. if you entered "M-x pwd RET", and then "C-x z", the latter would re-invoke "pwd". This was very useful. Now it no longer does this -- instead it just repeats "M-x", prompting for a command. This is obviously far less useful behavior... To repeat: emacs -Q M-x pwd RET C-x z You will just get the M-x prompt; in older versions, it would print the output of "pwd" again. Thanks, -Miles In GNU Emacs 24.1.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-05-17 on catnip Configured using: `configure '--without-rsvg'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x r e p o r t - e m SPC b u g RET Recent messages: ("emacs") Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Love is a snowmobile racing across the tundra. Suddenly it flips over, pinning you underneath. At night the ice weasels come. --Nietzsche From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 15:10:26 2012 Received: (at control) by debbugs.gnu.org; 30 May 2012 19:10:26 +0000 Received: from localhost ([127.0.0.1]:50753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZoHp-0001tm-5N for submit@debbugs.gnu.org; Wed, 30 May 2012 15:10:26 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36524 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZoHm-0001td-Pi for control@debbugs.gnu.org; Wed, 30 May 2012 15:10:23 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SZoGK-00018b-2V for control@debbugs.gnu.org; Wed, 30 May 2012 15:08:52 -0400 Date: Wed, 30 May 2012 15:08:52 -0400 Message-Id: Subject: control message for bug 11506 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forwarded 11506 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00380.html From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 02 15:23:47 2012 Received: (at 11506-done) by debbugs.gnu.org; 2 Jun 2012 19:23:47 +0000 Received: from localhost ([127.0.0.1]:54899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SatvP-0002wZ-79 for submit@debbugs.gnu.org; Sat, 02 Jun 2012 15:23:47 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:27189) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SatvN-0002wM-4b for 11506-done@debbugs.gnu.org; Sat, 02 Jun 2012 15:23:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+UI/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="187049938" Received: from 108-175-229-8.dsl.teksavvy.com (HELO pastel.home) ([108.175.229.8]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jun 2012 15:21:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id 8C5B859607; Sat, 2 Jun 2012 15:21:51 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Subject: Re: bug: "C-x z" ("repeat") no longer works correctly with M-x Message-ID: References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org> <8762ba8b6p.fsf@gnu.org> Date: Sat, 02 Jun 2012 15:21:51 -0400 In-Reply-To: <8762ba8b6p.fsf@gnu.org> (Chong Yidong's message of "Sat, 02 Jun 2012 14:44:46 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > The problem is that the old execute-extended-command sets the > real_this_command internal variable, which causes the Emacs command loop > to record the command that was actually executed into real-last-command > and last-repeatable-command. Indeed. > In other words, it's not just the fact that `C-x z' doesn't work > properly. Moving execute-extended-command to Lisp produces a > backward-incompatible change in the values of the real-last-command and > last-repeatable-command variables for M-x. I suspect this may break > things other than `C-x z'. I guess we could fix this by exposing > real_this_command to Lisp too, but that kinda defeats the point of that > variable... I don't see why this would defeat anything. Clearly, execute-extended-command demonstrates that there can be very good reasons to change real-this-command. I installed a change that does just that. > Is there a strong rationale for moving execute-extended-command to Lisp, > other than the general principle that we want as much functionality > implemented Lisp as possible? To me, an important part of moving code to Elisp is to make sure that it *can* be implemented in Elisp (i.e. that some third-party package can provide a new implementation of that functionality). Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 02 15:45:53 2012 Received: (at 11506-done) by debbugs.gnu.org; 2 Jun 2012 19:45:53 +0000 Received: from localhost ([127.0.0.1]:54926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SauGm-0003SX-Od for submit@debbugs.gnu.org; Sat, 02 Jun 2012 15:45:53 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:50397) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SauGk-0003SL-Oe for 11506-done@debbugs.gnu.org; Sat, 02 Jun 2012 15:45:51 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q52JhtEc022609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 2 Jun 2012 19:43:56 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q52Jhs6G017073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Jun 2012 19:43:55 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q52JhsUn021287; Sat, 2 Jun 2012 14:43:54 -0500 Received: from dradamslap1 (/10.159.223.197) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 02 Jun 2012 12:43:54 -0700 From: "Drew Adams" To: "'Stefan Monnier'" , "'Chong Yidong'" References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org><8762ba8b6p.fsf@gnu.org> Subject: RE: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Date: Sat, 2 Jun 2012 12:43:45 -0700 Message-ID: <4DDFBCA4D529431F922887DF34538295@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1A9QpxWrl9q11yTs+zJmq0gyClcwAAOkJQ X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > I don't see why this would defeat anything. Clearly, > execute-extended-command demonstrates that there can be very good > reasons to change real-this-command. > > > Is there a strong rationale for moving > > execute-extended-command to Lisp, other than the general > > principle that we want as much functionality implemented > > Lisp as possible? > > To me, an important part of moving code to Elisp is to make > sure that it *can* be implemented in Elisp (i.e. that some > third-party package can provide a new implementation of that > functionality). FWIW, Icicles does just that. It defines a multi-command version of `e-e-c', which has been in daily use for 7 years. So certainly it can be done. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 02 23:26:24 2012 Received: (at 11506-done) by debbugs.gnu.org; 3 Jun 2012 03:26:24 +0000 Received: from localhost ([127.0.0.1]:55153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sb1SS-0007cK-AB for submit@debbugs.gnu.org; Sat, 02 Jun 2012 23:26:24 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:19749) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sb1SQ-0007c8-PH for 11506-done@debbugs.gnu.org; Sat, 02 Jun 2012 23:26:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+UI/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="187348480" Received: from 108-175-229-8.dsl.teksavvy.com (HELO pastel.home) ([108.175.229.8]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jun 2012 23:24:28 -0400 Received: by pastel.home (Postfix, from userid 20848) id BD06F59607; Sat, 2 Jun 2012 23:24:27 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Message-ID: References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org> <8762ba8b6p.fsf@gnu.org> <4DDFBCA4D529431F922887DF34538295@us.oracle.com> Date: Sat, 02 Jun 2012 23:24:27 -0400 In-Reply-To: <4DDFBCA4D529431F922887DF34538295@us.oracle.com> (Drew Adams's message of "Sat, 2 Jun 2012 12:43:45 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org, 'Chong Yidong' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > FWIW, Icicles does just that. It defines a multi-command version of `e-e-c', > which has been in daily use for 7 years. So certainly it can be done. But I strongly suspects that it suffers from the same problem w.r.t C-x z. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 03 09:34:04 2012 Received: (at 11506-done) by debbugs.gnu.org; 3 Jun 2012 13:34:04 +0000 Received: from localhost ([127.0.0.1]:55395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbAwV-0008PC-KP for submit@debbugs.gnu.org; Sun, 03 Jun 2012 09:34:04 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:37895) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbAwB-0008ON-Qj for 11506-done@debbugs.gnu.org; Sun, 03 Jun 2012 09:34:03 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q53DVjIQ018863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 3 Jun 2012 13:31:46 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q53DVimh021348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Jun 2012 13:31:44 GMT Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q53DVhiP027199; Sun, 3 Jun 2012 08:31:43 -0500 Received: from dradamslap1 (/10.159.183.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 03 Jun 2012 06:31:43 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org><8762ba8b6p.fsf@gnu.org> <4DDFBCA4D529431F922887DF34538295@us.oracle.com> Subject: RE: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Date: Sun, 3 Jun 2012 06:31:32 -0700 Message-ID: <702924CEED3B405D81D118DDE532C97F@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1BOGMWHEO2JoI8TseQlf9Ylr/AhgATaGUw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org, 'Chong Yidong' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > FWIW, Icicles does just that. It defines a multi-command > > version of `e-e-c' > > But I strongly suspects that it suffers from the same problem > w.r.t C-x z. I saw two problems mentioned here: M-x pwd RET C-x z z z ... M-x dired-other-window foobar RET C-x z toto RET z titi RET z ... The first is not a problem in Icicles. The problem reported for the second was that when repeating the last command entered, if that command prompted for input then when repeated it should prompt again but doesn't. In Icicles, the `dired-other-window' example has the same problem: there is no prompt for repetitions - the same dir is used repeatedly. But if the command-name typed is instead `icicle-dired-other-window' then you are prompted each time you hit `z' (with `default-directory' from the current dir, i.e., the last Dired buffer created). The difference here is that `i-d-o-w' does the prompting in the command body - the command has no arguments. It works if you just hit `RET' at each such prompt from `z' for a directory. However, if you type a different dir name at the prompt, then that breaks the repeating. I guess this is because the minibuffer editing is taken as using a different command. So you are correct that `icicle-execute-extended-command' does not play with `repeat' quite the same way as the C command `execute-extended-command'. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 03 11:22:12 2012 Received: (at 11506-done) by debbugs.gnu.org; 3 Jun 2012 15:22:12 +0000 Received: from localhost ([127.0.0.1]:55920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbCd9-0003Hf-V9 for submit@debbugs.gnu.org; Sun, 03 Jun 2012 11:22:12 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52919) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbCd8-0003HT-JR for 11506-done@debbugs.gnu.org; Sun, 03 Jun 2012 11:22:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+UI/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="187797771" Received: from 108-175-229-8.dsl.teksavvy.com (HELO pastel.home) ([108.175.229.8]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jun 2012 11:20:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id CD18059607; Sun, 3 Jun 2012 11:20:12 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Message-ID: References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org> <8762ba8b6p.fsf@gnu.org> <4DDFBCA4D529431F922887DF34538295@us.oracle.com> <702924CEED3B405D81D118DDE532C97F@us.oracle.com> Date: Sun, 03 Jun 2012 11:20:12 -0400 In-Reply-To: <702924CEED3B405D81D118DDE532C97F@us.oracle.com> (Drew Adams's message of "Sun, 3 Jun 2012 06:31:32 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org, 'Chong Yidong' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > I saw two problems mentioned here: > M-x pwd RET C-x z z z ... [...] > The first is not a problem in Icicles. So, how does Icicle solve it? Did you change C-x z? Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 03 13:02:08 2012 Received: (at 11506-done) by debbugs.gnu.org; 3 Jun 2012 17:02:08 +0000 Received: from localhost ([127.0.0.1]:55979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbEBp-0005VG-TR for submit@debbugs.gnu.org; Sun, 03 Jun 2012 13:02:07 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:20123) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbEBV-0005UU-6F for 11506-done@debbugs.gnu.org; Sun, 03 Jun 2012 13:02:04 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q53GxiLw009405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 3 Jun 2012 16:59:45 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q53GxhZ6011800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Jun 2012 16:59:44 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q53GxhBd014402; Sun, 3 Jun 2012 11:59:43 -0500 Received: from dradamslap1 (/10.159.183.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 03 Jun 2012 09:59:42 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org><8762ba8b6p.fsf@gnu.org> <4DDFBCA4D529431F922887DF34538295@us.oracle.com><702924CEED3B405D81D118DDE532C97F@us.oracle.com> Subject: RE: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Date: Sun, 3 Jun 2012 09:59:31 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1BnGBNiEUVBm02ThyH9+MX2olsdgAADHmQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11506-done Cc: 11506-done@debbugs.gnu.org, 'Chong Yidong' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > M-x pwd RET C-x z z z ... > > The first is not a problem in Icicles. > > So, how does Icicle solve it? Did you change C-x z? No, I didn't change `C-x z' or anything associated with repeat.el. I don't know what causes the problem (or the "solution"). ;-) The code is here, in case someone more knowledgable about `e-e-c' or repeat.el wants to take a look: http://www.emacswiki.org/emacs/download/icicles-cmd1.el. (That uses macro `icicle-define-command', which is defined here: http://www.emacswiki.org/emacs/download/icicles-mac.el) But I don't claim (or expect) that the code I use for this is a model for anything. The reason I defined `icicle-execute-extended-command' was not to move `e-e-c' to Lisp but to define a multi-command version of it. In effect, that lets you use any command (via `M-x') as a multi-command. (A multi-command just lets you act multiple times on multiple completion candidates in the same command invocation. In this case, the candidates are command names.) This page describes `i-e-e-c' and its use: http://www.emacswiki.org/emacs/Icicles_-_Multi_M-x And this page describes its implementation: http://www.emacswiki.org/emacs/Icicles_-_Defining_Multi_M-x Anyway, as I mentioned, it is only a partial solution to the problems mentioned in this thread. The second problem remains, in two senses: (1) When the command to be repeated expects an argument entered by the user (minibuffer input), the `C-x z z' does not re-prompt. (2) If the command body (not the `interactive' spec) prompts for input, and the user types or edits the minibuffer input, that breaks repetition. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 04 09:50:09 2012 Received: (at 11506) by debbugs.gnu.org; 4 Jun 2012 13:50:09 +0000 Received: from localhost ([127.0.0.1]:56911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbXfc-0004AP-V1 for submit@debbugs.gnu.org; Mon, 04 Jun 2012 09:50:09 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:50823) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbXfa-00049o-Oo; Mon, 04 Jun 2012 09:50:07 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q54Dm2Ox027136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Jun 2012 13:48:03 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q54Dm2C2007500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2012 13:48:02 GMT Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q54Dm1PS018336; Mon, 4 Jun 2012 08:48:01 -0500 Received: from dradamslap1 (/10.159.218.251) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 04 Jun 2012 06:48:01 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <87396ylx5m.fsf@catnip.gol.com> <87pq9ndq0n.fsf@gnu.org><8762ba8b6p.fsf@gnu.org> <4DDFBCA4D529431F922887DF34538295@us.oracle.com><702924CEED3B405D81D118DDE532C97F@us.oracle.com> Subject: RE: bug#11506: bug: "C-x z" ("repeat") no longer works correctly with M-x Date: Mon, 4 Jun 2012 06:47:46 -0700 Message-ID: <0359C772AE3B4139B5F5C59DC160D56F@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1BnGBNiEUVBm02ThyH9+MX2olsdgAADHmQAC5XUbA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11506 Cc: 11506-done@debbugs.gnu.org, 'Chong Yidong' , 11506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Is there a problem with the automatic mailing of bug-thread messages, or is there perhaps a problem with my mail server? I sent two messages to this bug thread, and never received those mails from the bug list. But they showed up on the archive site OK: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11506#15 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11506#17 Similarly, I received Stefan's reply to the first of these directly from him, but I did not receive his message from the bug address. If there is a mail problem at the Emacs BUGS end, is it perhaps only for the -done@debbugs.gnu.org address? If so, can that please be fixed? Whatever discussion continues in a bug thread should be echoed to the bug mailing list, no? If not, I will no doubt have to manually remove "-done" from the cc address from now on (or else add the address without "-done", in addition to "-done"). Users do not pay a lot of attention to the cc addresses when they hit `Reply All'. This bug server automatically changes the address from @debbugs.gnu.org to -done@debbugs.gnu.org, which is arguably not very user friendly to begin with (changing recipient lists is not a great idea). If we cannot figure out a better way to handle routing/classifying messages than simply changing addresses, too bad. But can't we at least continue to echo the discussion to @debbugs.gnu.org (as well as cc or bcc it to -done@debbugs.gnu.org), so that readers of the thread receive the message? The classification of a bug is not the same thing as the end of the discussion of it. From unknown Sun Jun 22 04:05:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 Jul 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator