all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8085: 24.0.50; (emacs) Minibuffer History
@ 2011-02-20  3:52 Drew Adams
  2011-02-27 22:11 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2011-02-20  3:52 UTC (permalink / raw)
  To: 8085

This part of the node (second sentence) is not quite correct:
 
"A history list is actually a symbol, not a list; it is a variable whose
value is a list of strings (previous inputs), most recent first."
 
That's true except for one exception AFAIK (are there others?):
`command-history'.  It's value is a list of sexps, not a list of
strings.
 
I don't know what the best bug fix is.  Dunno whether this should be
mentioned or not, but it is not really the case that the HISTORY arg to
`read-from-minibuffer' and `completing-read' must be a variable whose
value is a list of strings.  This is a bit surprising, but a list of
non-strings also "works" in some ways.
 
Maybe this should be passed over in silence - dunno.
 
 
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-02-14 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 






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

* bug#8085: 24.0.50; (emacs) Minibuffer History
  2011-02-20  3:52 bug#8085: 24.0.50; (emacs) Minibuffer History Drew Adams
@ 2011-02-27 22:11 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-02-27 22:11 UTC (permalink / raw)
  To: Drew Adams; +Cc: 8085

"Drew Adams" <drew.adams@oracle.com> writes:

> "A history list is actually a symbol, not a list; it is a variable whose
> value is a list of strings (previous inputs), most recent first."
>
> That's true except for one exception AFAIK (are there others?):
> `command-history'.  It's value is a list of sexps, not a list of
> strings.

The sentence is referring to minibuffer history lists; command-history
is not one.  I've tweaked the documentation to make this clearer.





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

end of thread, other threads:[~2011-02-27 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-20  3:52 bug#8085: 24.0.50; (emacs) Minibuffer History Drew Adams
2011-02-27 22:11 ` Chong Yidong

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.