all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Chage dired buffer format to terse
@ 2012-10-21 19:58 Johnny
  2012-10-21 21:19 ` Peter Dyballa
  2012-10-21 22:48 ` Drew Adams
  0 siblings, 2 replies; 6+ messages in thread
From: Johnny @ 2012-10-21 19:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Just changed my monitor to "portrait mode", and don't enjoy the
filenames displayed by dired so want to omit some info (group and owner
are good candidates, as well as modified times). Even better, is there
something like dired-x omit for columns instead of files? I use omit to
toggle hidden files, and another keybinding to toggle columns would be
awesome.

E.g. i want to change from

  -rw-r--r--  1 johnny johnny  2281997 2011-11-30       U1VWRlJWOHhNVEl0TVRrNE5GOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5bWIzSmZj
  -rw-rw-r--  1 johnny johnny    95600 2012-03-14       U1VWRlJWOHhNVEl0TVRrNE5GOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5bWIzSmZj
  -rw-r--r--  1 johnny johnny  3074968 2011-11-30       U1VWRlJWOHhNVEl0TVRrNU1WOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5b
  -rw-rw-r--  1 johnny johnny   126774 2012-03-14       SUVFRV8xMTItMTk5MV9TdGFuZGFyZF90ZXN0X3Byb2NlZHVyZ

to

  2281997 2011-11-30       U1VWRlJWOHhNVEl0TVRrNE5GOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5bWIzSmZj
    95600 2012-03-14       U1VWRlJWOHhNVEl0TVRrNE5GOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5bWIzSmZj
  3074968 2011-11-30       U1VWRlJWOHhNVEl0TVRrNU1WOVRkR0Z1WkdGeVpGOTBaWE4wWDNCeWIyTmxaSFZ5WlY5b
   126774 2012-03-14       SUVFRV8xMTItMTk5MV9TdGFuZGFyZF90ZXN0X3Byb2NlZHVyZ


Thanks...

-- 
Johnny



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Chage dired buffer format to terse
  2012-10-21 19:58 Chage dired buffer format to terse Johnny
@ 2012-10-21 21:19 ` Peter Dyballa
  2012-10-22 23:26   ` Johnny
  2012-10-21 22:48 ` Drew Adams
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2012-10-21 21:19 UTC (permalink / raw)
  To: Johnny; +Cc: help-gnu-emacs


Am 21.10.2012 um 21:58 schrieb Johnny:

> Just changed my monitor to "portrait mode", and don't enjoy the
> filenames displayed by dired

Try customising dired-listing-switches!

--
Greetings

  Pete

Make it simple, as simple as possible but no simpler.
				– Albert Einstein




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Chage dired buffer format to terse
  2012-10-21 19:58 Chage dired buffer format to terse Johnny
  2012-10-21 21:19 ` Peter Dyballa
@ 2012-10-21 22:48 ` Drew Adams
  2012-10-22 23:29   ` Johnny
  1 sibling, 1 reply; 6+ messages in thread
From: Drew Adams @ 2012-10-21 22:48 UTC (permalink / raw)
  To: 'Johnny', help-gnu-emacs

> Just changed my monitor to "portrait mode", and don't enjoy the
> filenames displayed by dired so want to omit some info (group 
> and owner are good candidates, as well as modified times).
> Even better, is there something like dired-x omit for columns
> instead of files? I use omit to toggle hidden files, and another
> keybinding to toggle columns would be awesome.

http://www.emacswiki.org/emacs/DiredDetails

I keep details hidden 80% of the time, and toggle showing/hiding using key `('.

FWIW, this feature was agreed by Emacs Dev (including RMS) to be added to Emacs
years ago, but despite frequent reminders that has never happened.  Anyway, it
is easy enough to add this to your `~/.emacs'.  Enjoy.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Chage dired buffer format to terse
  2012-10-21 21:19 ` Peter Dyballa
@ 2012-10-22 23:26   ` Johnny
  2012-10-23  9:32     ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Johnny @ 2012-10-22 23:26 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 21.10.2012 um 21:58 schrieb Johnny:
