emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: announcing defaults when reading from minibuffer


From: Richard M. Stallman
Subject: Re: announcing defaults when reading from minibuffer
Date: Mon, 29 Aug 2005 04:39:18 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]