emacs-devel
[Top][All Lists]
Advanced

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

Re: Project support and completions


From: Eli Zaretskii
Subject: Re: Project support and completions
Date: Sun, 25 Jan 2015 18:01:16 +0200

> From: Stefan Monnier <address@hidden>
> Cc: Dmitry Gutov <address@hidden>, address@hidden
> Date: Sun, 25 Jan 2015 10:01:03 -0500
> 
> > For example, it sounds to me that by having an "add project" and
> > "remove project" commands, we can give the user the ability to tell
> > which projects' databases of symbols are relevant to what she is doing
> > now.
> 
> I'd rather have something more declarative.  E.g. let the user specify
> that some projects are linked

Works for me.

> such that whenever you're in a buffer that belongs to one of those
> linked projects, Emacs knows that it should take the other linked
> projects into account.

This will not always DWIM.  For example, it could be that a buffer
belongs to none of the projects known to Emacs, in which case Emacs
should somehow fall back to "the last used project", whatever that
means.  A case in point is when I compose mail about some problem I
have working on a project.

Second, sometimes I go to another buffer temporarily, for whatever
reasons, like to see how a certain problem was solved there.  But I
still am working on the same project I was before I switched buffers,
not on that other buffer's project.

So there should be a way to tell Emacs about these use cases,
otherwise the feature will still annoy.  I don't see how automatic
inference based on the current buffer can cater to those use cases.

IOW, I think there should be support for "I only work on one project
at a time" kind of users, which means "don't switch projects on me
unless I approve".



reply via email to

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