unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* One-off history for read-string
@ 2015-09-24 12:10 Marcin Borkowski
  2015-09-24 15:47 ` Stefan Monnier
  2015-09-25  0:34 ` Emanuel Berg
  0 siblings, 2 replies; 15+ messages in thread
From: Marcin Borkowski @ 2015-09-24 12:10 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

I need to call read-string with some history.  From the docs (and
experiments) I assume that the HISTORY parameter should be a symbol and
not e.g. a literal list.  However, I don't really need to /save/ the
input I get into the history, since each time I use read-string, the
history is regenerated anyway from external source (I'm working on
a client for certain web service, and the history is kept on the server,
so it really doesn't make sense to keep all those in my Emacs session.)

Is it fine to use a temporary, let-bound variable name as the HISTORY
parameter, or is there a better way for a "history" I only need to read
from, not to write to?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

end of thread, other threads:[~2015-09-28  0:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 12:10 One-off history for read-string Marcin Borkowski
2015-09-24 15:47 ` Stefan Monnier
2015-09-24 16:27   ` Marcin Borkowski
2015-09-24 17:04     ` Drew Adams
2015-09-25  0:34 ` Emanuel Berg
2015-09-25  7:16   ` Marcin Borkowski
2015-09-26  2:02     ` Emanuel Berg
2015-09-26  2:33       ` John Mastro
2015-09-26  2:47         ` Emanuel Berg
2015-09-26  7:46           ` Marcin Borkowski
2015-09-27  1:20             ` Emanuel Berg
2015-09-27  6:02               ` Marcin Borkowski
2015-09-27 23:14                 ` Emanuel Berg
2015-09-28  0:50             ` Stefan Monnier
2015-09-26  7:46         ` Marcin Borkowski

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).