From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: Way to detect "raw" display of article?
Date: Sat, 16 Mar 2019 19:46:08 -0700 [thread overview]
Message-ID: <87zhpu6wwf.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m2h8c2qyfg.fsf@gandi.net>
Damien Collard <damien.collard@distfp.net> writes:
> Hello,
>
> I have written a module for Gnus that replaces the standard `>` citation
> marks in article-mode with nicer Unicode ones using the same face as the
> corresponding cited text.
>
> However, I only want to apply this transformation in the "regular" (C-g)
> view of the article, not if it's being viewed "raw" (`C-u g` or `C-u C-u
> g`). Is their a reliable way to detect this?
I think the "appropriate" way of doing this would be to make this a
washing function that does this on command, then a corresponding
`gnus-treat-FOO' variable, then allow people to set that as they like.
Eric
next prev parent reply other threads:[~2019-03-17 2:46 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 [this message]
2019-03-17 8:54 ` Damien Collard
2019-03-17 21:34 ` Damien Collard
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=87zhpu6wwf.fsf@ericabrahamsen.net \
--to=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).