GNU bug report logs - #17641
24.3.91; (locate-dominating-file "." Makefile) returns nil.

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Fri, 30 May 2014 13:03:02 UTC

Severity: normal

Found in version 24.3.91

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17641 in the body.
You can then email your comments to 17641 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17641; Package emacs. (Fri, 30 May 2014 13:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 30 May 2014 13:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.91; (locate-dominating-file "." Makefile) returns nil.
Date: Fri, 30 May 2014 15:02:24 +0200
Evalling
(locate-dominating-file "." "Makefile")
I get nil (unless the current directory has the file Makefile in it).

I expected to get some parent directory containing that file.

otoh, evalling:
(locate-dominating-file default-directory "Makefile")
works as expected.

In GNU Emacs 24.3.91.1 (i686-pc-linux-gnu, GTK+ Version 2.24.20)
 of 2014-05-13 on LDLC-portable
Windowing system distributor `The X.Org Foundation', version 11.0.11406000
System Description:	Ubuntu 13.10

-- 
Nico.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17641; Package emacs. (Fri, 30 May 2014 23:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 17641 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 17641 <at> debbugs.gnu.org
Subject: Re: bug#17641: 24.3.91;
 (locate-dominating-file "." Makefile) returns nil.
Date: Fri, 30 May 2014 19:23:54 -0400
Nicolas Richard wrote:

> Evalling
> (locate-dominating-file "." "Makefile")
> I get nil (unless the current directory has the file Makefile in it).

Maybe locate-dominating-file should first call expand-file-name on FILE.
As it stands, it doesn't work with any non-absolute file name.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17641; Package emacs. (Sat, 31 May 2014 01:40:02 GMT) Full text and rfc822 format available.

Message #11 received at 17641 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17641 <at> debbugs.gnu.org, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: Re: bug#17641: 24.3.91;
 (locate-dominating-file "." Makefile) returns nil.
Date: Fri, 30 May 2014 21:39:02 -0400
>> Evalling
>> (locate-dominating-file "." "Makefile")
>> I get nil (unless the current directory has the file Makefile in it).

> Maybe locate-dominating-file should first call expand-file-name on FILE.

Indeed, it probably should.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17641; Package emacs. (Sat, 31 May 2014 02:28:02 GMT) Full text and rfc822 format available.

Message #14 received at 17641 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 17641 <at> debbugs.gnu.org, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: Re: bug#17641: 24.3.91;
 (locate-dominating-file "." Makefile) returns nil.
Date: Fri, 30 May 2014 22:27:54 -0400
Stefan Monnier wrote:

>> Maybe locate-dominating-file should first call expand-file-name on FILE.
>
> Indeed, it probably should.

Done in trunk.




bug marked as fixed in version 24.5, send any further explanations to 17641 <at> debbugs.gnu.org and Nicolas Richard <theonewiththeevillook <at> yahoo.fr> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 31 May 2014 02:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Jun 2014 11:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:05 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:05 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 24.5. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Nov 2014 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.