>
>> Just changed my monitor to "portrait mode", and don't enjoy the
>> filenames displayed by dired
>
> Try customising dired-listing-switches!
>
I can't see how that helps, can you provide an example? It would be neat
if it is possible!

,----[ (info "(emacs)Dired Enter") ]
|    The variable `dired-listing-switches' specifies the options to give
| to `ls' for listing the directory; this string _must_ contain `-l'.
`----



> --
> Greetings
>
>   Pete
>
> Make it simple, as simple as possible but no simpler.
> 				– Albert Einstein
>

-- 
Johnny



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Chage dired buffer format to terse
  2012-10-21 22:48 ` Drew Adams
@ 2012-10-22 23:29   ` Johnny
  0 siblings, 0 replies; 6+ messages in thread
From: Johnny @ 2012-10-22 23:29 UTC (permalink / raw)
  To: Drew Adams; +Cc: help-gnu-emacs

"Drew Adams" <drew.adams@oracle.com> writes:

>> Just changed my monitor to "portrait mode", and don't enjoy the
>> filenames displayed by dired so want to omit some info (group 
>> and owner are good candidates, as well as modified times).
>> Even better, is there something like dired-x omit for columns
>> instead of files? I use omit to toggle hidden files, and another
>> keybinding to toggle columns would be awesome.
>
> http://www.emacswiki.org/emacs/DiredDetails
>
> I keep details hidden 80% of the time, and toggle showing/hiding using key `('.
>
> FWIW, this feature was agreed by Emacs Dev (including RMS) to be added to Emacs
> years ago, but despite frequent reminders that has never happened.  Anyway, it
> is easy enough to add this to your `~/.emacs'.  Enjoy.
>

Thanks, this is exacly what I needed, works perfect! I agree it should
be added by default, as it is a rare occasion when the details are of
any interest. Oh, well, it is easy enugh to install once you know where
to find it (my google skillset obviously let me down again...)

-- 
Johnny



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Chage dired buffer format to terse
  2012-10-22 23:26   ` Johnny
@ 2012-10-23  9:32     ` Peter Dyballa
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2012-10-23  9:32 UTC (permalink / raw)
  To: Johnny; +Cc: help-gnu-emacs


Am 23.10.2012 um 01:26 schrieb Johnny:

> I can't see how that helps, can you provide an example? It would be neat
> if it is possible!
> 
> ,----[ (info "(emacs)Dired Enter") ]
> |    The variable `dired-listing-switches' specifies the options to give
> | to `ls' for listing the directory; this string _must_ contain `-l'.
> `----

It doesn't seem possible, sorry.

	pete 297 /\ gls -l ~/.emacs
	-rw-r--r-- 1 pete admin 33181 10. Okt 11:15 /Users/pete/.emacs
	pete 298 /\ gls -lg ~/.emacs
	-rw-r--r-- 1 admin 33181 10. Okt 11:15 /Users/pete/.emacs
	pete 299 /\ gls -lG ~/.emacs
	-rw-r--r-- 1 pete 33181 10. Okt 11:15 /Users/pete/.emacs
	pete 300 /\ gls -lGg ~/.emacs
	-rw-r--r-- 1 33181 10. Okt 11:15 /Users/pete/.emacs
	pete 301 /\ gls -lo ~/.emacs
	-rw-r--r-- 1 pete 33181 10. Okt 11:15 /Users/pete/.emacs
	pete 302 /\ gls -lx ~/.emacs
	/Users/pete/.emacs
	pete 303 /\ gls -lGg --time-style="+%F" ~/.emacs
	-rw-r--r-- 1 33181 2012-10-10 /Users/pete/.emacs


--
Greetings

  Pete

Basic, n.:
	A programming language. Related to certain social diseases in that those who have it will not admit it in polite company.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-23  9:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-21 19:58 Chage dired buffer format to terse Johnny
2012-10-21 21:19 ` Peter Dyballa
2012-10-22 23:26   ` Johnny
2012-10-23  9:32     ` Peter Dyballa
2012-10-21 22:48 ` Drew Adams
2012-10-22 23:29   ` Johnny

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.