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: Tue, 4 May 2021 18:57:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 04/05/21 18:43, Dmitry Gutov wrote:
> There are two ways to solve this:
> 
> - Add "whitelisting" syntax to project-vc-ignores and the project-ignores
> method. Then you edit the value of this variable, whitelisting .envrc in the
> given project (or globally), and project-find-file will always include it.
> 
> - We add an arg like NO-PROJECT-IGNORES to the project-files method. Then
> project-find-file could use it in (some?) circumstances.

Both solutions sound good, but considering the prefix argument discussed below,
probably the second one seems like the nicest.

> We can add this behavior when a prefix argument is used (like
> C-u C-x p f'), but that's no dynamic switching.

This would be great. Dynamic switching is not a must-have for me, I was just
offering an example of a possible behaviour. What's important is being able to
get to the ignored file(s) through project-find-file.

-- 
Manuel Uberti
www.manueluberti.eu



reply via email to

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