At 05:16 PM 8/27/99 -0500, John Sigler wrote:
>Paul Kinnucan wrote:
>
>> One way to do provide for both the current and proposed project modes is to
>> use the proposed mode for project frames (i.e., frames created by the Open
>> Project command) and the current behavior if you simply open a source file.
>> In other words,
>>
>> File->JDE New->Open Project
>>
>> creates a project frame in which the JDE settings for that project apply to
>> any source file that you open in that frame regardless of which project the
>> source file belongs to. If you simply open a source file in the root frame
>> or in a frame created by some other means then Open Project, the current
>> mode applies, i.e., JDE variables are updated whenever you change from a
>> buffer belonging to one project to a buffer belonging to another.
>>
>> Further, when you execute
>>
>> File->JDE New->Open Project
>>
>> the JDE prompts you in the minibuffer to enter the path to the prj.el file
>> for that project, with the default being the first prj.el file that the JDE
>> finds starting of the directory tree from the current directory. This
>> preserves the current way of doing things while allowing you to use an
>> arbitrarily located prj.el file.
>
>Would this this then be multiple projects in the same frame? If so, this
>sounds like a good solution.
>
No. A JDE Project frame implements the new functionality. You have only one
project at a given time in a JDE Project Frame.
>But if it switches to a single project for all files in this frame, then
>minimally I'd like a 'change-project' function like now that I can use
>on a hook when moving between multiple projects in a single frame.
>(Basically some convenient way to retain the current behavior.)
>
Not necessary. If you want the current behavior, just continue to work
in the root frame (the frame Emacs starts in) or in a frame create
with Emacs' standard frame creation command, which is also available
from the Emacs File menu.
I think this is a nice solution. Those who like the current behavior, can
just keep what they're doing. Those who want the new behavior can get it
by creating Project Frames.
- Paul