emacs-devel
[Top][All Lists]
Advanced

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

Re: Do we need gnus-yes-or-no-p and gnus-y-or-n-p?


From: Reiner Steib
Subject: Re: Do we need gnus-yes-or-no-p and gnus-y-or-n-p?
Date: Sat, 16 Feb 2008 13:22:04 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux)

On Mon, Jan 07 2008, Katsumi Yamaoka wrote:

>>>>>> Richard Stallman wrote:
[ `y-or-n-p' doesn't clear the echo area after user input ]
>> It is intentional.
>
> Reiner> In contrast to yes-or-no-p it is much easier to type y, n,
> Reiner> SPC, DEL, etc accidentally, so it might be useful for the user
> Reiner> to see what he has typed.
>
>> Yes, that is the reason.
>
> Thanks for enlightening me.  This has dispelled my long-standing
> doubt that the Lisp programs[1] that clear the echo area are few
> except for the ones of Gnus (and emacs-w3m).  I agree with not
> deleting on purpose the question and the answer that `y-or-n-p'
> displays.  Though this doesn't mean changing my sense of beauty.
> I.e., I don't like it.

I'd suggest to keep
  (defalias 'gnus-y-or-n-p 'y-or-n-p)
  (defalias 'gnus-yes-or-no-p 'yes-or-no-p)
for some weeks and replace the callers[1] with `yes-or-no-p' and
`y-or-n-p' unless there are strong objections.

Bye, Reiner.

[1]
gnus/lisp$ grep -nH -e gnus-yes-or-no-p *.el|wc -l
22

gnus/lisp$ grep -nH -e gnus-y-or-n-p *.el|wc -l
34
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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