bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47799: 28.0.50; Default `project-files' implementation doesn't work


From: Dmitry Gutov
Subject: bug#47799: 28.0.50; Default `project-files' implementation doesn't work with quoted filenames
Date: Thu, 15 Apr 2021 19:15:25 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Hi Philipp,

On 15.04.2021 16:43, Philipp Stephani wrote:
emacs -Q -batch -l project -eval '(print (project-files (quote (transient . 
"/:/"))))'

("find: ‘/:/’: No such file or directory
")

Note that the error message is listed as a file.

1. `project-files' should unquote local filenames before passing them to
    `find'.

2. `project-files' should check for errors returned from `find'.

Would you like to propose a patch?

I don't really understand the file quoting feature.

Is project--files-in-directory supposed to unquote? Should project--vc-list-files do that as well?

Does read-directory-name return quoted names when needed? Can locate-dominating-file return one?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]