[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 1e3b0f2: Improve doc strings of project.el
From: |
Eli Zaretskii |
Subject: |
Re: master 1e3b0f2: Improve doc strings of project.el |
Date: |
Fri, 19 Jun 2020 20:11:16 +0300 |
> Date: Fri, 19 Jun 2020 15:39:53 +0000
> From: Theodor Thornhill <theothornhill@pm.me>
> Cc: philip@warpmail.net, dgutov@yandex.ru, emacs-devel@gnu.org
>
> > A project could specify a list of major-modes, couldn't it? That
> > would generally derive from the project's "purpose" or "goal", for
> > lack of a better word. For example, a project where you build a
> > program would have prog-mode or some of its descendants in the list,
> > and perhaps also Texinfo and/or markdown for docs. A project whose
> > purpose is to write an essay or a blog or might use descendants of
> > text-mode. Etc., etc.
>
> Yes, absolutely. But isn't this sort of what is intended with the
> cl-defmethods used to assign a project?
>
> 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."
>
> Or am I misunderstanding you?
Maybe. I don't think I understand what you are suggesting in enough
detail to tell.
- Re: master 1e3b0f2: Improve doc strings of project.el, (continued)
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Theodor Thornhill, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Theodor Thornhill, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el,
Eli Zaretskii <=
- Re: master 1e3b0f2: Improve doc strings of project.el, Theodor Thornhill, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Theodor Thornhill, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Eli Zaretskii, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Theodor Thornhill, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, Dmitry Gutov, 2020/06/19
- Re: master 1e3b0f2: Improve doc strings of project.el, address@hidden, 2020/06/19