From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Bremner Newsgroups: gmane.emacs.bugs Subject: bug#23747: bug present without emacs25 or notmuch Date: Thu, 08 Sep 2016 21:43:13 -0300 Message-ID: <871t0tlx7i.fsf__24583.7164497518$1473381863$gmane$org@zancas.localnet> References: <87eg83s745.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1473381863 22273 195.159.176.226 (9 Sep 2016 00:44:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 00:44:23 +0000 (UTC) User-Agent: Notmuch/0.22.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Cc: notmuch@notmuchmail.org To: 23747@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 02:44:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9vU-0004oq-2h for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 02:44:16 +0200 Original-Received: from localhost ([::1]:54866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9vR-0006X4-Oe for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 20:44:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9vM-0006Wy-5A for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi9vG-0003Ou-71 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:44:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9vG-0003Oq-3W for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bi9vF-0006qv-Uo for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:44:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87eg83s745.fsf@gmail.com> Resent-From: David Bremner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2016 00:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23747 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23747-submit@debbugs.gnu.org id=B23747.147338179926281 (code B ref 23747); Fri, 09 Sep 2016 00:44:01 +0000 Original-Received: (at 23747) by debbugs.gnu.org; 9 Sep 2016 00:43:19 +0000 Original-Received: from localhost ([127.0.0.1]:54018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9uZ-0006pp-7s for submit@debbugs.gnu.org; Thu, 08 Sep 2016 20:43:19 -0400 Original-Received: from fethera.tethera.net ([198.245.60.197]:45177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9uX-0006ph-Km for 23747@debbugs.gnu.org; Thu, 08 Sep 2016 20:43:18 -0400 Original-Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1bi9uQ-00010F-Vi; Thu, 08 Sep 2016 20:43:10 -0400 Original-Received: (nullmailer pid 4371 invoked by uid 1000); Fri, 09 Sep 2016 00:43:15 -0000 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123099 Archived-At: --=-=-= Content-Type: text/plain I have managed to duplicate (I think) this bug without notmuch or emacs 25. In emacs 24.5.1 (on debian) (require 'mml2015) (setq mml2015-sign-with-sender t) M-x toggle-debug-on-error M-x message-mail (fill in some headers, From: me) C-c C-m C-s C-c C-c yields the following backtrace Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 189) (contents . "\nTesty McTestface\n"))) mml2015-sign((part (sign . "pgpmime") (tag-location . 189) (contents . "\nTesty McTestface\n"))) mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 189) (contents . "\nTesty McTestface\n"))) mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 189) (contents . "\nTesty McTestface\n"))) mml-generate-mime() message-encode-message-body() message-send-mail(nil) message-send-via-mail(nil) message-send(nil) message-send-and-exit(nil) call-interactively(message-send-and-exit nil nil) command-execute(message-send-and-exit) I hazard a guess this is related to the changes in the with-colons format of gnupg 2.1.15, since I just installed that to fix some other breakage. I could be wrong though, I haven't debugged further than this. If this message arrives signed, then a workaround is to set mml2015-sign-with-sender to nil, although I'm not sure what will happen with key selection. d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCAAGBQJX0gWiAAoJEPIClx2kp54soGwL/3N3JRG1dZPNy2EnATaxIhu9 YbOvCuxRrvrCFbLj1gz+mDYpoULMLul9RhPdYwBkhk656EhL8LIyXwWXK0lGaaVU kO7NaYXy+QGg4KgrnNDH6o8Fk4M28OFJ3H1xphQI8hQqqr4kcEbLlcWmJVvGuN2G Y/gIXojE85tAJUrILLq74YB5rTwERV3Z3TjlULbnnafyQ6OPPEpiLJiTF9NEoOnZ ewII/zgITuaRfFzpg2SWhDSjAykX8YAa7fiW49rd6KGT0IOze+eKFrK/coAehCZ6 V/xYJm0JEbDCpIs+c3wVqxdaoSiFOZg17f3TxMD6QpgN9FE3iC+B1fcyKYGPKxvy FdFGIpT0IgXpbY6M6PkbbRwu0V6hDiIPRKCMgfUzFllUav7Z2Tv1rYy7f4a9AHwo Y62opVH8c7dLgSvFvkutaPK13pUTmbRDud7qsfaZzL0QuXIWiltVjkM6sWnjg+DM VL6ANla7p8zAFSWMGXnuG6o4IFxp8f6Id59fTnTHXg== =jHUn -----END PGP SIGNATURE----- --=-=-=--