all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v9642y8ahb.fsf@marauder.physik.uni-ulm.de>
     [not found] ` <v9y7bxq8zn.fsf@marauder.physik.uni-ulm.de>
     [not found]   ` <b4m63yygknt.fsf@jpl.org>
     [not found]     ` <b4mprx3zjyi.fsf@jpl.org>
     [not found]       ` <b4mve6ve7er.fsf@jpl.org>
     [not found]         ` <v9odc0q9v9.fsf@marauder.physik.uni-ulm.de>
     [not found]           ` <b4mzlvjolbi.fsf@jpl.org>
     [not found]             ` <v9wsqni9vb.fsf@marauder.physik.uni-ulm.de>
     [not found]               ` <b4my7b2w3f8.fsf@jpl.org>
2008-01-07  6:34                 ` Do we need gnus-yes-or-no-p and gnus-y-or-n-p? 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.