unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes?
@ 2010-03-10 20:19 Mark R Anderson
  2010-03-10 22:01 ` James Vasile
  0 siblings, 1 reply; 3+ messages in thread
From: Mark R Anderson @ 2010-03-10 20:19 UTC (permalink / raw)
  To: notmuch

I have added several keys to the search and show keymaps in my .emacs
file, but when my hook for notmuch-folder-mode generates warnings.

I'm not sure exactly when the error happens, it may just be the compile
phase of reading the .emacs file, my ELisp is pretty shaky.

(add-hook 'notmuch-folder-mode
  (define-key motmuch-folder-mode-map "k" 'notmuch-folder-previous)
  (define-key notmuch-folder-mode-map "j" 'notmuch-folder-next)
  (define-key notmuch-folder-mode-map "F" 'notmuch-folder)
)


emacs *Warnings*:
------
Warning (initialization): An error occurred while loading `/home/manderso/.emacs':

Symbol's value as variable is void: motmuch-folder-mode-map

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.
------

I'm not sure why this one is so different from the other modes, any
suggestions?

Thanks,
-Mark

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

* Re: Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes?
  2010-03-10 20:19 Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes? Mark R Anderson
@ 2010-03-10 22:01 ` James Vasile
  2010-03-10 23:40   ` Mark Anderson
  0 siblings, 1 reply; 3+ messages in thread
From: James Vasile @ 2010-03-10 22:01 UTC (permalink / raw)
  To: Mark R Anderson, notmuch

You have a typo: mot-much-folder-mode-map should be
notmuch-folder-mode-map.  (s/motmuch/notmuch/)

On Wed, 10 Mar 2010 13:19:09 -0700, Mark R Anderson <MarkR.Anderson@amd.com> wrote:
> I have added several keys to the search and show keymaps in my .emacs
> file, but when my hook for notmuch-folder-mode generates warnings.
> 
> I'm not sure exactly when the error happens, it may just be the compile
> phase of reading the .emacs file, my ELisp is pretty shaky.
> 
> (add-hook 'notmuch-folder-mode
>   (define-key motmuch-folder-mode-map "k" 'notmuch-folder-previous)
>   (define-key notmuch-folder-mode-map "j" 'notmuch-folder-next)
>   (define-key notmuch-folder-mode-map "F" 'notmuch-folder)
> )
> 
> 
> emacs *Warnings*:
> ------
> Warning (initialization): An error occurred while loading `/home/manderso/.emacs':
> 
> Symbol's value as variable is void: motmuch-folder-mode-map
> 
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
> ------
> 
> I'm not sure why this one is so different from the other modes, any
> suggestions?
> 
> Thanks,
> -Mark
> 
> 
> 
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

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

* Re: Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes?
  2010-03-10 22:01 ` James Vasile
@ 2010-03-10 23:40   ` Mark Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Anderson @ 2010-03-10 23:40 UTC (permalink / raw)
  To: James Vasile, notmuch@notmuchmail.org

On Wed, 10 Mar 2010 16:01:28 -0600, James Vasile <james@hackervisions.org> wrote:
> You have a typo: mot-much-folder-mode-map should be
> notmuch-folder-mode-map.  (s/motmuch/notmuch/)

Wow, how long can you stare at something and not see the obvious?

Thanks,
-Mark

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

end of thread, other threads:[~2010-03-10 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 20:19 Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes? Mark R Anderson
2010-03-10 22:01 ` James Vasile
2010-03-10 23:40   ` Mark Anderson

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