all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Zimmerman <nobrowser@gmail.com>
Subject: Re: Making M-X compile cache compile command across sessions?
Date: Sat, 28 Jan 2006 20:48:42 -0800 (PST)	[thread overview]
Message-ID: <87k6cjmyfq.fsf@gmail.com> (raw)
In-Reply-To: <drdaas$89r$1@panix2.panix.com>


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.

-- 
A true pessimist won't be discouraged by a little success.

  parent reply	other threads:[~2006-01-29  4:48 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 [this message]
     [not found] ` <mailman.91.1138510309.3044.help-gnu-emacs@gnu.org>
2006-01-29 13:56   ` Roy Smith
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=87k6cjmyfq.fsf@gmail.com \
    --to=nobrowser@gmail.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.