[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Way to detect "raw" display of article?
From: |
Eric Abrahamsen |
Subject: |
Re: Way to detect "raw" display of article? |
Date: |
Sat, 16 Mar 2019 19:46:08 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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