From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37011 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-delay.el: let Gnus remind you of action items Date: Sat, 21 Jul 2001 23:29:34 -0400 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035172502 11633 80.91.224.250 (21 Oct 2002 03:55:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:55:02 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 23862 invoked from network); 22 Jul 2001 03:29:34 -0000 Original-Received: from mesquite.slip.cs.cmu.edu (HELO cinnamon.vanillaknot.com) (128.2.207.11) by gnus.org with SMTP; 22 Jul 2001 03:29:34 -0000 Original-Received: (from karl@localhost) by cinnamon.vanillaknot.com (8.11.2/8.11.2) id f6M3TZC04791; Sat, 21 Jul 2001 23:29:35 -0400 Original-To: ding@gnus.org X-Face: ?=p^Gj2JkX~UU_@W}[q/'Dxn19x-zfIQ](y<&ky/?1-&Nz&,!W}R.Gp+"LeGojoR =RF>?!XVs{a:`Yt(gqM<#$Zy(C@]'dR4Hy4S1.I(n3:2"R:=Uy!)K9>U!gNTyH{p +_w#F[gt).$Vyvo5=9LF^PeQ(@H#}QLAbfyYxX/8t:TDR5nA\|RmJO"EwjL8tWyvM In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sat, 21 Jul 2001 23:49:38 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Developer-Friendly Unix APIs) Original-Lines: 28 Xref: main.gmane.org gmane.emacs.gnus.general:37011 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37011 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > What do you all think? In principle, marvelous. In practice... Signaling: (wrong-number-of-arguments read-string 5) read-string("Length of delay (default `3d'): " nil nil "3d" nil) (list (read-string (format "Length of delay (default `%s'): " gnus-delay-default-delay) nil nil gnus-delay-default-delay nil)) call-interactively(gnus-delay-article) Under XEmacs 21.4, doc string for read-string: | (read-string PROMPT &optional INITIAL-CONTENTS HISTORY DEFAULT-VALUE) | | Documentation: | Return a string from the minibuffer, prompting with string PROMPT. | If non-nil, optional second arg INITIAL-CONTENTS is a string to insert | in the minibuffer before reading. | Third arg HISTORY, if non-nil, specifies a history list. | Fourth arg DEFAULT-VALUE is the default value. If non-nil, it is used | for history command, and as the value to return if the user enters the | empty string. Having just checked on XEmacs 21.1.14, I see it lacks even the DEFAULT-VALUE parameter. Perhaps use INITIAL-CONTENTS instead? Also, I'd like the ability to specify minutes, hours, months, and years. (Yes, really.)