emacs-devel
[Top][All Lists]
Advanced

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

Re: project-find-file: switch to include non-tracked files


From: Manuel Uberti
Subject: Re: project-find-file: switch to include non-tracked files
Date: Thu, 14 Oct 2021 08:37:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 14/10/21 02:47, Dmitry Gutov wrote:
Thanks for confirming.

I've pushed the discussed change to master, to be released in Emacs 29 (but of course you'll be able to install a updated version of project.el from ELPA much sooner).

Thank you for the update. On Emacs 29 it works as expected on different projects (including Emacs source directory) albeit one, which unfortunately I can share much about because the customer owns the code.

I can report the bug if you want, but I will not be able to share a much detailed recipe to reproduce the error. From 'emacs -Q' the only thing I did is the following:

(dolist (dir '(".clj-kondo" ".cpcache" ".gitlab" "node_modules"))
  (add-to-list 'vc-directory-exclusion-list dir t))

Then C-u C-x p f in the customer's project and I got this:

Debugger entered--Lisp error: (error "File listing failed: ./shadow-cljs.edn\0./public/cs...") error("File listing failed: %s" "./shadow-cljs.edn\0./public/css/site.css\0./public/i...") project--files-in-directory("~/7bridges/skuro/cockpit/" ("SCCS/" "RCS/" "CVS/" "MCVS/" ".src/" ".svn/" ".git/" ".hg/" ".bzr/" "_MTN/" "_darcs/" "{arch}/" ".clj-kondo/" ".cpcache/" ".gitlab/" "node_modules/")) #f(compiled-function (dir) #<bytecode 0x16d43be495cb8511>)("~/7bridges/skuro/cockpit/") project-find-file-in(nil ("~/7bridges/skuro/cockpit/") (vc . "~/7bridges/skuro/cockpit/") (4))
  project-find-file((4))
  funcall-interactively(project-find-file (4))
  command-execute(project-find-file)

Let me know if you want me to file a proper bug.

--
Manuel Uberti
www.manueluberti.eu



reply via email to

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