From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 10897@debbugs.gnu.org
Subject: bug#10897: sending mail via report-emacs-bug
Date: Sat, 03 Mar 2012 18:08:36 +0100 [thread overview]
Message-ID: <87399pipd7.fsf@gmail.com> (raw)
In-Reply-To: <m3ty25bu8z.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Sat, 03 Mar 2012 16:05:00 +0100")
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> I use same configuration for Emacs-24.0.92 and 24.0.94 and behavior is
>> different. (i.e nothing in 'to' and 'subject' for 24.0.94)
>>
>> Note: My Gnus configuration is not new and works fine since months (years).
>
> Well, I'm not able to reproduce the bug.
>
> So do you have anything in your setup that could clear the headers?
Ok I found:
--8<---------------cut here---------------start------------->8---
(defun gnus-msg-mail (&optional to subject other-headers continue
switch-action yank-action send-actions return-action)
"Start editing a mail message to be sent.
Like `message-mail', but with Gnus paraphernalia, particularly the
Gcc: header for archiving purposes.
If Gnus isn't running, a plain `message-mail' setup is used
instead."
(interactive)
(if (not (gnus-alive-p))
(message-mail)
[...]
--8<---------------cut here---------------end--------------->8---
`compose-mail' is calling `gnus-msg-mail' which have changed and call
`message-mail' with no arguments unless a gnus session is alive.
Fallback to old version of `gnus-msg-mail' and all works fine.
--8<---------------cut here---------------start------------->8---
(defun gnus-msg-mail (&optional to subject other-headers continue
switch-action yank-action send-actions return-action)
"Start editing a mail message to be sent.
Like `message-mail', but with Gnus paraphernalia, particularly the
Gcc: header for archiving purposes."
(interactive)
(let ((buf (current-buffer))
mail-buf)
(gnus-setup-message 'message
(message-mail to subject other-headers continue
nil yank-action send-actions return-action))
(when switch-action
(setq mail-buf (current-buffer))
(switch-to-buffer buf)
(apply switch-action mail-buf nil)))
;; COMPOSEFUNC should return t if succeed. Undocumented ???
t)
--8<---------------cut here---------------end--------------->8---
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
next prev parent reply other threads:[~2012-03-03 17:08 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 8:47 bug#10897: copy-directory create new directory when copying a symlink Thierry Volpiatto
2012-02-27 9:11 ` Lars Magne Ingebrigtsen
2012-02-27 9:30 ` Thierry Volpiatto
2012-02-27 10:32 ` Lars Magne Ingebrigtsen
2012-02-27 15:22 ` Thierry Volpiatto
2012-03-09 23:07 ` Lars Magne Ingebrigtsen
2012-03-10 6:08 ` Thierry Volpiatto
2012-03-03 8:42 ` bug#10897: sending mail via report-emacs-bug Thierry Volpiatto
2012-03-03 8:49 ` Eli Zaretskii
2012-03-03 9:29 ` Thierry Volpiatto
2012-03-03 10:04 ` Thierry Volpiatto
2012-03-03 14:29 ` Lars Magne Ingebrigtsen
2012-03-03 14:59 ` Thierry Volpiatto
2012-03-03 15:05 ` Lars Magne Ingebrigtsen
2012-03-03 17:08 ` Thierry Volpiatto [this message]
2012-03-03 17:20 ` Thierry Volpiatto
2012-03-04 15:02 ` Lars Magne Ingebrigtsen
2012-03-05 13:58 ` Thierry Volpiatto
2012-03-03 14:33 ` Lars Magne Ingebrigtsen
2020-08-25 12:47 ` bug#10897: copy-directory create new directory when copying a symlink Lars Ingebrigtsen
2020-10-13 2:33 ` Lars Ingebrigtsen
2020-10-13 3:15 ` Glenn Morris
2020-10-13 3:19 ` Lars Ingebrigtsen
2021-08-19 21:47 ` Marco Centurion
2021-08-20 1:08 ` Marco Centurion
2021-08-20 5:51 ` Eli Zaretskii
2021-08-22 13:34 ` Michael Albinus
2021-08-22 13:46 ` Eli Zaretskii
2021-08-22 14:58 ` Michael Albinus
2021-08-22 16:47 ` Eli Zaretskii
2021-08-22 17:13 ` Michael Albinus
2021-08-22 18:48 ` Michael Albinus
2021-08-20 13:44 ` Lars Ingebrigtsen
2021-08-20 14:29 ` Marco Centurion - URI
2021-08-20 14:38 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87399pipd7.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=10897@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).