From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: how to hide the owner name and group name in the dired list? Date: Sun, 29 Mar 2009 08:39:14 -0700 Message-ID: <008d01c9b084$841b19b0$0200a8c0@us.oracle.com> References: <8569dd80903281128k432a855cu648ac397d55f5e73@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238341356 18832 80.91.229.12 (29 Mar 2009 15:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Mar 2009 15:42:36 +0000 (UTC) Cc: 'Rob Giardina' To: "'Marc Tfardy'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 29 17:43:53 2009 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 1LnxAv-0008GO-6U for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Mar 2009 17:43:53 +0200 Original-Received: from localhost ([127.0.0.1]:34833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnx9X-0001vE-Pe for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Mar 2009 11:42:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lnx6S-0001BW-4j for help-gnu-emacs@gnu.org; Sun, 29 Mar 2009 11:39:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lnx6N-00019g-Gv for help-gnu-emacs@gnu.org; Sun, 29 Mar 2009 11:39:15 -0400 Original-Received: from [199.232.76.173] (port=53050 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnx6N-00019b-8C for help-gnu-emacs@gnu.org; Sun, 29 Mar 2009 11:39:11 -0400 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:35478 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lnx6M-0002t2-KG for help-gnu-emacs@gnu.org; Sun, 29 Mar 2009 11:39:10 -0400 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2TFeMsH014765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Mar 2009 15:40:23 GMT Original-Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2TFdNVU004280; Sun, 29 Mar 2009 15:39:24 GMT Original-Received: from dradamslap1 (/24.4.133.20) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 29 Mar 2009 08:38:59 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcmwWtTFHBKLrW3eQGKzuqRdikwZagAJGDkA In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.49CF9615.0253:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:63375 Archived-At: > >> when I use C-x C-f, it will open a dir and show the file list, > >> first col is drwxr-xr-x, 3rd col is file owner name and group > >> name, I don't want these, because the file name is in the end > >> and hardly cannot be see, please tell me how to hide the > >> useless information. > > > >> I have tried the Dired List Switch, I must use the -l option, > >> this way is dead. > > > > http://www.emacswiki.org/emacs/DiredDetails > > Is there any way to hide only file permissions, owner and group > so I see only file size, date and file name? Not with Dired Details, out of the box, but you could write it yourself, starting with the existing Lisp code. See, for example, `dired-details-make-current-line-overlay', which is what currently hides everything except the file name. Or try to fiddle with `ls' switches (depending on your `ls'). Or filter afterward, as Peter suggested. Dired Details is enough for me. Just hit a key to toggle - that's what I do if I want to see specific dates etc. at any time. (If you just want to sort by date, not caring about the dates of specific files, just use `s' in Dired.) FWIW - Rob Giardina, who wrote Dired Details, merged it into the Emacs 23 code in 2007-07, but the change was never committed, AFAIK. RMS asked for comment on the merged code, but no one ever answered his request (on the list, at least). The last time I ping'ed emacs-devel about this was 2008-07 - I never got an answer either. Last ping: http://lists.gnu.org/archive/html/emacs-devel/2008-07/msg01152.html Rob's change log and RMS's call for comment: http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg01187.html Original thread: http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00226.html