From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the keymap is implemented Date: Wed, 28 Sep 2022 16:38:38 -0400 Message-ID: References: <166438787034.3914.5858408463434087870@vcs2.savannah.gnu.org> <20220928175750.D5B2CC00615@vcs2.savannah.gnu.org> <8735cb2uni.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11494"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Protesilaos Stavrou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 28 23:17:22 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odeQk-0002oS-7E for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Sep 2022 23:17:22 +0200 Original-Received: from localhost ([::1]:52358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odeQi-0004Y4-Pk for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Sep 2022 17:17:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oddpR-0006sk-Nn for emacs-devel@gnu.org; Wed, 28 Sep 2022 16:38:49 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oddpO-0008Em-91 for emacs-devel@gnu.org; Wed, 28 Sep 2022 16:38:47 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E483B441AFA; Wed, 28 Sep 2022 16:38:42 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AF752441AC2; Wed, 28 Sep 2022 16:38:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1664397521; bh=1/r5pBJqLUVl/QWukyFqJWxZmLHLqzGKfW4iPLU3Z0U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=f0vDjXPjlaxD7R2fXIPI+Hrfg5ua0bS4axbj0xGyqHholBUtnI0bYUcKWHwexDhAp v52jiQMm7bw2h+TcdZwlUDw56gNDehYxiAC3JUwFpDACK9Wg2f5FAFPgjJUhyHspYK Kad1JgEMtVFH2UDk4FQYS+8rQfVuEdh6S7Krl/Diof1etOa28b/3zqCdTy3AYVr8nC BfZdi/eIAlVC01nuJVfCOLUeYKTNovSF9WVbrLwsd3wX2GB7pS1+8XcrVRLY0bUUJz zuykmOBd4uR1c9yHzi64JGdNv7N5uQRNVTbGBq32Ik0R/3o+QBbVhdcDPo00DJ3hN6 N12/G9OkzM+JQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3E781120E91; Wed, 28 Sep 2022 16:38:41 -0400 (EDT) In-Reply-To: <8735cb2uni.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Wed, 28 Sep 2022 21:58:25 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296422 Archived-At: Here's another trivial simplification (more specifically an =CE=B7-reductio= n). Stefan diff --git a/notmuch-indicator.el b/notmuch-indicator.el index 07ada7aec8..7680ccdc3d 100644 --- a/notmuch-indicator.el +++ b/notmuch-indicator.el @@ -199,8 +199,7 @@ option `notmuch-indicator-refresh-count'." (defun notmuch-indicator--return-count () "Parse `notmuch-indicator-args' and format them as single string." (mapconcat - (lambda (props) - (notmuch-indicator--format-output props)) + #'notmuch-indicator--format-output notmuch-indicator-args "")) =20 (defvar notmuch-indicator-string ""