From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1480 Path: news.gmane.org!not-for-mail From: Chris Green Newsgroups: gmane.emacs.gnus.user Subject: Re: face at point Date: Sun, 17 Nov 2002 15:03:41 -0500 Organization: have you seen my office? Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668240 11443 80.91.229.2 (31 Jan 2006 00:44:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:44:00 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:13 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!news.astercity.net!news.nask.pl!news.man.poznan.pl!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!snoopy.risq.qc.ca!elk.ncren.net!SonOfMaze.dpo.uab.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: w2e2@206.103.225.252 Original-NNTP-Posting-Host: 206.103.225.252 Original-X-Trace: SonOfMaze.dpo.uab.edu 1037563425 20757 206.103.225.252 (17 Nov 2002 20:03:45 GMT) Original-X-Complaints-To: abuse@uab.edu Original-NNTP-Posting-Date: 17 Nov 2002 20:03:45 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.5 (bamboo, i686-pc-linux) Cancel-Lock: sha1:3xdFkPbBJCQfUAYgMpyc0Ze7v9s= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1620 Original-Lines: 21 X-Gnus-Article-Number: 1620 Tue Jan 17 17:29:13 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1480 Archived-At: John Hunter writes: > > Ie, how do I find out what face is responsible for a given segment of > text in a given mode? > A long time ago, I found this is dejanews or reading one of the emacs groups. Put it in your .emacs, put your cusor where you care about, and it will tell you want you want :) ;; Useful Function (defun describe-face-at-point () "Give the name of the faces at point." (interactive) (message (prin1-to-string (extent-face (extent-at (point) (current-buffer) 'face))))) -- Chris Green You now have 14 minutes to reach minimum safe distance.