From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Re: How to pre-load compile command history? Date: Wed, 16 Nov 2011 20:11:55 -0500 Message-ID: <470FA279-20E0-439A-8D02-9E514A3DF204@panix.com> References: <1DC1329F-218F-4086-9C0C-3A2A4D56289A@panix.com> <3135048E86744BFC9C3BAFA295F56AED@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321492328 14840 80.91.229.12 (17 Nov 2011 01:12:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2011 01:12:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 17 02:12:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RQqWI-00009N-GK for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Nov 2011 02:12:02 +0100 Original-Received: from localhost ([::1]:41890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQqWH-000059-Qe for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2011 20:12:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQqWE-00004y-1m for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 20:11:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQqWC-000319-UZ for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 20:11:57 -0500 Original-Received: from mailbackend.panix.com ([166.84.1.89]:62100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQqWC-000313-Jn for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 20:11:56 -0500 Original-Received: from [10.0.1.14] (ool-457b1082.dyn.optonline.net [69.123.16.130]) by mailbackend.panix.com (Postfix) with ESMTP id 06E7228F4F; Wed, 16 Nov 2011 20:11:56 -0500 (EST) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 166.84.1.89 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82936 Archived-At: 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.=20 >> (setq compile-history (cons '("..." "..."))) >=20 > Try this: >=20 > (setq compile-history > '("cd /home/roy/songza/pyza/djapi; python test_api.py"=20 > "cd /home/roy/songza/code/radio/api/mobile/test; python = test_api.py")) >=20 > Then use `M-p' to cycle backward through the history. >=20 -- Roy Smith roy@panix.com