From: Matus Kmit <simply.nitaai@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Strange behaviour with custom set HOME env variable
Date: Sun, 1 Apr 2012 21:28:19 +0200 [thread overview]
Message-ID: <CALvESw70KjDhK67bQ9rkFeTtwVjvxH=snkwKdeO+tYJmryhsYg@mail.gmail.com> (raw)
Hello everybody
Perhaps someone can help me with the following problem:
I am using the "site-start.el" file to set a custom home environmental
variable ("/home/nimaai/Dropbox/emacs/emacs-home-dir") before loading
the .emacs file. This home variable points to a Dropbox folder where
the .emacs file is located which I share between different machines.
The home variable seems to work as the content of the .emacs file
loads correctly. Visiting the .emacs file with "Find file ~/.emacs"
also works ok but only on the windows machines. On all my linux
machines I am encountering the following phenomenon:
- Visiting the .emacs file gives en error: "Use M-x make-directory RET
RET to create the directory and its parents"
- Trying saving the file sheds then more light about this error:
"basic-save-buffer-2:
/home/nimaai/Dropbox/emacs/emacs-home-dir/Dropbox/emacs/emacs-home-dir/:
no such directory"
I don't know how emacs got this path. It should simply be
"/home/nimaai/Dropbox/emacs/emacs-home-dir/" instead, which is the
value of my home variable set in the "site-start.el" file.
Does anybody have any idea?
Thanks
Matus
next reply other threads:[~2012-04-01 19:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-01 19:28 Matus Kmit [this message]
2012-04-01 23:08 ` Strange behaviour with custom set HOME env variable Peter Dyballa
[not found] ` <CALvESw7MwBnxuCsLcwfRaJu7mhhbP2Q7dOuoKGCaxJmgfCNUKw@mail.gmail.com>
[not found] ` <EF54B51C-1FA4-4E49-9A26-6FF5159C6825@web.de>
[not found] ` <CALvESw4jBbEpERYa+KU-eqWUwX6AXfDF-S0uixqcDmsB8MvJGw@mail.gmail.com>
2012-04-03 6:17 ` Matus Kmit
[not found] ` <DBA85948-AF47-4AEF-B6DC-1EEB98F3FA4E@web.de>
2012-04-03 6:19 ` Matus Kmit
[not found] ` <05D90AA0-EF76-4CEE-BAA8-06E3A7ADCCF7@web.de>
2012-04-08 14:46 ` Matus Kmit
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALvESw70KjDhK67bQ9rkFeTtwVjvxH=snkwKdeO+tYJmryhsYg@mail.gmail.com' \
--to=simply.nitaai@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.