From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Rectangular regions Date: Wed, 30 Oct 2013 14:09:26 -0400 Message-ID: References: <52707D17.6010801@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383156586 6480 80.91.229.3 (30 Oct 2013 18:09:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 18:09:46 +0000 (UTC) Cc: Leo Liu , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 19:09:51 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 1VbaDG-00087u-D4 for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 19:09:50 +0100 Original-Received: from localhost ([::1]:53738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaDF-0007JI-QH for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 14:09:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaD6-0007J9-10 for emacs-devel@gnu.org; Wed, 30 Oct 2013 14:09:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbaCy-0006fz-OG for emacs-devel@gnu.org; Wed, 30 Oct 2013 14:09:39 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:54333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaCy-0006fs-Kd for emacs-devel@gnu.org; Wed, 30 Oct 2013 14:09:32 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r9UI9RTw007009; Wed, 30 Oct 2013 14:09:27 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 142F8B42FC; Wed, 30 Oct 2013 14:09:27 -0400 (EDT) In-Reply-To: <52707D17.6010801@dancol.org> (Daniel Colascione's message of "Tue, 29 Oct 2013 20:29:27 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4747=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4747> : inlines <191> : streams <1065094> : uri <1580883> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:164711 Archived-At: >> Maybe steal M-SPC from just-one-space since it is similar to C-SPC and >> works well in gui and tty. We could fold just-one-space into >> delete-horizontal-space somehow. I do agree that M-SPC would be "natural". Also there's a lot of overlap between M-^, M-\ and M-SPC, so we could try and rely on that to make the hijacking of M-SPC more bearable (I actually dislike all of M-SPC, M-\, and M-^, and instead use a command that does "the reverse of M-j", removing all whitespace and newlines, except for between 0 and 2 depending on the surrounding chars, e.g. 0 between two closing parens, but two between a "." and an capital letter). C-x r C-SPC is also very natural, tho it also suffers from being already taken. Its advantage is that the existing command is already available under C-x r SPC, so it's not that much of a loss for users. The disadvantage is that it's a rather long-winded key-sequence. Stefan "who doesn't use any of M-SPC, M-\, or M-^ but uses C-u M-j instead (where M-j is modified to treat the prefix as meaning to =ABundo=BB a M-j)"