GNU bug report logs -
#14166
24.3.50; report-emacs-bug and mail-user-agent == 'gnus-user-agent
Previous Next
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
[Message part 1 (text/plain, inline)]
Your bug report
#14166: 24.3.50; report-emacs-bug and mail-user-agent == 'gnus-user-agent
which was filed against the emacs,gnus package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 14166 <at> debbugs.gnu.org.
--
14166: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14166
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:
> So, what I'm going to do now is simply to modify `gnus-msg-mail'.
Done.
[Message part 3 (message/rfc822, inline)]
Hello,
the problem is the following (with my setup):
- I have an active gnus; currently, I'm having a summary buffer showing
the emacs-dev newsgroup. I need it for reference for the composition
of a bug report.
- I do M-x report-emacs-bug
The result is that the mail composition buffer will have a TO field of
"emacs-devel <at> gnu.org" instead of "bug-gnu-emacs <at> gnu.org".
`report-emacs-bug' uses the posting-style of the group I'm currently
reading. Surprising, and not very useful.
Background: I use mail-user-agent == 'gnus-user-agent. Not sure if
there are other related settings.
And I have this element in `gnus-posting-styles':
("\\(?:\\(?:g\\(?:\\(?:mane\\|nu\\)\\.emacs\\.devel\\)\\)\\)\\'"
(TO "emacs-devel <at> gnu.org")
(BCC #1="michael_heerdegen <at> web.de")
. #2=((FCC nil)))
mainly because I read emacs-devel as a group, but want to reply always
to the mailing list (I know about S L, but I want also to be able to use
the standard reply commands. Please tell me if that's a bad idea).
I debugged a bit. Here is what's going on:
M-x report-emacs-bug
--> compose-mail
--> (get mail-user-agent 'composefunc) == 'gnus-msg-mail
--> (gnus-setup-message 'message
(message-mail to subject other-headers continue
nil yank-action send-actions return-action))
The macro `gnus-setup-message' binds `#:group' to the value of
`gnus-newsgroup-name', which is "nntp+Gmane:gmane.emacs.devel" in my
case.
Then it does this:
(add-hook 'message-mode-hook
(if (memq ,config '(reply-yank reply))
(lambda ()
(gnus-configure-posting-styles ,group))
(lambda ()
;; There may be an old " *gnus article copy*" buffer.
(let (gnus-article-copy)
(gnus-configure-posting-styles ,group)))))
At the end, running `message-mode-hook' changes the TO field
according to the posting style via `gnus-configure-posting-styles'.
Thanks,
Michael.
In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
of 2013-04-04 on dex, modified by Debian
(emacs-snapshot package, version 2:20130403-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description: Debian GNU/Linux 7.0 (wheezy)
Configured using:
`configure --build x86_64-linux-gnu --host x86_64-linux-gnu
--prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man
--with-pop=yes
--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp
--without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/
--with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes
CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'
CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed
-znocombreloc''
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.