From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: How to color full line in dired Date: Sun, 24 Nov 2002 15:56:21 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: <84znrzyq22.fsf@lucy.cs.uni-dortmund.de> References: <84d6owasm5.fsf@lucy.cs.uni-dortmund.de> <3DE0BD24.D100C66@ica1.uni-stuttgart.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038150003 21757 80.91.224.249 (24 Nov 2002 15:00:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2002 15:00:03 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18FyEp-0005dv-00 for ; Sun, 24 Nov 2002 15:59:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18FyG8-0001eo-00; Sun, 24 Nov 2002 10:01:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!p50877e92.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: p50877e92.dip.t-dialin.net (80.135.126.146) Original-X-Trace: fu-berlin.de 1038149783 22145519 80.135.126.146 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:vkrnKTJATzGnXSLJZ66rYUE5Do8= Original-Xref: shelby.stanford.edu gnu.emacs.help:107368 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3922 Astrid Kuhr writes: > Hello! > > Thank you for the information. >> >> (defface font-lock-dired-link-face >> '((t (:foreground "Firebrick" :bold t))) >> "Face used for symlinks in dired.") > > I tried this: > > (defface ak-dir-face > '((t (:foreground "Firebrick" :bold t))) > "Face used for directories in dired.") > > (let*() > (setq > dired-font-lock-keywords > (list '("^..d.* \\([^ ]+\\)$" . ak-dir-face)) > ) > ) > > But then I get the errormessage: Symbols value as > variable is void: ak-dir-face. > > Must I add something else? Oh, boy. This shouldn't happen. Anyway, maybe you can work around it by including (defvar ak-dir-face 'ak-dir-face) together with the defface statement. kai -- ~/.signature is: umop ap!sdn (Frank Nobis)