[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10897: sending mail via report-emacs-bug
From: |
Thierry Volpiatto |
Subject: |
bug#10897: sending mail via report-emacs-bug |
Date: |
Sat, 03 Mar 2012 18:08:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
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
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Eli Zaretskii, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Lars Magne Ingebrigtsen, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Lars Magne Ingebrigtsen, 2012/03/03
- bug#10897: sending mail via report-emacs-bug,
Thierry Volpiatto <=
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/03
- bug#10897: sending mail via report-emacs-bug, Lars Magne Ingebrigtsen, 2012/03/04
- bug#10897: sending mail via report-emacs-bug, Thierry Volpiatto, 2012/03/05
bug#10897: sending mail via report-emacs-bug, Lars Magne Ingebrigtsen, 2012/03/03