From: Markus Dehmann <markus.dehmann@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Restore minibuffer history, e.g. for compile commands, after restart?
Date: Sun, 9 Dec 2007 09:38:22 -0800 (PST) [thread overview]
Message-ID: <655ccf70-6a77-4e8d-a4ad-7624435466d9@d61g2000hsa.googlegroups.com> (raw)
In-Reply-To: mailman.4784.1197177791.18990.help-gnu-emacs@gnu.org
On Dec 9, 12:22 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > > How can I keep the history of minibuffer commands, e.g. the compile
> > > commands?
>
> > The package is called `savehist'.
> > Emacs-22 bundles it so you can just add (savehist-mode 1) to your .emacs.
>
> And here is the same thing (CVS from 2007-11-28), but fixed so it also works
> with Emacs versions prior to 22.1, if you should need that:http://www.emacswiki.org/cgi-bin/wiki/savehist-20%2b.el
Thanks! I have emacs 21.3.1. I installed the package and it works!
There is just one bug, and I thought I'd share it here, maybe others
experience the same: If I do M-x compile and go arrow-up to get the
most recent command it says "no preceding item", then I go "arrow-
down" and "arrow-up" again, and there it is, the most recent compile
command, from my last emacs run. Or, once I have several in the list
it won't show the most recent one on "arrow-up", but the next-to-last
one, then after pressing "arrow-down" it shows the most recent one.
Thanks!
Markus
next parent reply other threads:[~2007-12-09 17:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4784.1197177791.18990.help-gnu-emacs@gnu.org>
2007-12-09 17:38 ` Markus Dehmann [this message]
2007-12-09 18:39 ` Restore minibuffer history, e.g. for compile commands, after restart? Drew Adams
[not found] <mailman.4805.1197225563.18990.help-gnu-emacs@gnu.org>
2007-12-13 15:11 ` Markus Dehmann
2007-12-13 18:17 ` Drew Adams
2007-12-08 6:07 Markus Dehmann
2007-12-09 3:28 ` Stefan Monnier
2007-12-09 5:22 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=655ccf70-6a77-4e8d-a4ad-7624435466d9@d61g2000hsa.googlegroups.com \
--to=markus.dehmann@gmail.com \
--cc=help-gnu-emacs@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 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.