unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: 23747@debbugs.gnu.org
Cc: notmuch@notmuchmail.org
Subject: bug#23747: bug present without emacs25 or notmuch
Date: Thu, 08 Sep 2016 21:43:13 -0300	[thread overview]
Message-ID: <871t0tlx7i.fsf__24583.7164497518$1473381863$gmane$org@zancas.localnet> (raw)
In-Reply-To: <87eg83s745.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

  parent reply	other threads:[~2016-09-09  0:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-11 22:17 bug#23747: 25.0.95; regression in mml-secure-sign-pgpmime Sam Halliday
2016-06-12 10:46 ` Nicolas Petton
2016-06-12 11:25   ` Sam Halliday
2016-09-09  0:43 ` David Bremner [this message]
     [not found] <871t0tlx7i.fsf@zancas.localnet>
2017-06-15 16:04 ` bug#23747: bug present without emacs25 or notmuch David Bremner
     [not found] ` <87h8zhs0ec.fsf@tethera.net>
2019-09-23 18:56   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='871t0tlx7i.fsf__24583.7164497518$1473381863$gmane$org@zancas.localnet' \
    --to=david@tethera.net \
    --cc=23747@debbugs.gnu.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).