Try loading ~/.eclipse/custom.lisp before ~/.eclipse

Iban hatchond at yahoo.fr
Sun Mar 2 05:40:02 UTC 2003


Erik Enge wrote:
> How about this?:
> 
>   (defun load-configuration ()
>     "Load the configuration file.  If ~/.eclipse/custom.lisp is a file,
>   load it, if not, try ~/.eclipse and if that fails try the .eclipse
>   that shipped with the Eclipse code"
>     (or (load-config-file (home-subdirectory ".eclipse/custom.lisp"))
>         (load-config-file (home-subdirectory ".eclipse"))
>         (load-config-file (eclipse-path ".eclipse"))
>         (format *error-output* "Unable to read a configuration file.~%")
>         (%quit%)))
> 
> And then just call LOAD-CONFIGURATION in INITIALIZE.
> 
> I'd like to have my ~/.eclipse load other files and having them all in
> one directory would help a lot.  I use ~/.xemacs/custom.el too.
> 
Well, it looks like a good idea. What does other think about it ?

> I can make this into a patch with `diff` if you want me to?  How do you
> prefer `diff` to be run?  Some people are picky about -u or -c and other
> switches.

I'm not so familiar with the diff switches, but Christian  Lynbech sends 
some goods one, so maybe he can tell us his way to do that.

I have still one patch of him to deal with, I'll do it today.

!ban.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the eclipse-devel mailing list