From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Edward Welbourne Newsgroups: gmane.emacs.devel Subject: Re: customize Date: Mon, 15 Jul 2002 11:18:28 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207111201.g6BC1OM16938@aztec.santafe.edu> <200207141522.g6EFMJ020466@aztec.santafe.edu> Reply-To: eddy@opera.no NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1026724773 19926 127.0.0.1 (15 Jul 2002 09:19:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 15 Jul 2002 09:19:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17U20x-0005BH-00 for ; Mon, 15 Jul 2002 11:19:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17U2BK-0001yi-00 for ; Mon, 15 Jul 2002 11:30:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17U20j-0005Ku-00; Mon, 15 Jul 2002 05:19:17 -0400 Original-Received: from pat.opera.com ([193.69.113.22] helo=whorl.intern.opera.no) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17U1zx-0005In-00; Mon, 15 Jul 2002 05:18:29 -0400 Original-Received: from eddy by whorl.intern.opera.no with local (Exim 3.35 #1 (Debian)) id 17U1zw-0003h7-00; Mon, 15 Jul 2002 11:18:28 +0200 Original-To: rms@gnu.org In-Reply-To: <200207141522.g6EFMJ020466@aztec.santafe.edu> (message from Richard Stallman on Sun, 14 Jul 2002 09:22:19 -0600 (MDT)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5755 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5755 > What does (custom-set-faces '(trailing-whitespace ((t nil)))) do? > What is it supposed to do? it is supposed to configure the trailing-whitespace face, activated by setting show-trailing-whitespace to a non-nil value; however, it sets the face to always have no attributes set. This appears consistent with what it *does*: the face is just ordinary background, making the trailing hspace (which, for me, is actually blackspace, not whitespace; I use reverse-video systematically) invisible despite being `shown'. This is perfectly correct behaviour. I just didn't want this code in my .emacs, after the point where my .emacs loads my .sys/elisp/init.el which configures the face using set-face-background (and doesn't contain any dire warnings about not editing this other than via the appropriate wizard; I can edit the color name, evaluate the expression, see if I like it, etc. until I like it, then byte compile the file and *know*, as opposed to hoping, that it'll Do What I Want; which is currently grey18). > What settings did you specify in customize for that face? This'll have to wait until I'm not in the middle of a session with lots of saved state: I am *not* going to play with customize except in a session I'm happy to abort shortly afterwards (because this is what I've *always* had to do shortly after using customize), but roughly speaking: I went to the config section for trailing whitespace and unchecked the check-box for the background colour specification of the face, then saved the configuration. The customize behaviour here is to configure the face to be invisible, rather than to remove the configuration of that face from my .emacs file. If this is what customize is meant to do in this case, please could we have a control on the GUI that says `customize back off here and say nothing about this face' for use by those who want to do this via our own elisp. > You said "turning off the configuration option for it"; what does > "it" refer to here, and which option is that? "it" was the face, trailing-whitespace. For details of which option that was in the GUI, see above on my reticence about firing up customize just to find out how it described the face. It may be a while before I get such a break - I am busy and emacs is generally so well behaved I don't have to exit it other than on the rare occasions my Debian GNU/Linux box needs rebooted. But when I do take such a break, I'll dig through these e-mails answering lots of questions. Eddy.