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: Fri, 30 Jan 2015 23:34:28 +0200

> From: Stefan Monnier <address@hidden>
> Date: Fri, 30 Jan 2015 13:14:42 -0500
> Cc: address@hidden, address@hidden, John Yates <address@hidden>
> 
> > better.  You could do this via find-file-hook, for example, or some
> > other device.  Emacs has enough features that can be used for this.
> 
> The files of the various branches may (and often are) all be opened at
> the same time.  I "switch project" simply by moving from one buffer
> to another (which often amounts to moving the mouse from one window to
> another).
> 
> Often I switch back-and-forth repeatedly, e.g. while comparing the code
> in the different branches, and I'd want M-. to always jump to the
> corresponding code.  So "switch project" needs to be fully implicit.

Fine, then this use case should be added to requirements.  It doesn't
invalidate others, though.

> Determining the current project dynamically based on default-directory
> is the most obvious and straightforward way to make it work.

That's one implementation, but it's not the only one.



reply via email to

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