[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build: epa-mail

From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: epa-mail
Date: Sat, 18 May 2019 10:33:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> In epa-mail-decrypt:
> epa-mail.el:72:4:Warning: ‘epa-decrypt-armor-in-region’ is 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...

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]