all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Geralt <usr.gentoo@googlemail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Tassilo Horn <tassilo@member.fsf.org>, help-gnu-emacs@gnu.org
Subject: Re: How to find current font-lock settings of a buffer?
Date: Sun, 8 Feb 2009 20:38:43 +0100	[thread overview]
Message-ID: <fbdd0e50902081138o5f2e3f3ai96d4febcb2b8174a@mail.gmail.com> (raw)
In-Reply-To: <002f01c98a1b$f14d60e0$0200a8c0@us.oracle.com>

On Sun, Feb 8, 2009 at 7:34 PM, Drew Adams <drew.adams@oracle.com> 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.




      reply	other threads:[~2009-02-08 19:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 14:49 How to find current font-lock settings of a buffer? Geralt
2009-02-07 15:01 ` Peter Dyballa
     [not found]   ` <fbdd0e50902070720u31e5f09dpe4ee46c7d107821e@mail.gmail.com>
2009-02-07 15:20     ` Geralt
2009-02-07 15:31       ` Peter Dyballa
2009-02-07 15:35         ` Geralt
2009-02-07 18:04           ` Peter Dyballa
2009-02-08 10:16   ` Tassilo Horn
2009-02-08 18:34     ` Drew Adams
2009-02-08 19:38       ` Geralt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fbdd0e50902081138o5f2e3f3ai96d4febcb2b8174a@mail.gmail.com \
    --to=usr.gentoo@googlemail.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.