From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: announcing defaults when reading from minibuffer Date: Mon, 29 Aug 2005 04:39:18 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1125307597 28274 80.91.229.2 (29 Aug 2005 09:26:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 09:26:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 11:26:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9fuM-0003vb-Su for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2005 11:26:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9fyR-0001XV-Do for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2005 05:30:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E9fGz-0002xK-SP for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:45:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E9fGy-0002x6-2o for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:45:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9fFU-0002jJ-Fm for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:44:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E9fDT-0000EG-3W for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:42:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1E9fAk-0005B9-6s; Mon, 29 Aug 2005 04:39:18 -0400 Original-To: Emilio Lopes In-reply-to: (message from Emilio Lopes on Sun, 28 Aug 2005 14:23:54 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42471 Archived-At: Thanks for thinking of this. It seems to me that a better place to put this is in the Tips appendix--do you agree? *** tips.texi 11 Aug 2005 15:11:39 -0400 1.69 --- tips.texi 28 Aug 2005 21:07:16 -0400 *************** *** 374,379 **** --- 374,388 ---- with a period. @item + When you mention a default value in a minibuffer prompt, + put it and the word @samp{default} inside parentheses. + It should look like this: + + @example + Enter the answer (default 42): + @end example + + @item In @code{interactive}, if you use a Lisp expression to produce a list of arguments, don't try to provide the ``correct'' default values for region or position arguments. Instead, provide @code{nil} for those