* how to hide the owner name and group name in the dired list?
@ 2009-03-28 18:28 Liu Haixiao
2009-03-29 7:15 ` Drew Adams
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Liu Haixiao @ 2009-03-28 18:28 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
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.
thanks.
[-- Attachment #2: Type: text/html, Size: 379 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: how to hide the owner name and group name in the dired list?
2009-03-28 18:28 how to hide the owner name and group name in the dired list? Liu Haixiao
@ 2009-03-29 7:15 ` Drew Adams
[not found] ` <mailman.4195.1238310910.31690.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2009-03-29 7:15 UTC (permalink / raw)
To: 'Liu Haixiao', help-gnu-emacs
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to hide the owner name and group name in the dired list?
[not found] ` <mailman.4195.1238310910.31690.help-gnu-emacs@gnu.org>
@ 2009-03-29 10:34 ` Marc Tfardy
2009-03-29 14:31 ` Peter Dyballa
2009-03-29 15:39 ` Drew Adams
0 siblings, 2 replies; 7+ messages in thread
From: Marc Tfardy @ 2009-03-29 10:34 UTC (permalink / raw)
To: help-gnu-emacs
Drew Adams schrieb:
>> 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?
regards
Marc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to hide the owner name and group name in the dired list?
2009-03-29 10:34 ` Marc Tfardy
@ 2009-03-29 14:31 ` Peter Dyballa
2009-03-29 15:39 ` Drew Adams
1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2009-03-29 14:31 UTC (permalink / raw)
To: Marc Tfardy; +Cc: help-gnu-emacs
Am 29.03.2009 um 12:34 schrieb Marc Tfardy:
> Is there any way to hide only file permissions, owner and group
> so I see only file size, date and file name?
So instead of
-rw-r--r-- 1 pete admin 39940 23. Mär 16:03 a file
you would like to see this?
1 39940 23. Mär 16:03 a file
You could filter as in:
gls -AlGg | cut -c 12-
gls -Algo | cut -c 12-
--
Greetings
Pete
There's no sense in being precise when you don't even know what
you're talking about.
– John von Neumann
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: how to hide the owner name and group name in the dired list?
2009-03-29 10:34 ` Marc Tfardy
2009-03-29 14:31 ` Peter Dyballa
@ 2009-03-29 15:39 ` Drew Adams
1 sibling, 0 replies; 7+ messages in thread
From: Drew Adams @ 2009-03-29 15:39 UTC (permalink / raw)
To: 'Marc Tfardy', help-gnu-emacs; +Cc: 'Rob Giardina'
> >> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to hide the owner name and group name in the dired list?
2009-03-28 18:28 how to hide the owner name and group name in the dired list? Liu Haixiao
2009-03-29 7:15 ` Drew Adams
[not found] ` <mailman.4195.1238310910.31690.help-gnu-emacs@gnu.org>
@ 2009-03-30 19:44 ` Bernardo
[not found] ` <mailman.4275.1238446044.31690.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 7+ messages in thread
From: Bernardo @ 2009-03-30 19:44 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
>
> thanks.
doesn't this do the job?
(setq dired-listing-switches "-agG")
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to hide the owner name and group name in the dired list?
[not found] ` <mailman.4275.1238446044.31690.help-gnu-emacs@gnu.org>
@ 2009-04-03 7:02 ` José A. Romero L.
0 siblings, 0 replies; 7+ messages in thread
From: José A. Romero L. @ 2009-04-03 7:02 UTC (permalink / raw)
To: help-gnu-emacs
I use -alDphgG (for bash), the trick is done by: -gG
Cheers,
--
José A. Romero L.
escherdragon@gmail.com
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-04-03 7:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 18:28 how to hide the owner name and group name in the dired list? Liu Haixiao
2009-03-29 7:15 ` Drew Adams
[not found] ` <mailman.4195.1238310910.31690.help-gnu-emacs@gnu.org>
2009-03-29 10:34 ` Marc Tfardy
2009-03-29 14:31 ` Peter Dyballa
2009-03-29 15:39 ` Drew Adams
2009-03-30 19:44 ` Bernardo
[not found] ` <mailman.4275.1238446044.31690.help-gnu-emacs@gnu.org>
2009-04-03 7:02 ` José A. Romero L.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.