From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Patch for more useful C-x } and C-x { behavior Date: Sat, 05 May 2012 19:21:34 +0200 Message-ID: <4FA5619E.9070403@dogan.se> References: <4FA48F92.2080706@dogan.se> <4FA52843.1040508@dogan.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336238526 1164 80.91.229.3 (5 May 2012 17:22:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 17:22:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 05 19:22:06 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 1SQigF-000103-DD for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 19:22:03 +0200 Original-Received: from localhost ([::1]:56349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQigE-0001Fv-PE for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 13:22:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQigC-0001Fq-Gh for emacs-devel@gnu.org; Sat, 05 May 2012 13:22:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQigA-0003S7-PW for emacs-devel@gnu.org; Sat, 05 May 2012 13:22:00 -0400 Original-Received: from mxf3.bahnhof.se ([213.80.101.27]:50653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQigA-0003Ru-JD for emacs-devel@gnu.org; Sat, 05 May 2012 13:21:58 -0400 Original-Received: from localhost (mxf3.local [127.0.0.1]) by mxf3-reinject (Postfix) with ESMTP id 1AE852113FB; Sat, 5 May 2012 19:21:56 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF1) Original-Received: from mxf3.bahnhof.se ([127.0.0.1]) by localhost (mxf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SlwJCDXO7Tz1; Sat, 5 May 2012 19:21:53 +0200 (CEST) Original-Received: from [176.10.168.241] (h-168-241.a336.priv.bahnhof.se [176.10.168.241]) by mxf3.bahnhof.se (Postfix) with ESMTP id B70092112E9; Sat, 5 May 2012 19:21:52 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.80.101.27 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:150297 Archived-At: On 2012-05-05 16:21, Drew Adams wrote: >>> (defun repeat-command (command) >>> "Repeat COMMAND." >>> (let ((repeat-message-function 'ignore)) >>> (setq last-repeatable-command command) >>> (repeat nil))) >> >> 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. Would it be possible to include the generic code you have and then make use of it on a case-by-case basis?