GNU bug report logs - #19368
25.0.50; NSM prompt is not self-explanatory enough

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 13 Dec 2014 14:40:02 UTC

Severity: minor

Tags: fixed

Found in version 25.0.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 19368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 19368 <at> debbugs.gnu.org
Subject: Re: bug#19368: 25.0.50; NSM prompt is not self-explanatory enough
Date: Sun, 14 Dec 2014 18:02:33 +0200
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 14 Dec 2014 09:12:21 +0100
> 
> Yeah.  But shouldn't we have a general multiple-choice library function
> for these (sort of) extended y-or-n-p functions?
> 
> While writing the NSM function, I was looking around for one, but the
> only thing I found was `gnus-multiple-choice'.  :-)  So I had
> implemented this before.  A call using that function here would be
> 
> (gnus-multiple-choice "Continue connecting?" '((?a "always")
>                                                (?s "session only")
>                                                (?n "no")))
> 
> Or something.  If the user types something else, you get a help buffer
> and stuff.
> 
> Shall I make that into a general function (it needs some tweaking in the
> prompting department)?

Sounds useful, thanks.  Bonus points for optionally popping a dialog
(via x-popup-dialog) when the command was invoked by a mouse.

Btw, if you do that, userlock.el cries for using this functionality,
and likewise hack-local-variables-confirm.




This bug report was last modified 8 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.