From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: .emacs-settings.el
Date: Thu, 06 Sep 2007 21:11:51 -0500 [thread overview]
Message-ID: <m2r6lbns0o.fsf@lifelogs.com> (raw)
In-Reply-To: 87vean5wpl.fsf@jurta.org
On Fri, 07 Sep 2007 00:07:50 +0300 Juri Linkov <juri@jurta.org> wrote:
>> I think you've missed the difference between a hidden file anywhere in
>> the directory tree and in a well-known location. We're talking about a
>> {project,dir-locals}.el file that in /a, /a/b, /a/b/c, or /a/b/c/d could
>> affect the settings for /a/b/c/d/* and every file under that. You'd
>> have to do a `find` to get all the hidden files (or some equivalent
>> shell game). That's what I mean by "suprising" and "hidden." Only a
>> few applications put such hidden settings files outside the home
>> directory, I can think only of the CVS .cvsignore and Subversion .svn
>> directories at the moment. Emacs doesn't do that AFAIK, so it would be
>> at least a little surprising to current users. I personally think it
>> would be a bad design decision.
JL> I think this problem can be completely mitigated exactly with the same
JL> solution you already proposed, i.e. C-h v and customize-variable should
JL> say that the variable's value is overridden by .project.el or .settings.el
JL> (like C-h f says that the function is advised).
That would be fine with me. A user-visible message would also be very
useful. I'm really just trying to avoid the debugging sessions I can
imagine ensuing from a hidden file that overrides a few local settings.
With these two safeguards (C-h v/customize-variable plus decent
messaging) I think the risk is much smaller.
Ted
next prev parent reply other threads:[~2007-09-07 2:11 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 10:46 .emacs-settings.el Robert J. Chassell
2007-09-05 14:27 ` .emacs-settings.el Davis Herring
2007-09-06 14:29 ` .emacs-settings.el Juri Linkov
2007-09-06 15:23 ` .emacs-settings.el Robert J. Chassell
2007-09-06 15:36 ` .emacs-settings.el Ted Zlatanov
2007-09-06 16:04 ` .emacs-settings.el Michaël Cadilhac
2007-09-06 16:48 ` .emacs-settings.el Ted Zlatanov
2007-09-06 19:34 ` .emacs-settings.el David Kastrup
2007-09-06 20:21 ` .emacs-settings.el Ted Zlatanov
2007-09-06 21:07 ` .emacs-settings.el Juri Linkov
2007-09-07 2:11 ` Ted Zlatanov [this message]
2007-09-06 23:55 ` .emacs-settings.el Stefan Monnier
2007-09-07 2:18 ` .emacs-settings.el Ted Zlatanov
2007-09-07 2:54 ` .emacs-settings.el Miles Bader
2007-09-07 4:03 ` .emacs-settings.el Stefan Monnier
2007-09-07 12:03 ` .emacs-settings.el Ted Zlatanov
2007-09-07 6:19 ` .emacs-settings.el David Kastrup
2007-09-07 11:56 ` .emacs-settings.el Ted Zlatanov
2007-09-07 15:49 ` .emacs-settings.el Davis Herring
2007-09-06 20:39 ` .emacs-settings.el Robert J. Chassell
2007-09-06 21:00 ` .emacs-settings.el Ted Zlatanov
2007-09-07 6:31 ` .emacs-settings.el Richard Stallman
2007-09-07 12:09 ` .emacs-settings.el Ted Zlatanov
2007-09-06 20:22 ` .emacs-settings.el Robert J. Chassell
2007-09-06 20:10 ` .emacs-settings.el Tom Tromey
2007-09-06 20:51 ` .emacs-settings.el Ted Zlatanov
2007-09-07 17:40 ` .emacs-settings.el Stefan Monnier
2007-09-08 17:47 ` .emacs-settings.el Tom Tromey
2007-09-08 19:19 ` .emacs-settings.el T. V. Raman
2007-09-08 22:17 ` .emacs-settings.el Tom Tromey
2007-09-08 23:11 ` .emacs-settings.el Juri Linkov
2007-09-08 23:09 ` .emacs-settings.el Tom Tromey
2007-09-09 1:28 ` .emacs-settings.el T. V. Raman
2007-09-09 8:09 ` .emacs-settings.el David Kastrup
2007-09-10 22:21 ` .emacs-settings.el Davis Herring
2007-09-09 20:06 ` .emacs-settings.el Stefan Monnier
2007-09-10 14:08 ` .emacs-settings.el Ted Zlatanov
2007-09-12 8:46 ` .emacs-settings.el Richard Stallman
2007-09-07 19:53 ` .emacs-settings.el Richard Stallman
2007-09-06 20:08 ` .emacs-settings.el Tom Tromey
2007-09-06 20:50 ` .emacs-settings.el Juri Linkov
2007-09-07 17:43 ` .emacs-settings.el Stefan Monnier
2007-09-07 19:53 ` .emacs-settings.el Richard Stallman
2007-09-08 17:43 ` .emacs-settings.el Tom Tromey
2007-09-06 20:58 ` .emacs-settings.el Ted Zlatanov
2007-09-07 3:05 ` .emacs-settings.el Miles Bader
2007-09-07 6:17 ` .emacs-settings.el David Kastrup
2007-09-07 7:07 ` .emacs-settings.el Jason Rumney
2007-09-07 7:18 ` .emacs-settings.el David Kastrup
2007-09-07 12:08 ` .emacs-settings.el Ted Zlatanov
2007-09-07 15:52 ` .emacs-settings.el Davis Herring
2007-09-08 7:00 ` .emacs-settings.el Richard Stallman
2007-09-06 20:28 ` .emacs-settings.el Stefan Monnier
2007-09-06 20:50 ` .emacs-settings.el Juri Linkov
2007-09-06 23:52 ` .emacs-settings.el Stefan Monnier
2007-09-06 23:41 ` .emacs-settings.el Tom Tromey
2007-09-07 8:52 ` .emacs-settings.el Juri Linkov
2007-09-07 12:14 ` .emacs-settings.el Johannes Weiner
2007-09-07 16:03 ` .emacs-settings.el Davis Herring
2007-09-07 16:35 ` .emacs-settings.el Drew Adams
2007-09-07 18:11 ` .emacs-settings.el joakim
2007-09-08 7:01 ` .emacs-settings.el Richard Stallman
2007-09-08 7:00 ` .emacs-settings.el Richard Stallman
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=m2r6lbns0o.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@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.