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:08:36 +0100 Message-ID: <87399pipd7.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330794621 29408 80.91.229.3 (3 Mar 2012 17:10:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 17:10:21 +0000 (UTC) Cc: 10897@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 18:10:20 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 1S3sTM-0004af-Ax for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 18:10:20 +0100 Original-Received: from localhost ([::1]:56557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sTL-0005Dy-Gq for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 12:10:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sTC-0005DM-5N for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:10:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sSy-0003Nx-6B for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:10:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sSx-0003Nl-W7 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:09:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S3sT4-0002P0-Di for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:10:02 -0500 X-Loop: help-debbugs@gnu.org 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:10: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: Original-Received: via spool by 10897-submit@debbugs.gnu.org id=B10897.13307945899206 (code B ref 10897); Sat, 03 Mar 2012 17:10:02 +0000 Original-Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 17:09:49 +0000 Original-Received: from localhost ([127.0.0.1]:60211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sSh-0002O5-V2 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:09:49 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:49185) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sSM-0002NT-FI for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 12:09:28 -0500 Original-Received: by werb10 with SMTP id b10so1625368wer.3 for <10897@debbugs.gnu.org>; Sat, 03 Mar 2012 09:08:40 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.222 as permitted sender) client-ip=10.216.132.222; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.222 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Original-Received: from mr.google.com ([10.216.132.222]) by 10.216.132.222 with SMTP id o72mr1331192wei.95.1330794520926 (num_hops = 1); Sat, 03 Mar 2012 09:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=VEeEUGvrKdgipIegHh0c8Pvq7gRynDu4FuZOQX2GToU=; b=TdPHvvuG5AeaHfI33UCa5uFzJ3Gj+6xC+R6gMxPSBLRLTXzg2j/AWE3y+uFsU6+4Ef b3WHI5QDbbdGxsAP7p3Pye9ItKncgdRjYEVBACxtyQabfgCXS8yar4F/sXlhJVryx47h L6AOgnceC3MADaxzst6Or4VX6Km9kLwdNCYB3alC3/QzxU9mdFG/OnMG1GxL/Cw5/Bcz NbLax2A3kNNQkFU414No+K8CsetMbVl+PO9FU4lsywkhvGfJeNz7PujkXiMtzLAHZzXi oaV5WGKlAds2J2r+9alissNPp3lZY09rdsF4a3/DOchcRxzCnkjEU4iuzB6rMW81KQX8 9KUQ== Original-Received: by 10.216.132.222 with SMTP id o72mr1089180wei.95.1330794520788; Sat, 03 Mar 2012 09:08:40 -0800 (PST) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id dr5sm30117087wib.0.2012.03.03.09.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 09:08:39 -0800 (PST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 03 Mar 2012 16:05:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) 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:57463 Archived-At: 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: --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