From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Setting CVSROOT for VC-mode (without .bashrc) Date: Tue, 18 Mar 2008 22:21:48 +0100 Message-ID: <8763vjwwwj.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1205875427 8886 80.91.229.12 (18 Mar 2008 21:23:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2008 21:23:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 22:24:15 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 1JbjI6-000510-Ce for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 22:24:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbjHW-0003TS-9l for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 17:23:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbjG3-0002fc-GX for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 17:22:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbjFy-0002dK-GX for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 17:22:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbjFy-0002dE-8j for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 17:22:02 -0400 Original-Received: from viefep18-int.chello.at ([213.46.255.22] helo=viefep23-int.chello.at) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbjFx-0001dK-Px for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 17:22:02 -0400 Original-Received: from kamaloka.dhatu ([80.219.162.86]) by viefep23-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080318212153.GAXB17086.viefep23-int.chello.at@kamaloka.dhatu> for ; Tue, 18 Mar 2008 22:21:53 +0100 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:52504 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable Hi to all Due to an unknown reason Emacs (23.0.50.1) doesn't recognize my environment variables when started via Icon or start-menu. I use one CVS repository for all my work, and it's specified in ~/.bashrc. The VC mode is working as expected if I start Emacs from the bash. However, when started in the "common" ways under X (Icon, KDE-Menu, kicker), Emacs behaves like this: M-x cvs-update RET ~/aktuell/ RET ,---- | Repository : ????? | Module :=20 | Working dir: ~/aktuell/ |=20 | Message: cvs [update aborted]: or set the CVSROOT environment variable. | Message: cvs update: No CVSROOT specified! Please use the `-d' option `---- I have my primary Debian Etch machine newly installed on Sunday. It worked before, when I used exactly the same configuration (same OS, same Emacs version, same Emacs-init-file, same .bashrc). I have two other PCs running Debian with exactly the same configuration. One of them shows the same behavior. The other one does alright. So, this seems to be a somewhat arbitrary behavior.=20 I got help from the German Debian mailing list but with no solution so far. ~/.bashrc, ~/.bash_profile and /etc/kde3/kdm/Xsession seem to be alright. Is there a way to specify CVSROOT in the .emacs? That will be a workaround, but I have found no hints in the manual. It seems to consider the environment variables to be read by Emacs. Or, are there any other ideas? Greetings Sven --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH4DJwV5JTHLAduAYRAnAyAKC82z9cHjd2WBP5ooc4++uIhLVuAQCgnViW j3zfM6sXX7TP4JWK/XqaoxM= =/jz/ -----END PGP SIGNATURE----- --=-=-=--