From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42436 Path: main.gmane.org!not-for-mail From: Nicolas Kowalski Newsgroups: gmane.emacs.gnus.general Subject: Re: Error with topic Date: Tue, 22 Jan 2002 19:17:28 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177673 11365 80.91.224.250 (21 Oct 2002 05:21:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:21:13 +0000 (UTC) Return-Path: Original-Received: (qmail 24801 invoked from network); 22 Jan 2002 18:18:18 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 22 Jan 2002 18:18:18 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16T5UT-00079I-00; Tue, 22 Jan 2002 12:17:49 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 22 Jan 2002 12:17:44 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA05553 for ; Tue, 22 Jan 2002 12:17:29 -0600 (CST) Original-Received: (qmail 24750 invoked by alias); 22 Jan 2002 18:17:30 -0000 Original-Received: (qmail 24745 invoked from network); 22 Jan 2002 18:17:30 -0000 Original-Received: from imag.imag.fr (129.88.30.1) by gnus.org with SMTP; 22 Jan 2002 18:17:30 -0000 Original-Received: from ormelune.imag.fr (ormelune.imag.fr [129.88.43.35]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g0MIHTj24829; Tue, 22 Jan 2002 19:17:29 +0100 (MET) Original-Received: from anie.imag.fr.imag.fr (anie [129.88.43.111]) by ormelune.imag.fr (8.10.2+Sun/jtpda-5.3.3) with SMTP id g0MIHDq11199 ; Tue, 22 Jan 2002 19:17:14 +0100 (MET) Original-To: ding@gnus.org X-Face: #v^9{p"~.e3TDs~r\ (Lars Magne Ingebrigtsen's message of "Tue, 22 Jan 2002 19:14:30 +0100") Original-Lines: 45 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.1 (Capitol Reef, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42436 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42436 Lars Magne Ingebrigtsen writes: > Nicolas Kowalski writes: > >> completing-read("Move to topic: " (("Perso" "perso.bzh" "perso.famille" "perso.misc" "perso.solene") ("VERIMAG" "verimag.achats" "verimag.log" "verimag.misc" "verimag.security" "verimag.www") ("Lists" "list.debian.french" "list.freebsd.french" "list.gnus.ding" "list.guilde" "list.rsync" "list.samba") ("Misc" "INBOX" "nndraft:drafts") ("Gnus")) nil t nil gnus-topic-history nil) > > Isn't that about the same number of parameters that the > `completing-read' function takes? > > (completing-read PROMPT TABLE &optional PREDICATE REQUIRE-MATCH INITIAL-CONTENTS HISTORY DEFAULT) > > What's the description of your `completing-read'? Seems like `DEFAULT' is not included... Here it is : `completing-read' is a compiled Lisp function -- loaded from "/home/dres/xemacs21/xemacs21-21.1.10/lisp/minibuf.elc" (completing-read PROMPT TABLE &optional PREDICATE REQUIRE-MATCH INITIAL-CONTENTS HISTORY) Documentation: Read a string in the minibuffer, with completion. Args: PROMPT, TABLE, PREDICATE, REQUIRE-MATCH, INITIAL-CONTENTS, HISTORY. PROMPT is a string to prompt with; normally it ends in a colon and a space. TABLE is an alist whose elements' cars are strings, or an obarray. PREDICATE limits completion to a subset of TABLE. See `try-completion' for more details on completion, TABLE, and PREDICATE. If REQUIRE-MATCH is non-nil, the user is not allowed to exit unless the input is (or completes to) an element of TABLE or is null. If it is also not t, Return does not exit if it does non-null completion. If INITIAL-CONTENTS is non-nil, insert it in the minibuffer initially. If it is (STRING . POSITION), the initial input is STRING, but point is placed POSITION characters into the string. HISTORY, if non-nil, specifies a history list and optionally the initial position in the list. It can be a symbol, which is the history list variable to use, or it can be a cons cell (HISTVAR . HISTPOS). In that case, HISTVAR is the history list variable to use, and HISTPOS is the initial position (the position in the list which INITIAL-CONTENTS corresponds to). If HISTORY is `t', no history will be recorded. Positions are counted starting from 1 at the beginning of the list. Completion ignores case if the ambient value of `completion-ignore-case' is non-nil.