help-gnu-emacs
[Top][All Lists]
Advanced

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

How to travel into the future?


From: Marcin Borkowski
Subject: How to travel into the future?
Date: Tue, 14 Feb 2017 09:54:05 +0100
User-agent: mu4e 0.9.19; emacs 26.0.50.3

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



reply via email to

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