* bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil. @ 2014-05-30 13:02 Nicolas Richard 2014-05-30 23:23 ` Glenn Morris 0 siblings, 1 reply; 4+ messages in thread From: Nicolas Richard @ 2014-05-30 13:02 UTC (permalink / raw) To: 17641 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil. 2014-05-30 13:02 bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil Nicolas Richard @ 2014-05-30 23:23 ` Glenn Morris 2014-05-31 1:39 ` Stefan Monnier 0 siblings, 1 reply; 4+ messages in thread From: Glenn Morris @ 2014-05-30 23:23 UTC (permalink / raw) To: Nicolas Richard; +Cc: 17641 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil. 2014-05-30 23:23 ` Glenn Morris @ 2014-05-31 1:39 ` Stefan Monnier 2014-05-31 2:27 ` Glenn Morris 0 siblings, 1 reply; 4+ messages in thread From: Stefan Monnier @ 2014-05-31 1:39 UTC (permalink / raw) To: Glenn Morris; +Cc: 17641, Nicolas Richard >> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil. 2014-05-31 1:39 ` Stefan Monnier @ 2014-05-31 2:27 ` Glenn Morris 0 siblings, 0 replies; 4+ messages in thread From: Glenn Morris @ 2014-05-31 2:27 UTC (permalink / raw) To: Stefan Monnier; +Cc: 17641, Nicolas Richard Stefan Monnier wrote: >> Maybe locate-dominating-file should first call expand-file-name on FILE. > > Indeed, it probably should. Done in trunk. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-31 2:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-30 13:02 bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil Nicolas Richard 2014-05-30 23:23 ` Glenn Morris 2014-05-31 1:39 ` Stefan Monnier 2014-05-31 2:27 ` Glenn Morris
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.