I just tried to upgrade notmuch to the head of development. my ~/.emacs contains a stanza for a shortcut for dealing with junk mail, which has given me no problems at all for notmuch 0.31.4-1:
--------- ;; notmuch junk handling (defun dkg-notmuch-show-handle-junk () "Mark the message as spam, archive the thread, and display the next thread." (interactive) (notmuch-show-tag-all '("-inbox" "+spam")) (notmuch-show-next-thread t)) (define-key 'notmuch-show-mode-map "j" 'dkg-notmuch-show-handle-junk) --------- After the upgrade, though, if i restart emacs, i get a failure when loading my ~/.emacs: Debugger entered--Lisp error: (wrong-type-argument keymapp notmuch-show-mode-map) define-key(notmuch-show-mode-map "j" dkg-notmuch-show-handle-junk) eval-buffer(#<buffer *load*> nil "/home/dkg/.emacs" nil t) ; Reading at buffer position 23847 load-with-code-conversion("/home/dkg/.emacs" "/home/dkg/.emacs" t t) load("~/.emacs" noerror nomessage) startup--load-user-init-file(#f(compiled-function () #<bytecode 0x157b2d94c735>) #f(compiled-function () #<bytecode 0x157b2d94c675>) t) command-line() normal-top-level() I'll try downgrading again to see what's replicable, but i'm kind of confused by this, as it's been working for years. --dkg
signature.asc
Description: PGP signature
_______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org