From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eKsdIz6hBGCVVQAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 20:42:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qITSHj6hBGAKHwAAbx9fmQ (envelope-from ) for ; Sun, 17 Jan 2021 20:42:38 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0D4EB9402D4 for ; Sun, 17 Jan 2021 20:42:38 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B365D29D1B; Sun, 17 Jan 2021 15:42:32 -0500 (EST) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by mail.notmuchmail.org (Postfix) with ESMTPS id 23B4628C8F for ; Sun, 17 Jan 2021 15:42:30 -0500 (EST) Received: by mail-wm1-x32c.google.com with SMTP id j18so849364wmi.3 for ; Sun, 17 Jan 2021 12:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=EhiMgWBbf7hhy77aMvS8MX0rlgQP4kC+fZP2+Fk6ZfI=; b=KPWIMnzlKx8nSK57fSHptQzd70+SmZ28QWp8aFj9blB2E6RlxIFKTmlhor2dURyw/4 +tA69B67XNZbgUOUe+JM0GbsD33M8svKZ+/47lxKh/dKGRZFirjh89OEedZJNlFQy6sh 3zIthm/AlskcPrAclAid5SK1d1LyR1NQuWIIv0daown9ETAsV8GwFYsXOkCwLCjinA/g aNOg1wKeIPLN7+a36q/CWc2WB5f91+53UPd4jBLlAk86XK7/fbH647xawgJIa5XHWxtM LZ8f6Rk3uPGPpDVFFGVsfwYfrdj4afR/Ax/v8mIbS8Uxd+rD9P+zCbPUD3H4QmsLe29x WxeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=EhiMgWBbf7hhy77aMvS8MX0rlgQP4kC+fZP2+Fk6ZfI=; b=Ck1go2vUrQka7zfrvY3gd6cpXE60Ky3oLfyFRCLG2sq7DVDYcuxkHpZol7dHiT2wWK KsJFatv0vktkQ9I/3CcEJYwlRJqFcA34VeZHBlJVzu2aFwQwx0Z1qsvTKn7V0FPuHRaJ D1OfHYkLWOcoQN7Rih7LBcoIRzxhMcxZsYS2Dk2Wz8ITIC6FhWaZR/fO0pr/tv2zwagD z3QeVpsrqBLgzi0tb/SaPuDvwOS2fxL+R+fWuW9jzxJlcaQj1hnE5t8383lUTu+UdTog QA/j/icX+UvvJia3tqxWuus/UPxN+NyKJN/BatMhlX2JcksTz8UKkZBsCqg35ZKiJYx4 nLCA== X-Gm-Message-State: AOAM533x/JEF+oPSuMcJMP+irHnkfaxGIO1SX44+7YYotmURJ6ZQmjNr 6U60WgugRPzaifDOGqdpXimCbYDW78lrX7HU X-Google-Smtp-Source: ABdhPJzRC7HryZvMYKToIlMogsViiSLmVs6+olRlwaEAyYhUIcAurja4xci+uaP2RuHyPktc+Ro0Ag== X-Received: by 2002:a1c:2d48:: with SMTP id t69mr17475167wmt.124.1610916148225; Sun, 17 Jan 2021 12:42:28 -0800 (PST) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [2001:8b0:bb71:7140:64::1]) by smtp.gmail.com with ESMTPSA id x66sm21873547wmg.26.2021.01.17.12.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 12:42:27 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id c7952c06; Sun, 17 Jan 2021 20:42:27 +0000 (UTC) To: Jon Fineman , notmuch@notmuchmail.org Subject: Re: notmuch-hello-mode-map removed In-Reply-To: <20210117151620.4aa6bb42@desktop.jonjfineman.com> References: <20210117151620.4aa6bb42@desktop.jonjfineman.com> X-HGTTG: zarquon From: David Edmondson Date: Sun, 17 Jan 2021 20:42:27 +0000 Message-ID: MIME-Version: 1.0 Message-ID-Hash: GME2Q3HHKT3J6X6OH5XVAJN5KFVB6OYX X-Message-ID-Hash: GME2Q3HHKT3J6X6OH5XVAJN5KFVB6OYX X-MailFrom: dme@dme.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dme-org.20150623.gappssmtp.com header.s=20150623 header.b=KPWIMnzl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0D4EB9402D4 X-Spam-Score: -0.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: DfmLF3sp15Gl On Sunday, 2021-01-17 at 15:16:20 -05, Jon Fineman wrote: > I just upgraded my notmuch library and noticed that per this thread the > function notmuch-hello-mode-map was removed. > https://nmbug.notmuchmail.org/nmweb/show/20200726165818.400-14-jonas%40bernoul.li > > I had been following this guide to map keys to various notmuch > functions. > https://notmuchmail.org/emacstips/#index5h2 > > For example I have this mapping: > (define-key notmuch-hello-mode-map "i" > (lambda () > (interactive) > (notmuch-hello-search "folder:INBOX not tag:deleted"))) Use "notmuch-search" rather than "notmuch-hello-search" here. > Still being very new to emacs and elisp I am having trouble coming up > with how to replace notmuch-hello-mode-map with another fuction. > > Any help would be appreciated. > > Thanks. > > Jon > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org dme. -- Paris and London, baby, you can keep.