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

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

bug#48247: closed ([PATCH] `project--files-in-directory' fails when dire


From: GNU bug Tracking System
Subject: bug#48247: closed ([PATCH] `project--files-in-directory' fails when directory contains spaces)
Date: Thu, 06 May 2021 17:46:02 +0000

Your message dated Thu, 6 May 2021 20:45:45 +0300
with message-id <5a77034c-7085-35db-bf2a-73bf0a6c1e27@yandex.ru>
and subject line Re: bug#48247: [PATCH] `project--files-in-directory' fails 
when directory contains spaces
has caused the debbugs.gnu.org bug report #48247,
regarding [PATCH] `project--files-in-directory' fails when directory contains 
spaces
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48247: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48247
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] `project--files-in-directory' fails when directory contains spaces Date: Wed, 5 May 2021 16:10:03 -0700
The following happens on Emacs 28.0.50 (or when project.el 0.6.0 has
been installed via GNU ELPA).

Steps to reproduce:

  mkdir "some project"
  cd "some project"
  echo "foobar" > file.txt
  emacs -Q
  C-u C-x p g foo RET RET RET RET

Result:

  project--files-in-directory: File listing failed: find:
‘/home/jim/some’: No such file or directory
  find: ‘project/’: No such file or directory

I think the directory passed to `find' should be shell-quoted. See the
attached patch.

Attachment: 0001-Shell-quote-the-directory-when-finding-a-project-s-f.patch
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#48247: [PATCH] `project--files-in-directory' fails when directory contains spaces Date: Thu, 6 May 2021 20:45:45 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
On 06.05.2021 02:10, Jim Porter wrote:
I think the directory passed to `find' should be shell-quoted. See the
attached patch.

Installed. Thanks!


--- End Message ---

reply via email to

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