bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34726: epa-insert-keys


From: Lars Ingebrigtsen
Subject: bug#34726: epa-insert-keys
Date: Wed, 26 Aug 2020 13:21:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

>     rms> I think we should include a cleaned-up and clarified version
>     rms> of this table in those two commands' doc strings.
>
> Thatʼs not a path Iʼd want to go down. The gpg documentation is long
> and complex, because itʼs a complex program. Attempting to summarise
> it in a few docstrings will result in incomplete or possibly incorrect
> information, Iʼd rather people read the original.

That's true, but epg already does an interpretation of those status
characters and then fontifies the buffer based on them:

(defvar epg-key-validity-alist
  '((?o . unknown)
    (?i . invalid)
    (?d . disabled)
    (?r . revoked)
    (?e . expired)
    (?- . none)
    (?q . undefined)
    (?n . never)
    (?m . marginal)
    (?f . full)
    (?u . ultimate)))

To not then actually tell the users what we've interpreted the
characters to means just seems odd.

I've now changed this in Emacs 28 so that hovering over the character
says what the validity is (i.e., the help-echo property).

-- 
(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]