unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: Setting CVSROOT for VC-mode (without .bashrc)
Date: Tue, 18 Mar 2008 22:21:48 +0100	[thread overview]
Message-ID: <8763vjwwwj.fsf@kamaloka.dhatu> (raw)

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

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     : 
| Working dir: ~/aktuell/
| 
| 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. 

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

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

             reply	other threads:[~2008-03-18 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 21:21 Sven Bretfeld [this message]
2008-03-18 22:26 ` Setting CVSROOT for VC-mode (without .bashrc) Peter Dyballa
2008-03-19  0:50   ` Johan Lindström
2008-03-19  2:08     ` Lennart Borgman (gmail)
2008-03-19 22:56     ` Sven Bretfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763vjwwwj.fsf@kamaloka.dhatu \
    --to=sven.bretfeld@gmx.ch \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).