[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: Juri Linkov
Subject: Re: master 1e3b0f2: Improve doc strings of project.el
Date: Tue, 30 Jun 2020 01:35:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I have a similar work pattern. My solution to remembering project info
> is implemented in the 'wisi' GNU ELPA package; there is one active
> project; (project-current) returns that project, unless a buffer has
> overridden project-find-functions locally, which I do for elisp mode.
> There is a menu of known projects the user can choose from. In
> addition, running 'compile' in a Makefile sets the project to the one
> relevant to that makefile.

This description reminds how next-error works in a similar way.
By default, it uses the global value of the last navigation -
in project.el it could use default-directory by default.
But like a buffer can override next-error navigation,
project.el should allow a buffer to set a buffer-local value
to define its project like your project-find-functions.

reply via email to

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