From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Notmuch Mail <notmuch@notmuchmail.org>
Subject: (wrong-type-argument keymapp notmuch-show-mode-map) in emacs on upgrade to notmuch from master
Date: Wed, 26 May 2021 21:52:13 -0400 [thread overview]
Message-ID: <87h7ip2baq.fsf@fifthhorseman.net> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1282 bytes --]
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
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2021-05-27 1:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-27 1:52 Daniel Kahn Gillmor [this message]
2021-05-27 2:03 ` (wrong-type-argument keymapp notmuch-show-mode-map) in emacs on upgrade to notmuch from master Daniel Kahn Gillmor
2021-05-27 3:34 ` Kyle Meyer
2021-05-27 14:01 ` Daniel Kahn Gillmor
2021-05-27 14:50 ` David Bremner
2021-05-27 16:58 ` [PATCH] NEWS/emacs: document changes in 0.32 that affect keybindings Daniel Kahn Gillmor
2021-05-27 17:11 ` Tomi Ollila
2021-05-27 21:46 ` Daniel Kahn Gillmor
2021-05-28 20:59 ` Tomi Ollila
2021-05-31 23:27 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7ip2baq.fsf@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).