From: "Drew Adams" <drew.adams@oracle.com>
Cc: Rob Giardina <rob.giardina@oracle.com>
Subject: Dired coloring and other conveniences
Date: Tue, 4 Jul 2006 20:42:14 -0700 [thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMIEFHCJAA.drew.adams@oracle.com> (raw)
In-Reply-To: <buofyhgkcva.fsf@dhapc248.dev.necel.com>
> 1) We should *not* highlight the links (except via mouseover).
> The links are known or predictable by virtue of the regularity
> of their positions. Highlighting the links in such a buffer
> hinders, it does not help, orientation and navigation.
I generally agree with Drew on this -- in very "link dense" buffers,
excessive highlighting can be more annoying than helpful.
In the case of dired, however, there is a slight problem (especially
with recent verions of GNU ls[*]) with visually separating the filename
from the file-info on the same line. Perhaps it would be a good idea to
give the _other_ fields (date, etc) a slightly different face to
de-emphasize them a bit?
Here are some pics...
Not bad.
I tend to be interested in some of the things in other columns, at least
some of the time. When I'm not interested, I remove the other columns
altogether - see below. As you can see from the screenshot I sent earlier, I
give each column its own face, except for uninteresting files like .elc, for
which I use the same, dull face for the whole line.
Because (on Unix or GNU/Linux) I want to quickly see if a file has different
permissions from the others in a directory, I use different colors for each
permission. Similarly, I use a different face for the file suffix, and I
color a trailing `*' red to show that a file is executable. (I use -alF for
dired-listing-switches, to get the `*').
One of the tweaks I really like for Dired is `dired-details', a library by
Rob Giardina. I have my own minor enhancement, `dired-details+.el'. By
hitting a key, I can toggle between showing only the file names or
everything. Especially on Windows, much of the time I am not interested in
more than the file names. Since I use one buffer per frame, and I
automatically resize frames, not showing the other columns saves a lot of
real estate and visual noise. The effect is modal: subsequent Dired buffers
use the last setting (open to all columns or closed to just file names). A
minor tweak, but surprisingly convenient. I often go days without showing
more than the file names. Or, I sometimes take a peek by hitting my toggle
key, and then hit it again to get back to a "leaner" Dired. Or, I show all
columns in one Dired buffer, but limit the others to file names.
If you're interested, both dired-details.el and dired-details+.el are
available here:
http://www.emacswiki.org/cgi-bin/wiki?action=index;match=%5C.el%28%5C.gz%29%
3F.
next prev parent reply other threads:[~2006-07-05 3:42 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 12:55 [doug@bagley.org: Re: mouse-1-click-follows-link in dired surprising] Richard Stallman
2006-07-04 13:18 ` Chong Yidong
2006-07-04 17:40 ` [doug@bagley.org: Re: mouse-1-click-follows-link in diredsurprising] Drew Adams
2006-07-05 2:24 ` Miles Bader
2006-07-05 3:42 ` Drew Adams [this message]
2007-07-02 5:42 ` dired-details: show/hide file details in Dired Drew Adams
2007-07-02 13:04 ` Mathias Dahl
2007-07-02 13:46 ` Drew Adams
2007-07-02 20:50 ` Mathias Dahl
2007-07-02 21:04 ` Drew Adams
2007-07-02 14:02 ` add directory selection to the "compile" command lucatrv
2007-07-02 15:55 ` Denis Bueno
2007-07-04 18:38 ` lucatrv
2007-07-02 14:04 ` dired-details: show/hide file details in Dired Rob Giardina
2007-07-02 22:39 ` Richard Stallman
2007-07-02 22:53 ` Drew Adams
2007-07-02 23:01 ` Rob Giardina
2007-07-03 1:17 ` Stefan Monnier
2007-07-03 5:44 ` Drew Adams
2007-07-05 13:41 ` Stefan Monnier
2007-07-04 3:43 ` Richard Stallman
2007-07-04 3:53 ` Rob Giardina
2007-07-05 1:30 ` Richard Stallman
2007-07-04 5:51 ` Drew Adams
2007-07-04 10:53 ` Robert J. Chassell
2007-07-04 14:57 ` Drew Adams
2007-07-04 17:10 ` Robert J. Chassell
2007-07-04 20:00 ` Drew Adams
2007-07-04 21:57 ` Robert J. Chassell
2007-07-05 1:31 ` Richard Stallman
2007-07-05 6:58 ` Drew Adams
2007-07-05 11:38 ` Robert J. Chassell
2007-07-05 20:34 ` Richard Stallman
2007-07-05 20:49 ` Drew Adams
2007-07-05 21:35 ` Robert J. Chassell
2007-07-08 22:24 ` Richard Stallman
2007-07-05 20:34 ` Richard Stallman
2007-07-05 1:30 ` Richard Stallman
2007-07-05 2:40 ` Rob Giardina
2007-07-05 20:34 ` Richard Stallman
2007-07-05 1:30 ` Richard Stallman
2007-07-05 3:22 ` Rob Giardina
2007-07-05 20:34 ` Richard Stallman
2006-07-06 13:32 ` [doug@bagley.org: Re: mouse-1-click-follows-link in diredsurprising] Richard Stallman
2006-07-06 21:41 ` Miles Bader
2006-07-08 20:57 ` Richard Stallman
2006-07-08 21:24 ` Luc Teirlinck
2006-07-09 19:02 ` Richard Stallman
2006-07-08 21:35 ` Luc Teirlinck
2006-07-08 22:15 ` Luc Teirlinck
2006-07-09 19:02 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EIENLHALHGIMHGDOLMIMIEFHCJAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=rob.giardina@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.