GNU bug report logs - #14166
24.3.50; report-emacs-bug and mail-user-agent == 'gnus-user-agent

Previous Next

Packages: emacs, gnus;

Reported by: michael_heerdegen <at> web.de

Date: Tue, 9 Apr 2013 14:22:02 UTC

Severity: normal

Found in version 24.3.50

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: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 14166 <at> debbugs.gnu.org
Subject: bug#14166: 24.3.50; report-emacs-bug and mail-user-agent == 'gnus-user-agent
Date: Wed, 10 Apr 2013 15:39:05 +0200
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

> There seem to be several solutions, however ideas I have are not
> so good.  For example:
>
> 1. To make `report-emacs-bug' bind `gnus-posting-styles' to nil
>    unconditionally while performing `compose-mail'.  It has to load
>    gnus-msg.el, that provides `gnus-posting-styles', before binding
>    it to nil if Gnus is not running yet even if `mail-user-agent'
>    is not `gnus-user-agent'.  Otherwise, `gnus-posting-styles' will
>    be made unbound.  Note that a function `gnus-user-agent' uses,
>    that is `gnus-msg-mail', is autoloaded, and it involves many other
>    Gnus modules loading.
>
> 2. Similar to 1.  But load gnus-msg.el and bind `gnus-posting-styles'
>    to nil if and only if `mail-user-agent' equals `gnus-user-agent'.
>    I think the source code for it will get ugly.
>
> 3. To make `gnus-msg-mail' bind `gnus-posting-styles' to nil if and
>    only if `this-command' is `report-emacs-bug'.  It won't work if
>    `report-emacs-bug' is called non-interactively.
>
> My second best is 2.  What do others think?

Just want to mention `gnus-inhibit-posting-styles'.  Maybe binding it is
more comfortable?  Dunno, just an idea.


Regards,

Michael.




This bug report was last modified 12 years and 38 days ago.

Previous Next


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