emacs-devel
[Top][All Lists]
Advanced

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

Re: master 1e3b0f2: Improve doc strings of project.el


From: Dmitry Gutov
Subject: Re: master 1e3b0f2: Improve doc strings of project.el
Date: Fri, 19 Jun 2020 21:21:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 19.06.2020 18:39, Theodor Thornhill wrote:
I believe project.el to be a bit ambiguous, since it is both a generic
"wrapper" for a generic interface "project", but also an implementation of
the "vc" version of this interface. So the behaviour you suggest here is
easily done in say:

(cl-defmethod project-root ((project (head some-major-mode)))
   ...)

The version used now is merely saying: "Show me everything but the
things ignored in .gitignore."

Let's not do that.

In any case, this doesn't help us to define what project-switch-to-buffer should do now. It would only complicate things.



reply via email to

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