notmuch-mutt: Use of uninitialized value.

Kevin J. McCarthy kevin at 8t8.us
Wed Feb 13 14:35:35 PST 2013


Profpatsch wrote:
> Since I don’t get your bug tracking system (d’oh ;), here is a bug I
> encountered with notmuch-mutt using this macro I guess was from the
> “official” tutorial:
> 
> # Construct a thread ouf of the marked mail (or something like that,
> # doesn’t work atm (errors out))
>     macro index <F9> \
>         "<enter-command>unset wait_key<enter><pipe-message> \
> 	/usr/bin/notmuch-mutt thread<enter><change-folder-readonly> \
> 	~/.cache/notmuch/mutt/results/<enter> \
> 	<enter-command>set wait_key<enter>" \
> 	                "search and reconstruct owning thread (using
> 			notmuch)"
> 
> I hope this still works, best to put it on one line I guess.

Mutt macros can behave strangely if you try to break them into multiple
lines.  So my first suggestion is to try setting your macro to exactly
how it's shown in the tutorial and see if that fixes the problem.  (I
admit that this is not likely your problem though, as notmuch-mutt is
running...)

A more likely idea is to check whether you have $pipe_decode set.
If you have this set, you need to make sure you are not weeding out
message-id with 'ignore'.

In fact, I've just tried this, and I can replicate the problem and exact
error messages with these settings:

  set pipe_decode
  ignore *
  unignore From Date To Cc Bcc Subject

Adding this will fix the problem:
  unignore Message-ID

-Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130213/49002523/attachment.pgp>


More information about the notmuch mailing list