GNU bug report logs - #34387
26.1; Gnus: handle empty message parts

Previous Next

Package: emacs;

Reported by: Christophe Troestler <Christophe.Troestler <at> umons.ac.be>

Date: Fri, 8 Feb 2019 15:00:02 UTC

Severity: normal

Found in version 26.1

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christophe Troestler <Christophe.Troestler <at> umons.ac.be>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 34387 <at> debbugs.gnu.org
Subject: bug#34387: 26.1; Gnus: handle empty message parts
Date: Fri, 15 Feb 2019 09:28:28 +0100
On 14 February 2019 at 23:50 CET, Katsumi Yamaoka wrote:
>
> […] I see.  But, sorry, I meant to do first was:
>
> (define-advice mm-shr (:around (oldfn &rest handle) delete-trailing-whitespace)
>   "Delete leading and trailing whitespace in Gnus article buffer."
>   (if (derived-mode-p 'gnus-article-mode)
>       (save-restriction
> 	(narrow-to-region (point) (point))
> 	(apply oldfn handle)
> 	(delete-trailing-whitespace))
>     (apply oldfn handle)))
>
> That is, not to do the whitespace deletion when mm-shr is used
> in other than Gnus as it might require whitespace.  […]

Sure.  Thanks for taking the time to attract my attention to this.

Best,
C.




This bug report was last modified 6 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.