From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Build failure on M$ (using MSVC): Patch enclosed Date: Thu, 22 May 2008 09:32:50 +0200 Message-ID: <85d4nelrod.fsf@lola.goethe.zz> References: <85od6yltju.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211441598 5909 80.91.229.12 (22 May 2008 07:33:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 07:33:18 +0000 (UTC) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 22 09:33:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jz5JA-00042s-Vx for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 09:33:53 +0200 Original-Received: from localhost ([127.0.0.1]:60626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz5IP-0000id-NL for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 03:33:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jz5IM-0000iY-7W for emacs-devel@gnu.org; Thu, 22 May 2008 03:33:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jz5IK-0000iM-Jr for emacs-devel@gnu.org; Thu, 22 May 2008 03:33:01 -0400 Original-Received: from [199.232.76.173] (port=55426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz5IK-0000iG-DC for emacs-devel@gnu.org; Thu, 22 May 2008 03:33:00 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:22771) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jz5IF-0007BT-Ap; Thu, 22 May 2008 03:32:55 -0400 Original-Received: from mail-in-16.arcor-online.net ([151.189.21.56]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jz5IE-0002gd-NT; Thu, 22 May 2008 03:32:54 -0400 Original-Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-16.arcor-online.net (Postfix) with ESMTP id C73071FF203; Thu, 22 May 2008 09:32:53 +0200 (CEST) Original-Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id A9E4121309D; Thu, 22 May 2008 09:32:53 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-000-184.pools.arcor-ip.net [84.61.0.184]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 4F9391C36A9; Thu, 22 May 2008 09:32:53 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id A71451C46131; Thu, 22 May 2008 09:32:51 +0200 (CEST) In-Reply-To: (dhruva's message of "Thu, 22 May 2008 12:40:59 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7207/Thu May 22 06:31:31 2008 on mail-in-05.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97506 Archived-At: dhruva writes: > Hi, > On 5/22/08, David Kastrup wrote: >> There is no necessity whatsoever to use the settings file mechanism for >> global defaults. Just set the appropriate variables in site-start.el. > > The locate-dominating-file restricts me to see in folders that are in > the hierarchy of my HOME folder only. No, it doesn't. > At work, I have my home folder at a different mount point and > development tree in a different mount point. They do not share the > same tree apart from the root '/'. If I (and other users) need to have > default settings for the build tree, I would put it in the mount > folder of the build tree. With the recent changes, it will never see > is as the tree does not share my HOME. Have you actually _tried_ it? > Ex: > Build dir: > /mnt/dev/build/users/dhruva/branch/... > Home: > /u/users/dhruva > > Using "site-start.el" will affect all users, this will not provide me > the fine grained control that I will get using the folder structure. Your previous example was about affecting all users, and locate-dominating-file works perfectly well with the current example. locate-dominating-file stops the traversal when it would pass from within $HOME to outside, or when the traversal would change the owner of the directory. But it does not require the traversal to start within $HOME or elsewhere. > I use a similar thing for my BASH shell. Every directory I need to > change some values (like CVSROOT for different projects) will have a > local.bashrc which gets sources once I visit it. I use this traversal > back to find the most appropriate local.bashrc and find it quite > useful. Could you _please_ provide a test case which you actually tried out and which does not work as desired before complaining? I can't see this to be the case right now. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum