From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 474D46DE0946 for ; Wed, 25 Oct 2017 04:38:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.661 X-Spam-Level: X-Spam-Status: No, score=-0.661 tagged_above=-999 required=5 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2wWuT0tHVg0R for ; Wed, 25 Oct 2017 04:38:39 -0700 (PDT) X-Greylist: delayed 306 seconds by postgrey-1.36 at arlo; Wed, 25 Oct 2017 04:38:38 PDT Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by arlo.cworth.org (Postfix) with ESMTPS id 9CE866DE0222 for ; Wed, 25 Oct 2017 04:38:38 -0700 (PDT) Received: from [192.168.178.30] ([95.91.214.27]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MXIGf-1ddm4Y0Ik9-00WExH for ; Wed, 25 Oct 2017 13:33:27 +0200 To: notmuch@notmuchmail.org From: =?UTF-8?Q?J=c3=bcrgen_Beier?= Subject: Newbie question defining deleted map Message-ID: <2f88b09d-902a-4ce3-2ce0-f25ca5434ecb@gmx.de> Date: Wed, 25 Oct 2017 13:33:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K0:aQFiV2N2CRi46l9rOg3YNc+KJUZRdV078cLS9vxd0wCKNXznL/T Jn5p5o/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/yB0= X-Mailman-Approved-At: Wed, 25 Oct 2017 09:31:07 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 25 Oct 2017 11:38:40 -0000 Hi, I am trying to set up notmuch-emacs. I found the advice in the faq to define an key map "d" to add a "deleted tag" to the mail to be used in the notmuch message mode. I put according to the advice the following in my .emacs file: (define-key notmuch-show-mode-map "d"     (lambda ()       (interactive)        (notmuch-show-tag "+deleted"))) and I get the following error: Warning (initialization): An error occurred while loading `/home/beier/.emacs': Symbol's value as variable is void: notmuch-show-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. Doing this I get the following: Debugger entered--Lisp error: (void-variable notmuch-show-mode-map)   (define-key notmuch-show-mode-map "d" (function (lambda nil (interactive) (notmuch-show-tag "+deleted"))))   eval-buffer(# nil "/home/beier/.emacs" nil t)  ; Reading at buffer position 17386   load-with-code-conversion("/home/beier/.emacs" "/home/user/.emacs" t t)   load("~/.emacs" t t) [...] [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()   command-line()   normal-top-level() I am using: GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)  of 2017-09-20 on lcy01-07, modified by Debian Could you give me some advice? Thank you. Juergen