From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Emphasize the character to be typed next in *Completions* Date: Tue, 30 Mar 2004 14:14:44 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <873c7qio2j.fsf@mail.jurta.org> References: <20040322053942.03A2467DC4@imf.math.ku.dk> <405EB27E.6020904@math.ku.dk> <20040322.185510.266153697.jet@gyve.org> <87isgva1wc.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080645828 9610 80.91.224.253 (30 Mar 2004 11:23:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2004 11:23:48 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 30 13:23:43 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B8HLL-0006zx-00 for ; Tue, 30 Mar 2004 13:23:43 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B8HLL-0000xN-00 for ; Tue, 30 Mar 2004 13:23:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8HKh-0003Of-I5 for emacs-devel@quimby.gnus.org; Tue, 30 Mar 2004 06:23:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B8HJX-0003C7-2S for emacs-devel@gnu.org; Tue, 30 Mar 2004 06:21:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B8HIy-0002zu-NZ for emacs-devel@gnu.org; Tue, 30 Mar 2004 06:21:47 -0500 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8HEC-0001UG-Vq; Tue, 30 Mar 2004 06:16:21 -0500 Original-Received: from mail.jurta.org (80-235-41-67-dsl.mus.estpak.ee [80.235.41.67]) by spork.dreamhost.com (Postfix) with ESMTP id 255C911DC10; Tue, 30 Mar 2004 03:16:18 -0800 (PST) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "30 Mar 2004 07:58:47 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21087 Eli Zaretskii writes: >> From: Stefan Monnier >> 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/