From: "Drew Adams" <drew.adams@oracle.com>
To: "'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 10:34:56 -0800 [thread overview]
Message-ID: <002f01c98a1b$f14d60e0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87k5816xno.fsf@thinkpad.tsdh.de>
> >> 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).
next prev parent reply other threads:[~2009-02-08 18:34 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 [this message]
2009-02-08 19:38 ` Geralt
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='002f01c98a1b$f14d60e0$0200a8c0@us.oracle.com' \
--to=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.