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: How to pre-load compile command history? Date: Wed, 16 Nov 2011 12:16:22 -0500 Message-ID: <1DC1329F-218F-4086-9C0C-3A2A4D56289A@panix.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321464769 12272 80.91.229.12 (16 Nov 2011 17:32:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2011 17:32:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 16 18:32:42 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 1RQjLi-0005bd-8D for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2011 18:32:38 +0100 Original-Received: from localhost ([::1]:43965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQjLh-0006p0-Kw for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2011 12:32:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQj67-0003YT-9l for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 12:16:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQj61-0002ff-88 for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 12:16:31 -0500 Original-Received: from mailbackend.panix.com ([166.84.1.89]:60294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQj61-0002fQ-6F for help-gnu-emacs@gnu.org; Wed, 16 Nov 2011 12:16:25 -0500 Original-Received: from sullivan.lic.songza.com (unknown [66.114.87.114]) by mailbackend.panix.com (Postfix) with ESMTP id 729E528955; Wed, 16 Nov 2011 12:16:23 -0500 (EST) X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 166.84.1.89 X-Mailman-Approved-At: Wed, 16 Nov 2011 12:32:33 -0500 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:82928 Archived-At: I'm running GNU Emacs 23.1.1. In my init.el file, I set my default = compile command: (global-set-key "\C-cm" 'compile) (setq compile-command "cd /home/roy/songza/code/radio/api/mobile/test; = python test_api.py") That works fine, but now I've got several different commands that I run = often. Is there some way to pre-load them into the compile history, so = I can just do c-c m, then up-arrow though the history to pick the one I = want? --- Roy Smith roy@panix.com