From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Patch for more useful C-x } and C-x { behavior Date: Sat, 5 May 2012 10:47:46 -0700 Message-ID: References: <4FA48F92.2080706@dogan.se> <4FA52843.1040508@dogan.se> <4FA5619E.9070403@dogan.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336240092 11497 80.91.229.3 (5 May 2012 17:48:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 17:48:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Deniz Dogan'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 05 19:48:11 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SQj5V-0002Q1-4L for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 19:48:09 +0200 Original-Received: from localhost ([::1]:60644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQj5U-0004NZ-DU for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 13:48:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQj5Q-0004NT-UL for emacs-devel@gnu.org; Sat, 05 May 2012 13:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQj5O-0005Mz-Uj for emacs-devel@gnu.org; Sat, 05 May 2012 13:48:04 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:35855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQj5O-0005MV-O7 for emacs-devel@gnu.org; Sat, 05 May 2012 13:48:02 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q45HltiN001593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 5 May 2012 17:47:55 GMT Original-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 q45HlsCG003148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 May 2012 17:47:54 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q45HlsAl015972; Sat, 5 May 2012 12:47:54 -0500 Original-Received: from dradamslap1 (/10.159.221.111) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 05 May 2012 10:47:54 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4FA5619E.9070403@dogan.se> Thread-Index: Ac0q45PYgHI5C3F2Tiqg/xr0gZWiWwAAixVg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150300 Archived-At: > >> That's great! Could we include it in Emacs? > > > > Of course. I suggested it long ago, as part of this post (see #12): ^^^^^^^^^ > > http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01153.html > > I'll be honest and say I didn't read all of it, as I have a > very short attention span, but as I understand it you want to > make this sort of "global" to keybindings such as `C-x o' and > others. No, I was only trying to point you to #12, the part of the message where I mentioned such a `repeat-command' function. > Would it be possible to include the generic code you have and then make > use of it on a case-by-case basis? Of course. `repeat-command' is a general function and entirely separable from the rest of what was discussed in that mail thread. Sorry for side-tracking you. I was not trying to revive that discussion, but only point out that I already proposed this function (and so yes, from my point of view it could be included in Emacs). As I said, I use `repeat-command' a lot, myself. So I know that it can be used in different contexts that are unrelated. And the fact that it is not in Emacs means that I end up redefining it in different files. No big deal - it's short. I do likewise for things like `remove-if'. ;-) (No, not trying to revive that debate either.)