unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; doc for read-from-minibuffer
@ 2008-05-01 20:51 Drew Adams
  2008-05-02  1:05 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2008-05-01 20:51 UTC (permalink / raw)
  To: emacs-pretest-bug

Arg DEFAULT can now be a list. This is not reflected in the doc string.
 
And the Elisp manual doc is not clear about what happens with non-nil
READ and list-valued DEFAULT:
 
 If READ is non-`nil', then DEFAULT is also used as the input to
     `read', if the user enters empty input.
 
Does this mean the whole list DEFAULT is passed to `read'.
 
Allow me to mention also that letting DEFAULT be a list also breaks
code that I have, FWIW...
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-04-19 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 23.0.60; doc for read-from-minibuffer
  2008-05-01 20:51 23.0.60; doc for read-from-minibuffer Drew Adams
@ 2008-05-02  1:05 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2008-05-02  1:05 UTC (permalink / raw)
  To: Drew Adams; +Cc: emacs-pretest-bug

> Arg DEFAULT can now be a list. This is not reflected in the doc string.

Thanks, I updated the doc strings.

> And the Elisp manual doc is not clear about what happens with non-nil
> READ and list-valued DEFAULT:
>
>  If READ is non-`nil', then DEFAULT is also used as the input to
>      `read', if the user enters empty input.
>
> Does this mean the whole list DEFAULT is passed to `read'.

This is now documented in the Elisp manual.

> Allow me to mention also that letting DEFAULT be a list also breaks
> code that I have, FWIW...

This is now mentioned in the Incompatible Lisp Changes section of NEWS.

-- 
Juri Linkov
http://www.jurta.org/emacs/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-02  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 20:51 23.0.60; doc for read-from-minibuffer Drew Adams
2008-05-02  1:05 ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).