From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#10897: sending mail via report-emacs-bug Date: Sat, 03 Mar 2012 18:20:44 +0100 Message-ID: <87d38tlhxv.fsf@gmail.com> References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> <87399pipd7.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330795387 2302 80.91.229.3 (3 Mar 2012 17:23:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 17:23:07 +0000 (UTC) To: 10897@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 18:23:06 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3sfh-0000E3-7K for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 18:23:05 +0100 Original-Received: from localhost ([::1]:35112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sfg-00021I-Ai for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 12:23:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sfc-00020D-08 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:23:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sfY-0006AS-0J for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:22:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sfX-0006AJ-T6 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:22:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S3sfe-0002hn-EJ for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:23:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <874nuchddl.fsf@gmail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Mar 2012 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133079532910336 (code B ref -1); Sat, 03 Mar 2012 17:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2012 17:22:09 +0000 Original-Received: from localhost ([127.0.0.1]:60220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sej-0002g6-5m for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:22:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49752) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3seU-0002fb-DH for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sdr-0005ul-LR for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:12 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:57762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdr-0005ud-IV for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdm-0001Br-Vb for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sdi-0005tg-8a for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdi-0005tW-1X for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S3sde-0007xf-Bk for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 18:20:58 +0100 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 18:20:58 +0100 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 18:20:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:iuJjoe7P1I0eW6KaW0HhrSh9270= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57465 Archived-At: Thierry Volpiatto writes: > Lars Magne Ingebrigtsen writes: > >> Thierry Volpiatto 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: More exactly we need (if (not (gnus-alive-p))..., otherwise we fail with error `gnus-setup-message' function not found. So just need to call message-mail with args. here a patch: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -486,7 +486,8 @@ instead." (interactive) (if (not (gnus-alive-p)) - (message-mail) + (message-mail to subject other-headers continue + nil yank-action send-actions return-action) (let ((buf (current-buffer)) mail-buf) (gnus-setup-message 'message --8<---------------cut here---------------end--------------->8--- -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997