From: Roy Smith <roy@panix.com>
Subject: Re: Making M-X compile cache compile command across sessions?
Date: Sun, 29 Jan 2006 08:56:48 -0500 [thread overview]
Message-ID: <roy-8640C6.08564829012006@reader2.panix.com> (raw)
In-Reply-To: mailman.91.1138510309.3044.help-gnu-emacs@gnu.org
In article <mailman.91.1138510309.3044.help-gnu-emacs@gnu.org>,
Ian Zimmerman <nobrowser@gmail.com> wrote:
> Roy> It's a pain to type all this every time I start up a new emacs
> Roy> session. I know I can setq compile-command in my .emacs file, but
> Roy> that's a little too static. It would be cool if emacs wrote the
> Roy> last compile command I used out to a file so it has a persistant
> Roy> cache across emacs sessions. Any way to make it do that?
>
> Use the desktop module and
>
> (add-to-list 'desktop-globals-to-save '(compile-history . 20))
>
> or something similar.
Wow, I'd never heard of desktop before. Sounds like exactly what I'm
looking for, thanks!
next prev parent reply other threads:[~2006-01-29 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 14:22 Making M-X compile cache compile command across sessions? Roy Smith
2006-01-28 0:30 ` Kevin Rodgers
2006-01-29 4:48 ` Ian Zimmerman
[not found] ` <mailman.91.1138510309.3044.help-gnu-emacs@gnu.org>
2006-01-29 13:56 ` Roy Smith [this message]
2006-01-29 18:30 ` Berthold Höllmann
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=roy-8640C6.08564829012006@reader2.panix.com \
--to=roy@panix.com \
/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.