From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?Tm9yZGz2dw==?= Newsgroups: gmane.emacs.help Subject: Re: Advanced Inheriting when Customizing Faces Date: Mon, 06 Aug 2007 09:10:07 -0000 Organization: http://groups.google.com Message-ID: <1186391407.245855.273900@l70g2000hse.googlegroups.com> References: <1186389098.448588.234330@k79g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1186393261 20007 80.91.229.12 (6 Aug 2007 09:41:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 09:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 11:41:00 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IHz55-0002FH-Lh for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 11:40:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHz54-0001YU-5r for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 05:40:54 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l70g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 150.227.15.253 Original-X-Trace: posting.google.com 1186391407 22239 127.0.0.1 (6 Aug 2007 09:10:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 6 Aug 2007 09:10:07 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.8.1.3) Gecko/20060601 Firefox/2.0.0.3 (Ubuntu-edgy),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 netcache (NetCache NetApp/6.1.1RC1) Complaints-To: groups-abuse@google.com Injection-Info: l70g2000hse.googlegroups.com; posting-host=150.227.15.253; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150773 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46348 Archived-At: On 6 Aug, 10:56, Eli Zaretskii wrote: > > From: =3D?iso-8859-1?B?Tm9yZGz2dw=3D=3D?=3D > > Date: Mon, 06 Aug 2007 01:31:38 -0700 > > > How do I customize a face to be boxed with the foreground of a another > > face, in my case cursor face? > > Inherit from the cursor face (by checking the check-box "Inherit" and > inserting the cursor face name), and then check the check-box "Box > around text". > > Is that what you wanted? If not, why not? Doing this does not make the "Box around text"-color in my new face be the background color of cursor-face. I have found the package highlight-symbol.el very useful to highlight the symbol at the cursor. I am however not quite satisfied with the visual distinguishing of all the occurrencies of the current symbol. Therefore I am customizing highlight-symbol-face in the package highlight-symbol.el in the way described above. /Nordl=F6w