From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: dired alignment Date: Fri, 14 May 2004 19:32:16 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040514233216.GA4077@fencepost> References: <200405121549.i4CFnwAu004985@brains.moreideas.ca> <20040513193433.GD12256@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084577635 8189 80.91.224.253 (14 May 2004 23:33:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 23:33:55 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, emacs@whaite.ca, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 01:33:47 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOmBX-00053R-00 for ; Sat, 15 May 2004 01:33:47 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOmBX-0002cU-00 for ; Sat, 15 May 2004 01:33:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOmAv-0007My-Vr for emacs-devel@quimby.gnus.org; Fri, 14 May 2004 19:33:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOmAn-0007MJ-Vg for emacs-devel@gnu.org; Fri, 14 May 2004 19:33:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOmAB-0007Ey-4z for emacs-devel@gnu.org; Fri, 14 May 2004 19:32:59 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOmAA-0007Ei-9p for emacs-devel@gnu.org; Fri, 14 May 2004 19:32:22 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BOmA4-0002Tp-3m; Fri, 14 May 2004 19:32:16 -0400 Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23448 On Fri, May 14, 2004 at 05:02:13PM -0400, Richard Stallman wrote: > Actually, if it could be handled correctly, I'd rather like the new > behavior in dired too (I use direct much more often than I use plain > ls) -- it's annoying when columns take up much more room than they > actually need. > > To do this would require dired to realign all the lines whenever one > line changes. I think this could eaily be handled by (1) adding a small amount of hysteresis (e.g., rounding up widths to a multiple of 4), and (2) just redrawing everything if the resulting width changed. The only commonly changing piece of info is file size, which would be largely accommodated by (1) -- and even that's only necessary when the changed file happens to be significantly different in size than all the other files, which on average probably won't be the case. > This would be a nuisance in a number of ways. One file with a long group > name could make all the file names cause line continuation. There could be an upper limit. I find that pretty much all the files in a given directory usually have the same user/group anyway, so I'm not sure it makes much difference in practice. Anyway, I'm just pontificating; I think such a display would be nicer, but of course any such new feature requires work, and I'm not volunteering to do it... :-) -Miles -- In New York, most people don't have cars, so if you want to kill a person, you have to take the subway to their house. And sometimes on the way, the train is delayed and you get impatient, so you have to kill someone on the subway. [George Carlin]