From: Damien Collard <damien.collard@laposte.net>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: info-gnus-english@gnu.org
Subject: Re: Way to detect "raw" display of article?
Date: Sun, 17 Mar 2019 22:34:49 +0100 [thread overview]
Message-ID: <m2mult5gna.fsf@laposte.net> (raw)
In-Reply-To: <87zhpu6wwf.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 16 Mar 2019 19:46:08 -0700")
Here's what I have so far:
https://github.com/damiencollard/nice-citation
It works very well, although in some rare cases the face of the citation
mark doesn't match that of the cited text even though the face is taken
from Gnus' own citation faces. I'm guessing Gnus is selecting the
citation face differently than I do (the face of each mark is picked
based on the citation depth).
It doesn't apply the treatment when viewing an article in raw mode, as
expected.
I also enabled it in message-mode, where it adds itself to the
`fontification-functions` alist.
--
Damien Collard
prev parent reply other threads:[~2019-03-17 21:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-16 21:52 Damien Collard
2019-03-17 2:46 ` Eric Abrahamsen
2019-03-17 8:54 ` Damien Collard
2019-03-17 21:34 ` Damien Collard [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=m2mult5gna.fsf@laposte.net \
--to=damien.collard@laposte.net \
--cc=eric@ericabrahamsen.net \
--cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).