[Pkg-mutt-maintainers] Bug#882351: 'no such function in map' from /etc/Muttrc.d/notmuch.rc

Jonathan Nieder jrnieder at gmail.com
Tue Nov 21 18:21:30 UTC 2017


Package: mutt
Version: 1.9.1-1

Today I updated mutt to 1.9.1-1 (thanks!).  I expect this to be more
familiar to me since I used the mutt package instead of mutt-patched
in the past.

Now when I start mutt I am getting the following messages:

 $ mutt
 Press any key to continue...ch.rc, line 6: change-vfolder: no such function in map
 Error in /etc/Muttrc.d/notmuch.rc, line 9: entire-thread: no such function in map
 Error in /etc/Muttrc.d/notmuch.rc, line 12: modify-labels: no such function in map
 Error in /etc/Muttrc.d/notmuch.rc, line 15: vfolder-from-query: no such function in map
 Error in /usr/lib/mutt/source-muttrc.d|, line 5: source: errors in /etc/Muttrc.d/notmuch.rc
 Error in /etc/Muttrc, line 141: source: errors in /usr/lib/mutt/source-muttrc.d|
 source: errors in /etc/Muttrc

For reference, here are the relevant files. I don't believe I ever
edited them.

I don't use notmuch.rc, so I think I am going to remove that conffile
to work around this, but thought you'd like to know.

Thanks,
Jonathan

$ ls -l /etc/Muttrc /etc/Muttrc.d/
-rw-r--r-- 1 root root 4872 Nov 20 13:38 /etc/Muttrc

/etc/Muttrc.d/:
total 24
-rw-r--r-- 1 root root  410 Dec  9  2014 charset.rc
-rw-r--r-- 1 root root  612 Dec  9  2014 colors.rc
-rw-r--r-- 1 root root  427 Dec  9  2014 compressed-folders.rc
-rw-r--r-- 1 root root 3915 Nov 20 13:38 gpg.rc
-rw-r--r-- 1 root root  486 Jun 25 02:00 notmuch.rc
-rw-r--r-- 1 root root 3832 Jun 25 02:00 smime.rc
$ cat /etc/Muttrc.d/notmuch.rc 
# --------------------------------------------------------------------------
# FUNCTIONS - shown with an example mapping
# --------------------------------------------------------------------------
 
# open a different virtual folder
bind index,pager X change-vfolder
 
# read entire thread of the current message
bind index,pager + entire-thread
 
# modify (notmuch) tags
bind index,pager \` modify-labels
 
# generate virtual folder from query
bind index,pager \eX vfolder-from-query
$ sha256sum /etc/Muttrc
c9a79cb6e01000036acf608bdf5c41e12f5e8b353d77c3c9dde0fe6cdce1074b  /etc/Muttrc
$ dpkg-query -S /etc/Muttrc.d/notmuch.rc 
mutt: /etc/Muttrc.d/notmuch.rc
$ dpkg-deb --fsys-tarfile mutt_1.9.1-1_amd64.deb | tar -tf - ./etc
./etc/
./etc/Muttrc
./etc/Muttrc.d/
./etc/Muttrc.d/charset.rc
./etc/Muttrc.d/colors.rc
./etc/Muttrc.d/compressed-folders.rc
./etc/Muttrc.d/gpg.rc
./etc/Muttrc.d/notmuch.rc
./etc/Muttrc.d/smime.rc
$ sudo dpkg -i --force-confask mutt_1.9.1-1_amd64.deb 
(Reading database ... 338154 files and directories currently installed.)
Preparing to unpack mutt_1.9.1-1_amd64.deb ...
Unpacking mutt (1.9.1-1) over (1.9.1-1) ...
Setting up mutt (1.9.1-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-2) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Processing triggers for man-db (2.7.6.1-2) ...



More information about the Pkg-mutt-maintainers mailing list