From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Lindström Newsgroups: gmane.emacs.help Subject: Re: Setting CVSROOT for VC-mode (without .bashrc) Date: Wed, 19 Mar 2008 00:50:22 +0000 Message-ID: References: <8763vjwwwj.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: ger.gmane.org 1205887835 18438 80.91.229.12 (19 Mar 2008 00:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 00:50:35 +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 Mar 19 01:51:02 2008 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 1JbmWD-00089l-W6 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 01:51:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbmVe-000710-64 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 20:50:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbmVO-00070v-Tx for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:50:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbmVM-00070L-J3 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:50:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbmVM-00070I-Dp for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:50:08 -0400 Original-Received: from mail1.melmac.se ([194.23.215.40]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JbmVM-0005p1-EX for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:50:08 -0400 Original-Received: (qmail 17710 invoked by uid 89); 19 Mar 2008 00:50:06 -0000 Original-Received: from 87-194-221-83.bethere.co.uk (HELO JpL.DarSerMan.com) (johanl@darserman.com@87.194.221.83) by mail1.melmac.se with ESMTPA; 19 Mar 2008 00:50:06 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 In-Reply-To: Original-References: <8763vjwwwj.fsf@kamaloka.dhatu> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:52509 Archived-At: At 22:26 2008-03-18, Peter Dyballa wrote: >>Is there a way to specify CVSROOT in the .emacs? > > (setenv "CVSROOT" "/some/value") Export environment vars to a running Emacs server http://www.shellarchive.co.uk/emacs.html#sec15 Do stuff (like exporting env vars) when cd-ing into a directory (like your different branches, eh?) http://www.shellarchive.co.uk/shell.html#sec16 Very clever. Very useful. /J