From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: HIST to read-from-minibuffer
Date: Sat, 22 May 2010 21:25:14 +0100 [thread overview]
Message-ID: <xbai632fn0ph.fsf@cam.ac.uk> (raw)
Hello,
I am trying to read a string with a hist variable. I want the default to
be the first element of the hist variable and the history to start from
the SECOND element.
I can seem to get the behaviour I want with '(hist . 1) but not '(hist .
2). However the doc string says:
"positions are counted starting from 1 at the beginning of the list"
This looks contradictory to the behaviour I observed. Is this a mistake
on my understand or the doc string? Thanks.
Leo
next reply other threads:[~2010-05-22 20:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-22 20:25 Leo [this message]
2010-05-25 16:09 ` HIST to read-from-minibuffer Juri Linkov
2010-05-25 16:37 ` Leo
2010-05-25 17:54 ` Juri Linkov
2010-05-25 18:20 ` Leo
2010-05-26 3:52 ` Leo
2010-05-30 18:45 ` Juri Linkov
2010-05-31 11:52 ` Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xbai632fn0ph.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).