From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: emacs-devel@gnu.org
Subject: Re: Gnus no longer highlights articles in CVS version
Date: Wed, 22 Aug 2007 17:48:47 +0200 [thread overview]
Message-ID: <yoij7innh8o0.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: q5glkc3abcf.fsf@sfsw51.de.lucent.com
Klaus Zeitler <kzeitler@alcatel-lucent.com> writes:
> (defun show-tabs () "Show tabs with a slightly changed background"
> (font-lock-add-keywords nil '(("[\t]" (0 'tab-face t)))))
> (add-hook 'font-lock-mode-hook 'show-tabs)
>
> This will add '("\t" (0 'tab-face t))' to each buffers font-lock-keywords.
> I have no idea why it breaks syntax highlighting in Gnus.
It activates font lock's fontification mechanism, which removes the
`face' properties that Gnus added "manually".
--
Johan Bockgård
prev parent reply other threads:[~2007-08-22 15:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 14:32 Gnus no longer highlights articles in CVS version Klaus Zeitler
2007-08-22 15:48 ` Johan Bockgård [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=yoij7innh8o0.fsf@gamma02.me.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
--cc=emacs-devel@gnu.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.