unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: RE: Dired colors?
Date: Sat, 1 Feb 2020 07:43:59 -0800 (PST)	[thread overview]
Message-ID: <dea81613-3f84-4278-a240-37d344bc5a38@default> (raw)
In-Reply-To: <<83zhe2inkp.fsf@gnu.org>>

> > Are there any builtin functionality to control the line colors in
> > dired. Lets say to change the color for directories vs files or
> > according to the permissions? A face maybe??
> >
> > If so, could you tell me where are documented?
> 
> See the various 'defface's in dired.el.
> 
> Alternatively, "M-x load-library RET dired RET", and then invoke
> list-faces-display and look at faces whose names start with "dired-".

What Eli said.

In particular, if you happen to use a 3rd-party Dired
library (there are a few) that defines additional
faces, it's likely that they'll have names that start
with or include "dired".  And they too will show up
with `M-x list-faces-display'.  For example, the faces
defined by `dired+.el' have names that start with
"diredp-".

To customize a face, use `M-x customize-face'.



       reply	other threads:[~2020-02-01 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<20200201103843.346n3mdzxue573h2.ref@Ergus>
     [not found] ` <<20200201103843.346n3mdzxue573h2@Ergus>
     [not found]   ` <<83zhe2inkp.fsf@gnu.org>
2020-02-01 15:43     ` Drew Adams [this message]
     [not found] <20200201103843.346n3mdzxue573h2.ref@Ergus>
2020-02-01 10:38 ` Dired colors? Ergus
2020-02-01 10:55   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dea81613-3f84-4278-a240-37d344bc5a38@default \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).