all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roy Smith <roy@panix.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to pre-load compile command history?
Date: Wed, 16 Nov 2011 20:11:55 -0500	[thread overview]
Message-ID: <470FA279-20E0-439A-8D02-9E514A3DF204@panix.com> (raw)
In-Reply-To: <B2AED0B528B74EC392A3E3704076C0E5@us.oracle.com>

Yup, that did it.  Exactly what I was looking for!  Much obliged.


On Nov 16, 2011, at 2:08 PM, Drew Adams wrote:

>> The following doesn't seem to work. 
>> (setq compile-history (cons '("..." "...")))
> 
> Try this:
> 
> (setq compile-history
>      '("cd /home/roy/songza/pyza/djapi; python test_api.py" 
>        "cd /home/roy/songza/code/radio/api/mobile/test; python test_api.py"))
> 
> Then use `M-p' to cycle backward through the history.
> 


--
Roy Smith
roy@panix.com






  reply	other threads:[~2011-11-17  1:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 17:16 How to pre-load compile command history? Roy Smith
2011-11-16 17:54 ` Drew Adams
2011-11-16 18:36   ` Roy Smith
2011-11-16 19:08     ` Drew Adams
2011-11-17  1:11       ` Roy Smith [this message]
2011-11-16 19:58 ` Tom

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=470FA279-20E0-439A-8D02-9E514A3DF204@panix.com \
    --to=roy@panix.com \
    --cc=drew.adams@oracle.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.