From: David Kastrup <dak@gnu.org>
To: dhruva <dhruvakm@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: Build failure on M$ (using MSVC): Patch enclosed
Date: Thu, 22 May 2008 08:52:21 +0200 [thread overview]
Message-ID: <85od6yltju.fsf@lola.goethe.zz> (raw)
In-Reply-To: <e3f230850805212203i565b90r931d539761c43342@mail.gmail.com> (dhruva's message of "Thu, 22 May 2008 10:33:40 +0530")
dhruva <dhruvakm@gmail.com> writes:
> On 5/22/08, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> > Well, I was not aware of that function. Looking a little deeper into
>> > it, it does not traverse above the current user $HOME (~/ or %HOME%).
>> > This code needs to go all the way till the top. Since it does a
>> > username comparison, it apprears a bit more expensive (based on gut
>> > feel though).
>>
>>
>> Indeed, it doesn't go up past the home directory and it doesn't lookup
>> past a directory with a different owner. It's all done on purpose to
>> try and avoid pathological cases.
>> I don't see that as a problem at all.
>
> Though I do not see a practical use case, here is a case where it can fail:
>
> 1. As a system wide policy, I put some settings file in the root
> folder or the parent folder of every user folder which has a bunch of
> defaults
There is no necessity whatsoever to use the settings file mechanism for
global defaults. Just set the appropriate variables in site-start.el.
On a different tack: why can't vc-find-root be made to use
locate-dominating-file? One less bunch of heuristics to maintain.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2008-05-22 6:52 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-20 4:58 Build failure on M$ (using MSVC): Patch enclosed dhruva
2008-05-20 6:10 ` dhruva
2008-05-20 8:26 ` dhruva
2008-05-20 8:58 ` dhruva
2008-05-20 9:46 ` Jason Rumney
2008-05-20 10:21 ` David Kastrup
2008-05-20 11:57 ` dhruva
2008-05-20 12:01 ` dhruva
2008-05-20 18:26 ` Eli Zaretskii
2008-05-20 12:11 ` Herbert Euler
2008-05-20 18:30 ` Eli Zaretskii
2008-05-20 18:12 ` Eli Zaretskii
2008-05-21 3:13 ` dhruva
2008-05-21 17:28 ` Stefan Monnier
2008-05-22 3:51 ` dhruva
2008-05-22 4:46 ` Stefan Monnier
2008-05-22 5:03 ` dhruva
2008-05-22 6:52 ` David Kastrup [this message]
2008-05-22 7:10 ` dhruva
2008-05-22 7:32 ` David Kastrup
2008-05-22 15:49 ` Stefan Monnier
2008-05-22 15:45 ` Stefan Monnier
2008-05-22 6:56 ` dhruva
2008-05-23 8:30 ` Eli Zaretskii
2008-05-23 9:15 ` Jason Rumney
2008-05-22 8:32 ` Jason Rumney
2008-05-22 9:10 ` dhruva
2008-05-22 9:29 ` dhruva
2008-05-22 12:31 ` Jason Rumney
2008-05-22 13:10 ` Jason Rumney
2008-05-22 13:33 ` Miles Bader
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=85od6yltju.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=dhruvakm@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.