unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* bug present without emacs25 or notmuch
@ 2016-09-09  0:41 David Bremner
  2016-09-09  0:44 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2016-09-09  0:41 UTC (permalink / raw)
  To: 23747; +Cc: notmuch

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug present without emacs25 or notmuch
@ 2016-09-09  0:43 David Bremner
  2017-06-15 16:04 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2016-09-09  0:43 UTC (permalink / raw)
  To: 23747; +Cc: notmuch

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug present without emacs25 or notmuch
  2016-09-09  0:41 David Bremner
@ 2016-09-09  0:44 ` David Bremner
  0 siblings, 0 replies; 5+ messages in thread
From: David Bremner @ 2016-09-09  0:44 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> [ Unknown signature status ]
>
> I have managed to duplicate (I think) this bug without notmuch or emacs
> 25.
>
> In emacs 24.5.1 (on debian)

Sorry, don't reply to that bugs.debian.org address.

d

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug present without emacs25 or notmuch
  2016-09-09  0:43 bug present without emacs25 or notmuch David Bremner
@ 2017-06-15 16:04 ` David Bremner
  2019-09-23 18:56   ` bug#23747: " Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2017-06-15 16:04 UTC (permalink / raw)
  To: 23747; +Cc: notmuch

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

David Bremner <david@tethera.net> writes:

> 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

I just tried this script in emacs 25.1 (debian) and could not reproduce
the bug. So maybe it's fixed?

d

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug#23747: bug present without emacs25 or notmuch
  2017-06-15 16:04 ` David Bremner
@ 2019-09-23 18:56   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-23 18:56 UTC (permalink / raw)
  To: David Bremner; +Cc: 23747, notmuch

David Bremner <david@tethera.net> writes:

> David Bremner <david@tethera.net> writes:
>
>> 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
>
> I just tried this script in emacs 25.1 (debian) and could not reproduce
> the bug. So maybe it's fixed?

OK; thanks for checking.  I'm closing the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-23 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09  0:43 bug present without emacs25 or notmuch David Bremner
2017-06-15 16:04 ` David Bremner
2019-09-23 18:56   ` bug#23747: " Lars Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2016-09-09  0:41 David Bremner
2016-09-09  0:44 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.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).