From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Billy O'Connor Newsgroups: gmane.emacs.help Subject: Re: align file name with find-dired Date: Thu, 29 Nov 2007 22:21:48 -0500 Message-ID: <87fxyoct9v.fsf@gmail.com> References: <87mysw1nqx.fsf@kanis.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196392911 3485 80.91.229.12 (30 Nov 2007 03:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 03:21:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 04:21:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IxwRy-0006gt-Hw for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Nov 2007 04:21:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxwRi-0001Gm-J1 for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2007 22:21:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxwRV-0001Gh-7x for help-gnu-emacs@gnu.org; Thu, 29 Nov 2007 22:21:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxwRT-0001Fp-P2 for help-gnu-emacs@gnu.org; Thu, 29 Nov 2007 22:21:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxwRT-0001Fm-MQ for help-gnu-emacs@gnu.org; Thu, 29 Nov 2007 22:21:27 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IxwRT-00053A-CU for help-gnu-emacs@gnu.org; Thu, 29 Nov 2007 22:21:27 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IxwRP-0002h0-Co for help-gnu-emacs@gnu.org; Fri, 30 Nov 2007 03:21:23 +0000 Original-Received: from cpe-66-108-47-95.nyc.res.rr.com ([66.108.47.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2007 03:21:23 +0000 Original-Received: from billyoc by cpe-66-108-47-95.nyc.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2007 03:21:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpe-66-108-47-95.nyc.res.rr.com User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:1KMl/Qh7B2cH9bESOJ7nJcALc2g= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49712 Archived-At: Ivan Kanis writes: > Hello, > > I am finally trying out find-dired. It looks neat except that filename > are not aligned: > > -rw-r--r-- 1 ivan ivan 0 2007-10-30 21:36 auto-save-list/saves-1471-zen~ > -rw-r--r-- 1 ivan ivan 134 2007-11-30 03:07 auto-save-list/saves-5829-zen~ > -rw-r--r-- 1 ivan ivan 88562 2007-11-29 22:07 !home!ivan!.ido.last~ > -rw-r--r-- 1 ivan ivan 384 2007-11-29 20:21 !home!ivan!.url!cookies~ > > This is due to the size of file being of different width. I have tried > to fix it by tweaking the find-ls-option variable. > > I searched the mailing list archive but found nothing. > > Any ideas? I see what's happening, the find command is getting the output of one "ls" command at a time via the "-exec" action. the regular dired doesn't have this problem, for it doesn't use that "one at a time" method of listing the files, and, more importantly(I think) because dired.el has a funtion called dired-align-file. This file might be useful to both dired.el and find-dired.el. -- Billy O'Connor