unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to travel into the future?
@ 2017-02-14  8:54 Marcin Borkowski
  2017-02-14  9:05 ` Yuri Khan
  2017-02-14 14:39 ` Drew Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Marcin Borkowski @ 2017-02-14  8:54 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi list,

I'd like to use in my code the M-n facility in history to enable the
user to have access to a reasonable default value, as described in
  (info "(emacs) Minibuffer History").
How should I do it?  Should I use read-string?  If so, do I have to put
the default into the history variable and use the (HISTVAR . POSITION)
argument to read-string?  If so, should I then manually delete the
default (which might have been used or not by the user) from the history
variable afterwards?

Any pointers?

TIA,

--
Marcin Borkowski



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

end of thread, other threads:[~2017-02-14 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14  8:54 How to travel into the future? Marcin Borkowski
2017-02-14  9:05 ` Yuri Khan
2017-02-14 14:39 ` Drew Adams

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