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? 


> If this works, I could wire something similar into the JDE, that is, add 
> the capability to always load a defaults file after whatever is in the 
> .emacs file or prj.el file.
>
That would be great!


/John

-- 
LM/ERA/LVA/KD John Olsson  mailto:[EMAIL PROTECTED] 
   Ericsson Radio Systems AB, Box 1248, S-581 12 Linkoping
-------------------------------------------------------------
  Phone: +46 13 321070   ECN: 868 1070   Fax: +46 13 287370
-------------------------------------------------------------
I was doing object-oriented assembly when I was 1 year old...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to