From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: epa-mail Date: Sat, 18 May 2019 10:33:38 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="240356"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 18 10:33:53 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRumu-0010PU-Gl for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 10:33:52 +0200 Original-Received: from localhost ([127.0.0.1]:59366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRumt-0006cA-HE for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 04:33:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRumn-0006by-Hm for emacs-devel@gnu.org; Sat, 18 May 2019 04:33:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRumm-00026h-Ho for emacs-devel@gnu.org; Sat, 18 May 2019 04:33:45 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:49870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRumm-00025n-8I for emacs-devel@gnu.org; Sat, 18 May 2019 04:33:44 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hRumg-0006FS-Bk for emacs-devel@gnu.org; Sat, 18 May 2019 10:33:42 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUUGgcoKw8SDgNpZCoc IQw2NhQYSfM4AAACXklEQVQ4jXVTS3bjIBBECtqnHXov85QDJIQ9raC9Mer7X2WqpYnfZGbSfpZs iv5UFThfHyH4lq//7r/xI+ANeEqy4+HKW5m22yPFAMRnOiOX4MoXsGHhQFNPSRG/gR/aP37lljg1 4kSsmv7IkP2opmevb6XSB1am/i/wnaHzYy0g6jlQJaLoJIwHwWF8XfFehKyrLrOU8dBqjMO6RsSi 2lRllRaiFwOWOMbZC3XlrlR7bgsFA+I8jsuG7UQalmvPgZgAzIsbd9RHB2rctpTRTnfnoZlwRuuU GmsD/RCQ6qa9hoEzBkp48DO2t2rA0y6Mutrt0/V5S9oCMt3T+3ZsTpgVWqBHyqRW6nIl7gbwYQem xnhbcMM6czOl0RabG8qDxZmxbYRhbR3kiWoIwrtljMMzP4CAPU3Aw42HTRjGnMgggoY2LjJcNIoH gIl6ynxMdXcxCmY9rcsvoEmo6MYLtHWs6QFwA/tgLWDHoJmzAW9WxjNKuUP4gVUqd6gLZUkIpWw9 RlcHFk5amQQpCh7Tel3jQiR89GgvyQAYNd1f75HfVL8ATHXreXef78gAi/xyAnZUWkfzz3t0kT44 n/x2T6ZwglbWPATVM+Mm2jMlALXM0dewnRlpf1VjruQGqt67+gDgZ1twttxQtzZ73c6pMqzVLLDN TbfpFifki8JfteNlk6HUBbIbUIQgH5dGhyxuuywhXkG2Sql+IMF+sQy3Xvd4DS4U74PgEO52HAH4 eL1BxNkXH+xWDOa5ZpRaF/gxx6Hg5nu4iWuFI44btS6n8LM7vakUyPwo8a8476b8AssrvmAiL2Vx AAAAAElFTkSuQmCC In-Reply-To: (Lars Ingebrigtsen's message of "Fri, 17 May 2019 04:50:54 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236708 Archived-At: Lars Ingebrigtsen writes: > In epa-mail-decrypt: > epa-mail.el:72:4:Warning: =E2=80=98epa-decrypt-armor-in-region=E2=80=99 i= s for interactive use > only. [...] > ;;;###autoload > (defun epa-mail-verify () > "Verify OpenPGP cleartext signed messages in the current buffer. > The buffer is expected to contain a mail message." > (declare (interactive-only t)) > (interactive) > (epa-verify-cleartext-in-region (point-min) (point-max))) > > `epa-verify-cleartext-in-region' is defined as interactive-only. > > I suggest that the -in-region function have the interactive spec > removed. Any objections? Or! Perhaps there should be no warning on calling an interactive-only function from a function that's also marked as interactive-only? These are usually just shims around the former... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no