Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Do we need gnus-yes-or-no-p and gnus-y-or-n-p?
Date: Mon, 07 Jan 2008 15:33:15 +0900	[thread overview]
Message-ID: <b4my7b2w3f8.fsf@jpl.org> (raw)
In-Reply-To: <v9wsqni9vb.fsf@marauder.physik.uni-ulm.de>

>>>>> Reiner Steib wrote:
> On Sun, Jan 06 2008, Katsumi Yamaoka wrote:
>> `y-or-n-p' leaves the question and the answer in the echo area
>> is not intentional.

> Maybe, maybe not.

Maybe no one can answer that it is intentional or not.

> I could imagine that it is intentional: In contrast
> to yes-or-no-p it is much easier to type y, n, SPC, DEL, etc
> accidentally, so it might be useful for the user to see what he has
> typed.

I admit that there is some truth in what you wrote.

> Do you or anyone have real life examples (in Gnus) where leaving the
> message in the echo area after `(gnus-)y-or-n-p' is confusing?

Maybe it's a matter of a sense of beauty.  You don't mind it, but
I do.  And Lars might have felt it like me, too.  Here is a
ChangeLog entry for ding Gnus v0.29[1]:

Tue Feb 28 00:25:04 1995  Lars Ingebrigtsen  <lars (at) eyesore.no>
[...]
	* gnus.el: All y-or-n-p's and yes-or-no-p's delete their messages
	from the echo area.

(At that time, the latest released version of Emacs was 19.28.
 IIRC, there is no difference in the behavior of `y-or-n-p'
 between 19.28 and the recent ones.  Although I believe
 `gnus-yes-or-no-p' was useless even then.)

>> If anything, we may call it a bug.

> If so, it would be a general bug in (X)Emacs and should be fixed
> there, not in Gnus, IMHO.

But if it's a bug and even if it is fixed, we still have to support
old Emacsen.

> Would you like to ask if it's intentional on emacs-devel/xemacs-beta?

Yes, I'll do it.

[1] You can find it in:
    ftp://ftp.gnus.org/pub/gnus/old/dgnus-0.30.tar.gz



  reply	other threads:[~2008-01-07  6:33 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 [this message]
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

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=b4my7b2w3f8.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.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).