From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geralt Newsgroups: gmane.emacs.help Subject: Re: How to find current font-lock settings of a buffer? Date: Sun, 8 Feb 2009 20:38:43 +0100 Message-ID: References: <2C73404D-3F35-4D7B-B9C3-C71B04BD739F@Web.DE> <87k5816xno.fsf@thinkpad.tsdh.de> <002f01c98a1b$f14d60e0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234122076 15841 80.91.229.12 (8 Feb 2009 19:41:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2009 19:41:16 +0000 (UTC) Cc: Tassilo Horn , help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 20:42:31 2009 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 1LWFXu-0000bL-4h for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Feb 2009 20:42:26 +0100 Original-Received: from localhost ([127.0.0.1]:44777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWFWa-0000nU-Sl for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Feb 2009 14:41:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWFUO-00009g-Gk for help-gnu-emacs@gnu.org; Sun, 08 Feb 2009 14:38:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWFUM-00009J-SQ for help-gnu-emacs@gnu.org; Sun, 08 Feb 2009 14:38:48 -0500 Original-Received: from [199.232.76.173] (port=33881 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWFUM-00009G-LF for help-gnu-emacs@gnu.org; Sun, 08 Feb 2009 14:38:46 -0500 Original-Received: from mail-bw0-f160.google.com ([209.85.218.160]:50173) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWFUM-00081R-9d for help-gnu-emacs@gnu.org; Sun, 08 Feb 2009 14:38:46 -0500 Original-Received: by bwz4 with SMTP id 4so692994bwz.18 for ; Sun, 08 Feb 2009 11:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3gBSSrIHla0rkYMQabxusK4CSMeGfwQGkisS9QCMQgE=; b=lPPjU4TPfPxUu9iZ9rpAUp9KysQ+BVdzMOITKROICqOVRSoGWfg8/+MXuYA8c9Hv3y vLIteQKmokQhgKrWuTS6H+cbTcB4TgXuL/To9Df31TMJY8a47kH0VLwlum6PLJev/CD8 nGK0sIS7Szd4zaq1QzBG+a6+NT2Tc4XYlYk/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=P0XVWTVpH0204T0bAPexI3RlUiqwcptLql6kr6EnyHGLnVZTcV0I17xmxbDsiNwGTQ lF6rA+vVUnpuLkVv8ZRWdhYNjchBNmIPckeimO5fiy6r5eJk0QzIz5zNGz4XO3tFAOgw 7A+UAF+wFHA3JISUB4Wx76yYG95RckzFAD+1E= Original-Received: by 10.181.201.18 with SMTP id d18mr1515881bkq.125.1234121923790; Sun, 08 Feb 2009 11:38:43 -0800 (PST) In-Reply-To: <002f01c98a1b$f14d60e0$0200a8c0@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62013 Archived-At: On Sun, Feb 8, 2009 at 7:34 PM, Drew Adams wrote: >> >> how can I see the current font-lock settings of a buffer? >> > >> > M-x describe-face RET on character of that face. In GNU Emacs 23 C-u >> > C-x = works similarly. >> >> That displays only the face used for that character. The real >> font-lock settings are in the variable font-lock-keywords (which >> you normally don't set explicitly). >> See (info "(elisp)Font Lock Mode") for details. > > Yes, but looking at the value of `font-lock-keywords' is likely to puzzle more > than clarify ... unless you marry that with the face appearances using > `list-faces-display'. > > IOW, `C-h v font-lock-keywords' will show you which faces are used by Font Lock > mode in the current buffer. Then `M-x list-faces-display' will show you what > they (and other faces actually look like). > > > > Thanks, I'll try that.