Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8E2044916B2 for ; Wed, 10 Mar 2010 14:01:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.219 X-Spam-Level: X-Spam-Status: No, score=-0.219 tagged_above=-999 required=5 tests=[AWL=-0.320, BAYES_50=0.001, RDNS_DYNAMIC=0.1] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X4TsfjAWBgqz for ; Wed, 10 Mar 2010 14:01:55 -0800 (PST) Received: from hackervisions.org (67-207-143-141.slicehost.net [67.207.143.141]) by olra.theworths.org (Postfix) with ESMTP id 016974916B1 for ; Wed, 10 Mar 2010 14:01:54 -0800 (PST) Received: from john-marshall.sflc.info ([216.27.154.200] helo=localhost) by hv with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NpTyD-0001IH-08; Wed, 10 Mar 2010 17:01:37 -0500 From: James Vasile To: Mark R Anderson , notmuch@notmuchmail.org In-Reply-To: <3wdvdd4hqv6.fsf@testarossa.amd.com> References: <3wdvdd4hqv6.fsf@testarossa.amd.com> Date: Wed, 10 Mar 2010 17:01:28 -0500 Message-ID: <871vfrj0p3.fsf@hackervisions.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Any idea why my emacs doesn't want to accept my notmuch-folder keymap changes? X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 22:01:55 -0000 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 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