From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Ekstrand Newsgroups: gmane.emacs.help Subject: Re: Using only one emacs session Date: Fri, 15 May 2009 09:13:44 -0500 Organization: Aioe.org NNTP Server Message-ID: <87preaihd3.fsf@jehiel.elehack.net> References: <042f0d6f-5784-4670-a716-c62a1cf0d25c@n8g2000vbb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1242398552 28232 80.91.229.12 (15 May 2009 14:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2009 14:42:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 15 16:42:25 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4ycC-0004UW-Ci for geh-help-gnu-emacs@m.gmane.org; Fri, 15 May 2009 16:42:24 +0200 Original-Received: from localhost ([127.0.0.1]:57402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4ycB-0002l0-Ss for geh-help-gnu-emacs@m.gmane.org; Fri, 15 May 2009 10:42:23 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news.ecp.fr!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 3k4OpuCxx2rBT/R1RUDefw.user.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.7.9 Cancel-Lock: sha1:AqlI8VeiohtDgn4E/GolIreoFrM= sha1:uOB0rIaiz1uJ7Yb5mayf98EsAZM= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:169204 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64468 Archived-At: Francis Moreau writes: > On May 15, 1:47 pm, Peter Dyballa 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 .