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 at 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 at notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch