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 E48176DE0EB0 for ; Wed, 18 Mar 2020 02:57:11 -0700 (PDT) Authentication-Results: arlo.cworth.org; dkim=pass (1024-bit key; secure) header.d=kth.se header.i=@kth.se header.b="BI3AI3W1"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.697 X-Spam-Level: X-Spam-Status: No, score=-2.697 tagged_above=-999 required=5 tests=[AWL=-0.195, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, 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 ZGmH1z_aI6zv for ; Wed, 18 Mar 2020 02:57:09 -0700 (PDT) X-Greylist: delayed 464 seconds by postgrey-1.36 at arlo; Wed, 18 Mar 2020 02:57:07 PDT Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by arlo.cworth.org (Postfix) with ESMTPS id C680E6DE09CD for ; Wed, 18 Mar 2020 02:57:07 -0700 (PDT) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id C63B3295B; Wed, 18 Mar 2020 10:49:18 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YluOb95qusq8; Wed, 18 Mar 2020 10:49:18 +0100 (CET) X-KTH-Auth: ekeberg [85.229.200.172] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1584524958; bh=7dN6U+1A+4tAMSJ+aWsU2w99ncWDSrn091anYk/o4rM=; h=From:To:Subject:In-Reply-To:References:Date; b=BI3AI3W1vYdGoiZSfzmk77txNTuroRNW4q0WCmVa69VrnYWRBSmdvkrRajblLmqAF T58J/rScyE4q2whDhYB1dqU48NK9fVAZYt3BPSbpCI7jBe76BdjmLdsV3bvkzYZ+Dx OqBpI8ylWrsXw5VnPXIMsvzuPzQThmbtgsOt7i3s= X-KTH-mail-from: ekeberg@kth.se Received: from swing (c-acc8e555.09-723-73746f39.bbcust.telenor.se [85.229.200.172]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 0DB72296F; Wed, 18 Mar 2020 10:49:14 +0100 (CET) From: =?utf-8?Q?=C3=96rjan?= Ekeberg To: Daniel Kahn Gillmor , Notmuch Mail Subject: =?UTF-8?B?UmU6IG5vdG11Y2gtY3J5cHRvLmVsOiAi4oCYbm90bXVjaC1zaG93?= =?UTF-8?B?LWdldC1tZXNzYWdlLWlk4oCZIGlzIG5vdCBrbm93biB0byBiZSBkZWZpbmVk?= =?UTF-8?B?Ig==?= In-Reply-To: <87wo7igzkn.fsf@fifthhorseman.net> References: <87wo7igzkn.fsf@fifthhorseman.net> Date: Wed, 18 Mar 2020 10:49:14 +0100 Message-ID: <87h7ym2dt1.fsf@swing.csc.kth.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 18 Mar 2020 09:57:12 -0000 Daniel Kahn Gillmor writes: > When building the current version of notmuch on debian testing/unstable, > i see the following warning: > > ``` > EMACS emacs/notmuch-crypto.elc > > In end of data: > emacs/notmuch-crypto.el:266:1:Warning: the function > =E2=80=98notmuch-show-get-message-id=E2=80=99 is not known to be defi= ned. > ``` > > No part of the test suite fails so i assume it's not a problem, but > having spurious warnings makes it harder to notice real warnings in the > future. > > I don't know what the warning means exactly, but maybe someone who is > better with elisp than i am could take a look at it and try to resolve > it? Adding this line in notmuch-crypto.el solves this: (declare-function notmuch-show-get-message-id "notmuch-show" (&optional bar= e)) As a matter of style, I am not sure where to put it. Normally, these declarations are put in the beginning of the file; right after the require-statements. In notmuch-crypto.el, however, the only other declaration is put just in front of where the function is called. /=C3=96rjan