help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using only one emacs session


From: Michael Ekstrand
Subject: Re: Using only one emacs session
Date: Fri, 15 May 2009 09:13:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

Francis Moreau <francis.moro@gmail.com> writes:
> On May 15, 1:47 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
>> Am 15.05.2009 um 13:04 schrieb Francis Moreau:
>>
>> > I have a couple of emacs processes, each of them dedicated for a
>> > specific task: for example, emacs #1 is used to work on project #1,
>> > emacs #2 for project #2, emacs #3 used for email, irc...
>>
>> One Emacs with session and desktop loaded will remember a lot of  
>> different compile and other commands ...
>>
>
> hmm how do you tell emacs to use different compile commands for
> different buffers ?

Look at project-root.el (available on EmacsWiki).  It lets you configure
how to define a "project", and then use some trickery based on that to
customize your compile commands (e.g. storing the compile command in a
text file in the project root directory, or having Elisp detect what
kind of project it is and set the compile command appropriately).  There
are probably other solutions as well.

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see <http://www.elehack.net/resources/gpg>.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]