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

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

bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emac


From: Dmitry Gutov
Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project
Date: Fri, 5 Jun 2020 22:02:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 03.06.2020 02:40, Juri Linkov wrote:
Do you have a lot of projects that aren't backed by VC repositories?

Usually new projects in early stages of development
not ready to commit even the initial revision.

A 'git init' wouldn't exactly hurt, though.

However, maybe in this case better to employ some heuristics
to detect the project root, e.g. to search for such common files
as "Gemfile" for Ruby, "mix.exs" for Elixir, etc.

I like this suggestion better (no "special" files), but would we be able to avoid scope creep? Wouldn't users then expect being able to specify ignored directories in such projects? And then faster indexing (e.g. using caching), compared to the VC backend?

Projectile uses the "special file" for the former, and I'm not really fond of its solution for the latter.





reply via email to

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