unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting the compile-command history in dotel files
@ 2008-03-05 16:54 Taylor Jones
  2008-03-05 17:00 ` Peter Dyballa
  2008-03-05 17:35 ` Joel J. Adamson
  0 siblings, 2 replies; 3+ messages in thread
From: Taylor Jones @ 2008-03-05 16:54 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

Currently I do M-x compile, type a custom compile command, then later do M-x
compile and run a different compile command. Then later I can do M-x compile
M-p to cycle through the history ring of previous compile commands. What I
would like to do is set this history ring upon startup though my dotel file.
Is this possible? Currently all I can do is set one compile command with

(custome-set-variables '(compile-command "compile_command_1"))

I tried playing with setting compile-command to a list of strings, but
couldn't get anything to work.

[-- Attachment #2: Type: text/html, Size: 585 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Setting the compile-command history in dotel files
  2008-03-05 16:54 Setting the compile-command history in dotel files Taylor Jones
@ 2008-03-05 17:00 ` Peter Dyballa
  2008-03-05 17:35 ` Joel J. Adamson
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2008-03-05 17:00 UTC (permalink / raw)
  To: Taylor Jones; +Cc: help-gnu-emacs


Am 05.03.2008 um 17:54 schrieb Taylor Jones:

> What I would like to do is set this history ring upon startup  
> though my dotel file.


Session.el keeps the compile history in an "external" file ...

--
Greetings

   Pete

One cannot live by television, video games, top ten CDs, and dumb  
movies alone.
				– Amiri Baraka, 1999







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Setting the compile-command history in dotel files
  2008-03-05 16:54 Setting the compile-command history in dotel files Taylor Jones
  2008-03-05 17:00 ` Peter Dyballa
@ 2008-03-05 17:35 ` Joel J. Adamson
  1 sibling, 0 replies; 3+ messages in thread
From: Joel J. Adamson @ 2008-03-05 17:35 UTC (permalink / raw)
  To: Taylor Jones; +Cc: help-gnu-emacs

"Taylor Jones" <taylor.jones@gmail.com> writes:

> Currently I do M-x compile, type a custom compile command, then later do M-x
> compile and run a different compile command. Then later I can do M-x compile
> M-p to cycle through the history ring of previous compile commands. What I
> would like to do is set this history ring upon startup though my dotel file.
> Is this possible? Currently all I can do is set one compile command with
>
> (custome-set-variables '(compile-command "compile_command_1"))
>
> I tried playing with setting compile-command to a list of strings, but
> couldn't get anything to work.

Have you considered setting up make targets instead of typing a "custom
command?"

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-05 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 16:54 Setting the compile-command history in dotel files Taylor Jones
2008-03-05 17:00 ` Peter Dyballa
2008-03-05 17:35 ` Joel J. Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).