help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: A "smaller" dired


From: Drew Adams
Subject: RE: A "smaller" dired
Date: Wed, 4 Aug 2010 08:50:53 -0700

> I was wondering if it would be possible to make the dired 
> buffer similar to the speedbar. I don't need the ecb and now
> my dired opens magically only the files in
> "git-files" but the buffer window is always too big.
> 
> I removed the "-l" in the dired-list-switches but (as they 
> say) then it doesn't work anymore.
> 
> Why does it need the verbose ls to be able to address to the 
> file after all?

I think this is what you're looking for:

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

I am using MS Windows.  80% of the time my Dired buffers show only the file
names.  When I want to see the dates etc.  I just hit a (toggle) key: `)'.

This is especially important to me because I use a separate frame for each
buffer (typically) and the frame is shrink-wrapped to fit the buffer.  With
dired-details the frame is narrow and doesn't waste real estate for stuff I'm
not currently interested in.  When I hit `)' to show the whole buffer, the frame
is auto-resized accordingly.

Even if you want to see the details 99% of the time this feature is useful.
Whatever state you're in (show details or not) is kept as the default for new
Dired buffers etc.  Other than that effect on new buffers, the toggle affects
only the current Dired buffer, so different ones can show details or not.

[FWIW - This feature was OK'd for addition to vanilla Emacs a few years ago, but
no one has bothered to add it.  The author of dired-details.el and myself tried
several times to get past the inertia, but to no avail so far.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]