At 04:20 PM 2/18/00 +0100, John Olsson wrote:
>Hi!
>
>> under some suitable name, e.g., jde-prj-defaults.el. Finally, create a
>> template prj.el file like this:
>>
>> (jde-set-project-name "projectname")
>> (jde-set-variables ) ;; <-- Inserted to ensure that Save Project saves
here.
>> (load "jde-project-defaults") ;; This must always be last.
>>
>> Whenever a user creates a project, they can copy the template into
>> their project directory and edit the name to the name of the project.
>> Whenever the user opens a source file, the project defaults will be loaded
>> last overriding whatever else was stored in the project file.
>>
>Our situation is a bit different. Sometimes we work on several projects
>at the same time, and having a single project file is then not a
>solution. It would be nice if JDE would dynamically build a projects
>menu based on files founds in a default directory as well as in a users
>home directory (ofcourse both of these directories should be
>configurable). Perhaps this should not be restricted to just two
>directories and instead have a list of directories to look in?
>
>When the user wants to switch to a new projects definition, it should be
>possible to select if the change should be a global one (i.e. affecting
>all currently opened buffers and all new buffers), or just the currently
>selected buffer. The modeline should somehow reflect which project file
>is currently loaded in the currently selected buffer.
>
>When saving a projects defintion it should be put in the users own
>directory (which could be overridden by the user) and ideally there
>should also be an option to update the contents of the menu at runtime
>based on the current contents of the directories.
>
>What do you think?
>
>
I don't understand why you need this. The JDE already allows you to work on
multiple projects in the same session. All you need to do is put a project
file at the root of each project's source directory. The JDE will
automatically load the project file when you open or switch to a buffer in
that source tree. If the source tree has no project file, the JDE will use
whatever settings are in your .emacs file.
- Paul