unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* failure in emacs notmuch-show: notmuch-show--register-cids: Wrong type argument: char-or-string-p, nil
@ 2020-12-31 23:44 Daniel Kahn Gillmor
  2021-01-02  9:47 ` Jonas Bernoulli
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Kahn Gillmor @ 2020-12-31 23:44 UTC (permalink / raw)
  To: Notmuch Mail


[-- Attachment #1.1: Type: text/plain, Size: 1568 bytes --]

I'm trying to look at an encrypted+signed PGP/MIME message in emacs.

it's in a thread with other signed messages.

but none of the contents of the message show up, and *Messages* buffer
says:

    notmuch-show--register-cids: Wrong type argument: char-or-string-p, nil

If i position the cursor in the notmuch show buffer where the message
would be, and try to reply to it, i end up composing a reply to the
previous message in the thread.

My elisp is too weak to know how to debug this well.  suggestions
welcome!

I should note that interacting with the message via the command line
shows no apparent problems.

not sure whether this is useful, but the structure of the message looks
like this:

~~~
0 dkg@alice:~$ notmuch show --decrypt=false --format=raw id:$messageid  | email-print-mime-structure --use-gpg-agent
└┬╴multipart/encrypted 27703 bytes
 ├─╴application/pgp-encrypted 11 bytes
 └─╴application/octet-stream inline [encrypted.asc] 23828 bytes
  ↧ (decrypts to)
  └┬╴multipart/mixed 26085 bytes
   ├─╴text/plain 1028 bytes
   └┬╴message/rfc822 attachment [attachment.eml] 24707 bytes
    └─╴text/plain 24510 bytes
0 dkg@alice:~$ 
~~~

The "attachment.eml" subtree, fwiw, is a forwarded message that i
already have a copy of in my local message store, and is part of the
same thread.  Maybe that has something to do with it?  I'm grasping at
straws here.

Any help would be appreciated, it'd be nice to be able to easily read
and reply to this message!

      --dkg

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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2021-01-10 18:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-31 23:44 failure in emacs notmuch-show: notmuch-show--register-cids: Wrong type argument: char-or-string-p, nil Daniel Kahn Gillmor
2021-01-02  9:47 ` Jonas Bernoulli
2021-01-03  5:33   ` Daniel Kahn Gillmor
2021-01-03 18:31     ` [PATCH] emacs/notmuch-show: Work around errors where a part lacks a content-type Daniel Kahn Gillmor
2021-01-03 20:06       ` Tomi Ollila
2021-01-04 21:07         ` Jonas Bernoulli
2021-01-05 22:00           ` Daniel Kahn Gillmor
2021-01-10 18:38             ` Jonas Bernoulli

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).