From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Floyd Davidson Newsgroups: gmane.emacs.help Subject: Re: . . . Date: Thu, 12 Feb 2004 18:00:46 -0900 Organization: __________ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <874qtv3cpt.fld@barrow.com> References: <20040211145836.5e06d6b9.felix.klee.news@gmx.net> <20040211211817.7d8799b8.felix.klee.news@gmx.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076642397 8903 80.91.224.253 (13 Feb 2004 03:19:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2004 03:19:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 13 04:19:49 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArTrp-00047p-00 for ; Fri, 13 Feb 2004 04:19:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArToS-0005tU-B2 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Feb 2004 22:16:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!falcon.america.net!eagle.america.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: gnus 5.10.6/XEmacs 21.4.14/Linux 2.6.0 Cancel-Lock: sha1:v8nXxNfPYFY9vb4x5ecIRzaGEHs= Original-Lines: 64 Original-NNTP-Posting-Host: 209.124.156.56 Original-X-Trace: eagle.america.net 1076641282 209.124.156.56 (Thu, 12 Feb 2004 22:01:22 EST) Original-NNTP-Posting-Date: Thu, 12 Feb 2004 22:01:22 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:120866 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16814 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16814 nospam55 wrote: >nospam55 wrote: > >> Felix E. Klee wrote: >> >>> On Wed, 11 Feb 2004 21:21:21 +0200 Eli Zaretskii wrote: >>>> By customizing the face called `fringe'. >>> >>> Thanks, this worked fine. >>> >> >> I'm also interested, how can I customize that? >> >> nospam55 > >... I mean, do you think it is safe to edit the > >(custom-set-faces > ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! > ;; Your init file should contain only one such instance. > '(cperl-array-face ((t (:foreground "yellow" :slant italic)))) > '(cperl-hash-face ((t (:foreground "SpringGreen" :slant italic)))) > [etc] > '(fringe ((((class color) (background dark)) (:background "darkslategray")))) > > [etc] > >in .emacs ? That's the easy way. >Is there another way to customize? Goto the "Options" menu, and the last item in it, the "Customize Emacs" submenu. In that menu click on "Specific Face...". It will prompt you for which face or type return for all of them. You can enter "fringe", or get them all and search down the list for fringe. Obviously you can either set it for that session or you can ask Emacs to write it to the ~/.emacs file to make it permanent. >Another way to set the fringe face without customization functions? Sure. The trick is to make it happen after the customization has taken place. Here is a function you can put into your ~/.emacs file to do that. (defun set-fringe () "Change fringe color." (interactive) (set-face-background 'fringe "red")) It can be invoked as "M-x set-fringe", or... here is a method you can add to your ~/.emacs file to make it happen automatically, (add-hook 'display-time-hook 'set-fringe) If you wanted that to happen only one time, you could add a (delete-hook ...) statement to the function. -- Floyd L. Davidson Ukpeagvik (Barrow, Alaska) floyd@barrow.com