Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: xemacs-beta@xemacs.org, ding@gnus.org, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <v93art2is3.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <b4m4pdp6ygf.fsf@jpl.org> (Katsumi Yamaoka's message of "Tue, 08 Jan 2008 07:52:00 +0900")

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	other threads:[~2008-02-16 12:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-29 18:24 Reiner Steib
2007-12-14 21:09 ` Reiner Steib
2007-12-17  1:44   ` Katsumi Yamaoka
2007-12-17  2:26     ` Katsumi Yamaoka
2007-12-18 23:01     ` Katsumi Yamaoka
2007-12-19  2:37       ` Katsumi Yamaoka
2008-01-05 20:46         ` Reiner Steib
2008-01-06  0:21           ` Katsumi Yamaoka
2008-01-06  9:25             ` Reiner Steib
2008-01-07  6:33               ` Katsumi Yamaoka
2008-01-07  6:34                 ` Katsumi Yamaoka
2008-01-07 17:16                   ` Richard Stallman
2008-01-07 22:52                     ` Katsumi Yamaoka
2008-02-16 12:22                       ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v93art2is3.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=xemacs-beta@xemacs.org \
    --cc=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).