From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: Fixing rectangle operations Date: Mon, 19 Dec 2005 04:24:49 +0200 Message-ID: <20051219022449.GA79213@flame.pc> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135000780 26456 80.91.229.2 (19 Dec 2005 13:59:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 13:59:40 +0000 (UTC) Cc: Herbert Euler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 14:59:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoLUX-0004nw-Sw for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2005 14:55:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoLVO-00054t-0k for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2005 08:56:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EoJju-00047T-HX for emacs-devel@gnu.org; Mon, 19 Dec 2005 07:03:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EoJjF-0003vB-Vp for emacs-devel@gnu.org; Mon, 19 Dec 2005 07:02:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoJe3-0003Gz-CA for emacs-devel@gnu.org; Mon, 19 Dec 2005 06:57:36 -0500 Original-Received: from [195.170.0.95] (helo=kane.otenet.gr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EoJgx-0007Mb-95; Mon, 19 Dec 2005 07:00:35 -0500 Original-Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-8) with SMTP id jBJBuawO025263; Mon, 19 Dec 2005 13:56:37 +0200 Original-Received: by flame.pc (Postfix, from userid 1001) id 18EAE115BB; Mon, 19 Dec 2005 04:24:49 +0200 (EET) Original-To: Miles Bader Content-Disposition: inline In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48043 Archived-At: On 2005-12-15 16:21, Miles Bader wrote: > "Herbert Euler" writes: > > The point is before 'long' in the first line. Vim documents > > that if one want to insert 'very ' before these two 'long's, > > it will ignore the short line. Hence the result is: > > > > This is a very long line > > short > > Any other very long line > > I dunno, vim's behavior seems kind of bizarre to me. > > Treating all lines as implicitly "blank extended" in rectangle > operations seems much more natural (and _not_ doing so likely > to cause a lot of user confusion). Agreed, I regularly use rectangle-mode to 'draw' boxes like: +--------+ | | | | +--------+ With the current behavior of Emacs, I can start with: + + and fill 'empty' areas with C-u ARG '-' and C-x r t. Vim's behavior, on the other hand, is extremely annoying for this sort of work, because I have to manually 'prefill' empty areas with whitespace and then hit ^V to operate on the current rectangle. FWIW, if there is a possibility of keeping the current Emacs behavior and using C-u to switch to Vim's default, then I'd really prefer that very much. - Giorgos