From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83124 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: commit 1d2c4fbb9bdc1078d1727b27139e4df5ba7cb2cb Date: Mon, 06 May 2013 09:40:57 +0200 Message-ID: <878v3so8s6.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367826171 16623 80.91.229.3 (6 May 2013 07:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 07:42:51 +0000 (UTC) Cc: Thierry Volpiatto To: ding@gnus.org Original-X-From: ding-owner+M31390@lists.math.uh.edu Mon May 06 09:42:50 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZG4O-0004zJ-1M for ding-account@gmane.org; Mon, 06 May 2013 09:42:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UZG2k-0005xm-5F; Mon, 06 May 2013 02:41:06 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UZG2g-0005xY-Br for ding@lists.math.uh.edu; Mon, 06 May 2013 02:41:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UZG2e-0003jx-QZ for ding@lists.math.uh.edu; Mon, 06 May 2013 02:41:01 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UZG2d-00038f-7n for ding@gnus.org; Mon, 06 May 2013 09:40:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 239721A933E; Mon, 6 May 2013 09:40:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XAJUdh2Zml3n; Mon, 6 May 2013 09:40:58 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id C56681A92D6; Mon, 6 May 2013 09:40:58 +0200 (CEST) Mail-Followup-To: ding@gnus.org, Thierry Volpiatto User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83124 Archived-At: Hi Thierry, it seems your latest commit broke burying the message buffer after sending a message for me. I use (setq message-kill-buffer-on-exit t) and now I get this error after sending messages: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) message-bury() message-send-and-exit(nil) call-interactively(message-send-and-exit nil nil) command-execute(message-send-and-exit) --8<---------------cut here---------------end--------------->8--- The problem is that `with-current-buffer' doesn't work if the given buffer is nil? This simplified definition of `message-bury' works for me: --8<---------------cut here---------------start------------->8--- (defun message-bury (&optional buffer) "Bury this mail BUFFER." (when message-return-action (apply (car message-return-action) (cdr message-return-action))) (bury-buffer buffer)) --8<---------------cut here---------------end--------------->8--- However, I don't use `message-return-action', so I can't tell if reversing the order (first `message-return-action', then bury the buffer, instead of the other way round) has any negative effects. Bye, Tassilo