From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to pre-load compile command history? Date: Wed, 16 Nov 2011 11:08:47 -0800 Message-ID: References: <1DC1329F-218F-4086-9C0C-3A2A4D56289A@panix.com> <3135048E86744BFC9C3BAFA295F56AED@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321470545 26671 80.91.229.12 (16 Nov 2011 19:09:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2011 19:09:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Roy Smith'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 16 20:09:02 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 1RQkqz-0008U7-Qj for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2011 20:09:01 +0100 Original-Received: from localhost ([::1]:53889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQkqz-0005hy-9i for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2011 14:09:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQkqv-0005ht-5c for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 14:08:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQkqu-0007Rr-Ba for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 14:08:57 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:61383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQkqu-0007Rh-39 for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 14:08:56 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pAGJ8rUU019250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Nov 2011 19:08:54 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pAGJ8qnC026163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Nov 2011 19:08:52 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pAGJ8kwb006123; Wed, 16 Nov 2011 13:08:46 -0600 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 16 Nov 2011 11:08:46 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acykjqu1c4Qvaov4TtKHCoGVDiOUYgAA+w/Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090201.4EC40A46.0037,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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:82932 Archived-At: > 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.