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

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

bug#29313: Replace gnus-yes-or-no-p with yes-or-no-p?


From: Eric Abrahamsen
Subject: bug#29313: Replace gnus-yes-or-no-p with yes-or-no-p?
Date: Wed, 15 Nov 2017 18:11:04 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <address@hidden> writes:

> Eric Abrahamsen <address@hidden> 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.





reply via email to

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