emacs-devel
[Top][All Lists]
Advanced

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

Re: Project support and completions


From: Stephen Leake
Subject: Re: Project support and completions
Date: Sun, 01 Feb 2015 14:42:00 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt)

Stefan Monnier <address@hidden> writes:

>> 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.
> Determining the current project dynamically based on default-directory
> is the most obvious and straightforward way to make it work.

I agree this is one mode that is useful.

Another useful mode is "only switch on user command.

Is there any reason we can't have both?

-- 
-- Stephe



reply via email to

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