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: Fixing rectangle operations Date: Thu, 15 Dec 2005 11:51:37 -0500 Message-ID: <87mzj22tlr.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134674915 23345 80.91.229.2 (15 Dec 2005 19:28:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 19:28:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 20:28:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmyjL-0000d5-2B for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 20:25:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emyjz-0007An-LH for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 14:26:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmwLL-0001QP-F6 for emacs-devel@gnu.org; Thu, 15 Dec 2005 11:52:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmwLI-0001NO-HA for emacs-devel@gnu.org; Thu, 15 Dec 2005 11:52:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmwLI-0001N4-34 for emacs-devel@gnu.org; Thu, 15 Dec 2005 11:52:32 -0500 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EmwNU-0000Vy-EJ for emacs-devel@gnu.org; Thu, 15 Dec 2005 11:54:53 -0500 Original-Received: from alfajor ([65.92.242.250]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051215165141.ZTQQ14963.tomts10-srv.bellnexxia.net@alfajor>; Thu, 15 Dec 2005 11:51:41 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 7862ED7377; Thu, 15 Dec 2005 11:51:37 -0500 (EST) Original-To: Mathias Dahl In-Reply-To: (Mathias Dahl's message of "Thu, 15 Dec 2005 10:28:59 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] 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:47800 Archived-At: >>> 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). > I agree. I can see the problem with Emacs doing what it does, but > that feels more natural. At least in the situations I use C-x r t I > have never seen this as a problem. Clearly both behaviors make sense. If that really matters, we could provide the Vim behavior via C-u prefix or via another command. Stefan