From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66068 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general 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 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199687673 18152 80.91.229.12 (7 Jan 2008 06:34:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 06:34:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14561@lists.math.uh.edu Mon Jan 07 07:34:53 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBlZS-000660-S2 for ding-account@gmane.org; Mon, 07 Jan 2008 07:34:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JBlYE-0005ai-PH; Mon, 07 Jan 2008 00:33:34 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JBlYC-0005aV-4B for ding@lists.math.uh.edu; Mon, 07 Jan 2008 00:33:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JBlYA-0000AP-KL for ding@lists.math.uh.edu; Mon, 07 Jan 2008 00:33:32 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JBlYA-0003EY-00 for ; Mon, 07 Jan 2008 07:33:30 +0100 Original-Received: from [66.225.201.151] (port=58687 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1JBlXx-0000Wp-Vi for ding@gnus.org; Mon, 07 Jan 2008 00:33:21 -0600 X-Hashcash: 1:20:080107:ding@gnus.org::KMNVw+wV4+ECci62:00000Vra X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:T1ESlgu09jALyURmJV5K/4hSP8s= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66068 Archived-At: >>>>> 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 [...] * 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