From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.comp.gnu.core-utils.bugs Subject: Re: dired-move-to-filename-regexp Date: Fri, 24 Sep 2004 19:40:24 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <414D38E0.4080300@math.ku.dk> <7w8yb6wty1.fsf@sic.twinsun.com> <7wr7oxzgs4.fsf@sic.twinsun.com> <20040920050006.GA7888@fencepost> <876566decg.fsf@penguin.cs.ucla.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096069342 32356 80.91.229.6 (24 Sep 2004 23:42:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 23:42:22 +0000 (UTC) Cc: eggert@CS.UCLA.EDU, bug-coreutils@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 01:42:10 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAzha-0001nh-00 for ; Sat, 25 Sep 2004 01:42:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAzng-0001mg-Id for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 19:48:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAzmF-0001C2-Jf for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:46:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAzmE-0001BC-0n for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:46:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAzmC-0001Af-V6; Fri, 24 Sep 2004 19:46:57 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAzft-0004aG-Br; Fri, 24 Sep 2004 19:40:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CAzfs-0008Ah-TU; Fri, 24 Sep 2004 19:40:25 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Thu, 23 Sep 2004 13:57:00 -0400) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27550 gmane.comp.gnu.core-utils.bugs:2927 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27550 Another solution is to assume that the current buffer and the one new line have used the same ls options and contain the same number of space-separated fields. Based on this, you can add spaces so as to align the fields in the new line to the field of the other lines. That would be rather unreliable, since it would need to figure out the number of spaces between fields in both the new output and the old buffer. The gains that we got from --dired would be lost. I won't accept this approach.