From: Tomas Nordin <tomasn@posteo.net>
To: Jon Fineman <jon@fineman.me>, notmuch@notmuchmail.org
Subject: Re: notmuch-hello-mode-map removed
Date: Sun, 17 Jan 2021 21:43:39 +0100 [thread overview]
Message-ID: <87o8hnb8g4.fsf@posteo.net> (raw)
In-Reply-To: <20210117151620.4aa6bb42@desktop.jonjfineman.com>
Jon Fineman <jon@fineman.me> writes:
> I just upgraded my notmuch library and noticed that per this thread the
> function notmuch-hello-mode-map was removed.
> https://nmbug.notmuchmail.org/nmweb/show/20200726165818.400-14-jonas%40bernoul.li
>
> I had been following this guide to map keys to various notmuch
> functions.
> https://notmuchmail.org/emacstips/#index5h2
>
> For example I have this mapping:
> (define-key notmuch-hello-mode-map "i"
> (lambda ()
> (interactive)
> (notmuch-hello-search "folder:INBOX not tag:deleted")))
>
> Still being very new to emacs and elisp I am having trouble coming up
> with how to replace notmuch-hello-mode-map with another fuction.
I don't think you have to. notmuch-hello-mode-map is a mode-map variable
and your 'define-key' is using it as such. I have a lot of those too and
hope it will continue to work. I think it will remain a mode-map also
after the change communicated in that thread.
next prev parent reply other threads:[~2021-01-17 20:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 20:16 notmuch-hello-mode-map removed Jon Fineman
2021-01-17 20:42 ` David Edmondson
2021-01-17 20:55 ` Jon Fineman
2021-01-17 20:43 ` Tomas Nordin [this message]
2021-01-17 21:06 ` 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=87o8hnb8g4.fsf@posteo.net \
--to=tomasn@posteo.net \
--cc=jon@fineman.me \
--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).