GNU bug report logs - #29313
Replace gnus-yes-or-no-p with yes-or-no-p?

Previous Next

Packages: gnus, emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Thu, 16 Nov 2017 01:52:01 UTC

Severity: normal

Tags: wontfix

Found in version 5.13

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 29313 <at> debbugs.gnu.org
Subject: bug#29313: Replace gnus-yes-or-no-p with yes-or-no-p?
Date: Wed, 15 Nov 2017 18:11:04 -0800
Noam Postavsky <npostavs <at> users.sourceforge.net> writes:

> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Gnus has the following defined:
>>
>> (defun gnus-y-or-n-p (prompt)
>>   (prog1
>>       (y-or-n-p prompt)
>>     (message "")))
>>     
>> (defun gnus-yes-or-no-p (prompt)
>>   (prog1
>>       (yes-or-no-p prompt)
>>     (message "")))
>>
>> I wonder if I'm missing something here: for the life of me I can't see
>> how the behavior is different from the built-ins. The built-ins don't
>> put anything in the minibuffer, why would we'd have to blank it? Is this
>> historical?
>
> They put the prompt in the minibuffer, don't they?  (not sure why it's
> important to blank that out though)

Oh! The prompt is *left* in the minibuffer. Of course I figure that out
moments after making the bug report.

Well, at least the functions actually *do* something. Whether that's
worth doing is another question, but I'll leave it for now.




This bug report was last modified 7 years and 247 days ago.

Previous Next


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