[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19368: 25.0.50; NSM prompt is not self-explanatory enough
From: |
Lars Ingebrigtsen |
Subject: |
bug#19368: 25.0.50; NSM prompt is not self-explanatory enough |
Date: |
Fri, 05 Feb 2016 14:35:13 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> To reproduce:
>
> emacs -Q
> M-x eww RET www.google.com RET
> Click on the "Sign in" link
>
> The NSM shows a buffer with description of why it failed to verify the
> certificate of accounts.google.com, and prompts in the minibuffer like
> this:
>
> Continue connecting? (No, Session only, Always)
>
> It expects me to press either N, S, or A, but that is not clear enough
> from the prompt.
>
> I suggest to change the prompt to something like this:
>
> Continue connecting? ([N]o, [S]ession only, [A]lways)
>
> Alternatively, the first letter could be underlined (assuming we can
> rely on every supported terminal to be able to display underlined
> characters).
This has now been fixed, and it's using read-multiple-choice, which
makes the character choices underline and bold on graphical systems, and
"[l]ike this" on non-graphical ones.
Some terminals do have the capability to underline and bold stuff, but
have nil (display-graphic-p), right? Is there a way to determine
whether we're running on one of those terminals? Because
underlining/bolding is prettier than [t]his.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug#19368: 25.0.50; NSM prompt is not self-explanatory enough, Lars Ingebrigtsen, 2016/02/04
bug#19368: 25.0.50; NSM prompt is not self-explanatory enough, Lars Ingebrigtsen, 2016/02/04