[Top][All Lists]

[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: Sat, 20 Jun 2020 15:37:51 +0300

> Cc: Eli Zaretskii <eliz@gnu.org>, Theodor Thornhill <theothornhill@pm.me>,
>  philip@warpmail.net, emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Sat, 20 Jun 2020 14:57:07 +0300
> > Would it make sense for these special modes to have a buffer-local
> > variable pointing to the buffer where the command was invoked?
> > project.el could then consult that variable first, then fallback to
> > default-directory?
> Perhaps. I don't know if that would be enough for Eli's purposes, however.

It will solve some of them, to be sure.

> After all, in the Grep example, it could have been invoked from one of 
> the buffers belonging to the current project, or just as well from an 
> "outside" buffer (because, for example, that made it easier to select 
> the intended directory).

So you are saying that it's better to have no way of supporting that
use case than have some, even restricted, way?

reply via email to

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