From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65099 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Do we need gnus-yes-or-no-p and gnus-y-or-n-p? Date: Wed, 29 Aug 2007 20:24:48 +0200 Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188412983 31392 80.91.229.12 (29 Aug 2007 18:43:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 18:43:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13610@lists.math.uh.edu Wed Aug 29 20:43:00 2007 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 1IQSVC-0002ir-Lb for ding-account@gmane.org; Wed, 29 Aug 2007 20:42:54 +0200 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 1IQSU7-0003uC-0K; Wed, 29 Aug 2007 13:41:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IQSU5-0003tx-OG for ding@lists.math.uh.edu; Wed, 29 Aug 2007 13:41:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IQSU1-00009c-Vq for ding@lists.math.uh.edu; Wed, 29 Aug 2007 13:41:45 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IQSU0-0005PS-00 for ; Wed, 29 Aug 2007 20:41:40 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.1/8.14.1) with ESMTP id l7TIfdZe012149 for ; Wed, 29 Aug 2007 20:41:39 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id E047C12C7D for ; Wed, 29 Aug 2007 20:41:38 +0200 (CEST) X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-DCC-CTc-dcc2-Metrics: poseidon 1031; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65099 Archived-At: Hi, do we really need gnus-yes-or-no-p and gnus-y-or-n-p? They are there since almost forever. From the comment, I'd guess it could have been a workaround for a bug in the corresponding Emacs functions. ,----[ 3.1 (larsi 04-Mar-97) ] | ;; Two silly functions to ensure that all `y-or-n-p' questions clear | ;; the echo area. | (defun gnus-y-or-n-p (prompt) | (prog1 | (y-or-n-p prompt) | (message ""))) | | (defun gnus-yes-or-no-p (prompt) | (prog1 | (yes-or-no-p prompt) | (message ""))) `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/