From: giampi <giampisalvi@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: directory specific configuration
Date: Tue, 21 Jul 2009 08:48:21 -0700 (PDT) [thread overview]
Message-ID: <24590342.post@talk.nabble.com> (raw)
In-Reply-To: <87zlayvyx3.fsf@sphinx.net.ru>
Hi,
thanks Thierry and Dmitry for your fast answers.
To Thierry: I'll probably use you solution for the time being, but I would
prefer not to add emacs specific lines in the files. I co-author them with
colleagues using other editors (I know they are comment lines that do not
cause problems for others, but it would be cleaner to avoid them).
To Dmitry: directory variables seem to do exactly what I need. A drawback is
that I need to change my "global local" ~/.emacs for each directory I add.
The scenario I'm thinking about is checking out the .tex files from an svn
repository and get the configuration I need with them (regardless of the
computer I'm sitting at). In this scenario it is not easy to automatically
change the ~/.emacs file, and even if I change it manually, it is not
possible to include the changes in svn.
In a perfect world, at least IMHO, emacs would read by default a local
.emacs file, if existent, on opening any file. All the configurations would
therefore be local to that directory. I'm not sure if this would slow down
opening a file.
Is there anything like that?
Thanks again,
Giampiero
--
View this message in context: http://www.nabble.com/directory-specific-configuration-tp24585256p24590342.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next prev parent reply other threads:[~2009-07-21 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2911.1248187239.2239.help-gnu-emacs@gnu.org>
2009-07-21 15:16 ` directory specific configuration Pascal J. Bourguignon
2009-07-21 15:27 ` Dmitry Dzhus
2009-07-21 15:48 ` giampi [this message]
[not found] ` <mailman.2919.1248191311.2239.help-gnu-emacs@gnu.org>
2009-07-22 7:13 ` Peter Brett
[not found] ` <mailman.2916.1248190162.2239.help-gnu-emacs@gnu.org>
2009-07-22 8:58 ` Pascal J. Bourguignon
2009-07-21 10:30 giampi
2009-07-21 15:02 ` Thierry Volpiatto
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=24590342.post@talk.nabble.com \
--to=giampisalvi@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.
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).