unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* modifying emacs keymap
@ 2009-12-28 21:18 Jameson Graef Rollins
  2009-12-28 22:27 ` Tassilo Horn
  0 siblings, 1 reply; 3+ messages in thread
From: Jameson Graef Rollins @ 2009-12-28 21:18 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Hey, folks.  This is the first in what is surely to be a long line of
requests for help customizing the notmuch emacs UI.

In this episode, I'm trying to add a function to the default keymap in
notmuch-search-mode.  Here's what I tried to do:

(add-hook 'notmuch-search-mode
  (define-key notmuch-search-mode-map "A" 'notmuch-show-mark-read-then-archive-thread)
)

However, when I tried to use it, I got the following error (from *Messages*):

notmuch-show-get-tags: Search failed: "^Lmessage{"

Does anyone know where this error is coming from, and how to get
around it?  I could just be going about modifying the keymap the wrong
way, so if anyone has better suggestions about how to do it, I would
love to hear it.  If there's a different way to *modify* a keymap, as
opposed to adding a key to the map, I would be interested in seeing
that as well.

Thanks for the help.

jamie.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-29  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 21:18 modifying emacs keymap Jameson Graef Rollins
2009-12-28 22:27 ` Tassilo Horn
2009-12-29  0:30   ` Jameson Graef Rollins

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).