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

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

bug#43153: Add new command project-find-dir (and move binding of project


From: Dmitry Gutov
Subject: bug#43153: Add new command project-find-dir (and move binding of project-dired)
Date: Fri, 4 Sep 2020 01:57:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 01.09.2020 18:32, Stefan Kangas wrote:
Dmitry Gutov <dgutov@yandex.ru> writes:

Would you like to try your hand at the patch?

A patch!?  I have written or two of them before, sure.
I could take a gander.

Excellent. :-)

It should be straightforward. One moderately tricky issue is to how to generate a directory completion table from the return value of project-files (which returns only files, not directories).

Perhaps the simplest approach is to create a unique set of all parent directories of said files. It would omit empty directories, but oh well.

I'm not sure we want to create a new generic function (e.g. project-directories) just for that command, but it's also an option.





reply via email to

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