From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15234: 24.3.50; Make C-x u repeatable Date: Tue, 3 Sep 2013 07:49:19 -0700 (PDT) Message-ID: <007fd28d-d1ee-432b-a9e0-6adef59c0317@default> References: <87k3j0bull.fsf@gmail.com> <87y57e8wxv.fsf@gmail.com> <4adaf1e3-320f-4abb-b1ce-3f0918f00eb2@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378219821 31283 80.91.229.3 (3 Sep 2013 14:50:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2013 14:50:21 +0000 (UTC) Cc: 15234@debbugs.gnu.org, Jambunathan K To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 03 16:50:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VGrvy-0007w7-90 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Sep 2013 16:50:22 +0200 Original-Received: from localhost ([::1]:46670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGrvx-0001f1-Ti for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Sep 2013 10:50:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGrvn-0001do-Oc for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2013 10:50:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGrvg-0008DB-FK for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2013 10:50:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGrvg-0008CQ-B9 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2013 10:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VGrve-0007Bn-DW for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2013 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Sep 2013 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15234-submit@debbugs.gnu.org id=B15234.137821977327592 (code B ref 15234); Tue, 03 Sep 2013 14:50:02 +0000 Original-Received: (at 15234) by debbugs.gnu.org; 3 Sep 2013 14:49:33 +0000 Original-Received: from localhost ([127.0.0.1]:39192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGrvA-0007Ax-B8 for submit@debbugs.gnu.org; Tue, 03 Sep 2013 10:49:32 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:28214) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGrv7-0007Ak-3x for 15234@debbugs.gnu.org; Tue, 03 Sep 2013 10:49:30 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r83EnLbl028570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 3 Sep 2013 14:49:22 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r83EnKg5011559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Sep 2013 14:49:21 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r83EnKlY011541; Tue, 3 Sep 2013 14:49:20 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77945 Archived-At: > > FWIW, I've always used `C-_' or `C-/'. But I still think it makes sens= e > > to make `C-x u' repeatable. I haven't seen an argument to the contrary > > (but if I do I might change my mind). >=20 > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12572#8 [The argument there is that if `C-x u u u...' repeats `undo' then typing `u' directly after that will not insert a `u' character.] Fair enough. And thank you - it's always good to see real arguments for and against a proposal. It's a good argument. Not a particularly strong one, IMO, but reasonable. It's not strong because there are other, simple ways of exiting `undo' so `u' will then insert (` ', `x DEL', whatever). This is similar to arguments against binding keys in `isearch-mode-map' to do things in Isearch because it stops them from ending Isearch. Yes, some people might want to use `C-x u' for `undo' AND want `C-x u u' to insert `u'. My vote would still be for making `C-x u u' repeatable. You can't please everyone, unless you add an option or you have two different commands (or you abuse some prefix-arg combination, and that's already pretty overloaded). To accommodate that argument, I would also vote for binding `C-x u' to a new command, `undo-repeat', as mentioned earlier. (Or perhaps just reuse the previously used name for `C-x u': `advertised-undo'.) Anyone wanting to have `u' to insert directly after `C-x u' could easily opt out in that case, by changing the key binding to the original, non-repeatable `undo'. Or if you want to be conservative here, make binding `C-x u' to `undo-repeat'/`advertised-undo' opt-in instead of opt-out. I'd vote for that too. Bottom line: we should provide a repeatable undo command for `C-x u', whether bound by default (preferable) or not (ok).