emacs-devel
[Top][All Lists]
Advanced

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

Re: Emphasize the character to be typed next in *Completions*


From: Juri Linkov
Subject: Re: Emphasize the character to be typed next in *Completions*
Date: Tue, 30 Mar 2004 14:14:44 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>> From: Stefan Monnier <address@hidden>
>> Date: 29 Mar 2004 16:24:58 -0500
>> 
>> So maybe dired should introduce new faces (maybe it's done that already,
>> I haven't used it in a while now)
>
> Dired still uses the standard font-lock faces, it does not define its
> own faces.
>
> I agree with Stefan that introducing Dired-specific faces is a good
> idea.  Standard font-lock faces are suitable to programming
> languages, not to something like file types.

I always wished dired would have its own faces.  How about the
following faces?

(defface dired-header
  '((t (:inherit font-lock-type-face)))
  :group 'dired)

(defface dired-mark
  '((t (:inherit font-lock-constant-face)))
  :group 'dired)

(defface dired-marked
  '((t (:inherit font-lock-warning-face)))
  :group 'dired)

(defface dired-warning
  '((t (:inherit font-lock-comment-face)))
  :group 'dired)

(defface dired-directory
  '((t (:inherit font-lock-function-name-face)))
  :group 'dired)

(defface dired-symlink
  '((t (:inherit font-lock-keyword-face)))
  :group 'dired)

(defface dired-ignored
  '((t (:inherit font-lock-string-face)))
  :group 'dired)

> Mode derived from Text Mode, like Texinfo and Mail modes, should
> probably also define their own faces.

Faces that have no semantic relation to the standard font-lock faces
should define their own faces.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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