From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18925 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Way to detect "raw" display of article? Date: Sat, 16 Mar 2019 19:46:08 -0700 Message-ID: <87zhpu6wwf.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40119"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Mar 17 03:56:54 2019 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5Lyn-000AKa-PK for gegu-info-gnus-english@m.gmane.org; Sun, 17 Mar 2019 03:56:53 +0100 Original-Received: from localhost ([127.0.0.1]:49354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Lym-0007Yu-LO for gegu-info-gnus-english@m.gmane.org; Sat, 16 Mar 2019 22:56:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Lyk-0007W2-Hk for info-gnus-english@gnu.org; Sat, 16 Mar 2019 22:56:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5LoY-000056-J6 for info-gnus-english@gnu.org; Sat, 16 Mar 2019 22:46:19 -0400 Original-Received: from [195.159.176.226] (port=37056 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5LoX-0008VN-HP for info-gnus-english@gnu.org; Sat, 16 Mar 2019 22:46:18 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1h5LoU-0000Cv-Nz for info-gnus-english@gnu.org; Sun, 17 Mar 2019 03:46:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:Ldb+EZp+3oXLGV+b3deLLCcVhE4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18925 Archived-At: Damien Collard 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