From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make `C-x {' and `C-x }' repeatable Date: Sat, 25 May 2013 20:01:03 +0000 Message-ID: <20130525200103.GA3451@acm.acm> References: <87txlts7so.fsf@mail.jurta.org> <20130524093858.GA2754@acm.acm> <87hahstd47.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369512094 28230 80.91.229.3 (25 May 2013 20:01:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 May 2013 20:01:34 +0000 (UTC) Cc: Stefan Monnier , Gauthier =?iso-8859-1?Q?=D6stervall?= , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 25 22:01:33 2013 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 1UgKej-0002EV-Cb for ged-emacs-devel@m.gmane.org; Sat, 25 May 2013 22:01:33 +0200 Original-Received: from localhost ([::1]:46142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgKei-0008BU-Vw for ged-emacs-devel@m.gmane.org; Sat, 25 May 2013 16:01:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgKed-0008BO-Ua for emacs-devel@gnu.org; Sat, 25 May 2013 16:01:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgKec-0003Uu-J9 for emacs-devel@gnu.org; Sat, 25 May 2013 16:01:27 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34868 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgKec-0003Um-9O for emacs-devel@gnu.org; Sat, 25 May 2013 16:01:26 -0400 Original-Received: (qmail 11388 invoked by uid 3782); 25 May 2013 20:01:23 -0000 Original-Received: from acm.muc.de (pD951BC1D.dip0.t-ipconnect.de [217.81.188.29]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 25 May 2013 22:01:18 +0200 Original-Received: (qmail 3550 invoked by uid 1000); 25 May 2013 20:01:03 -0000 Content-Disposition: inline In-Reply-To: <87hahstd47.fsf@mail.jurta.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 193.149.48.1 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:159797 Archived-At: Hi, Juri. On Fri, May 24, 2013 at 11:31:48PM +0300, Juri Linkov wrote: > >> If the goal is to replace `C-x [{}^]' with one global keybinding, the > >> currently free and intuitive key prefix for window related commands > >> would be `C-x w', so that a command to activate window-resizing key > >> sequence could be bound to `C-x w r'. > > `C-x w' is not free. It is used by `highlight-regexp' and friends > > (still). These key bindings are set inside hi-lock.el itself. > `C-x w' is defined only when 'hi-lock-mode' is active but > `M-s h' is always available, so `C-x w' is redundant. Yes. But my point was to remind people that the clash would need to be dealt with somehow and not just forgotten. > BTW, do you think that adding `overriding-temporary-local-map' > could help you to implement `isearch-allow-prefix' that you proposed in > http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00216.html I'd forgotten about this one. But it was Drew rather than me that proposed it - I just wrote the patch. I don't know about `overriding-temporary-local-map', I haven't been following this thread in detail. I'll really need to read through the thread and understand it. My gut feeling is that if we're going to be introducing yet another keymap, there'd better be a very good reason for it. > There is an unaddressed request for this feature in bug#9706. If I remember correctly, the patch to the code was finished and working (and who knows, might still work), but the patch to the manual hadn't yet been written. -- Alan Mackenzie (Nuremberg, Germany).