classpath
[Top][All Lists]
Advanced

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

Re: Emacs supporting GNU style for Classpath hacking


From: Michael Koch
Subject: Re: Emacs supporting GNU style for Classpath hacking
Date: Tue, 6 Jul 2004 16:52:12 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 6. Juli 2004 10:45 schrieb Roman Kennke:
> Hi list,
>
> Together with Michael I have put together an emacs configuration
> hook, which enables GNU style auto-completion in Emacs with JDEE.
>
> In order to make this work, you have to have JDEE installed:
>
> http://jdee.sunsite.sk
>
> XEmacs includes JDEE by default.
>
> include the following snipped directly in ~/.emacs or
> ~/.xemacs/init.el or load it from an external file with something
> like this inside ~/.emacs or ~/.xemacs/init.el:
>
> (load "~/.xemacs/javagnustyle.el")
>
>
> With this configuration, emacs automatically expands abbreviations.
> If you type 'ife ' this will be expanded to:
> if ()
>   {
>   }
> else
>   {
>   }
>
> Please see
> http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug-content.html#Abbre
>vs for details on more abbreviations
>
> If this works out right, maybe we should include this in the GNU
> Classpath hackers guide.

I found a bug: It wants to indent the { } for method/constructor 
bodies for 2 spaces too, but these must he like for classes and 
interfaces have the same depth as the starting line. I hope you 
understand my explanation.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA6ryfWSOgCCdjSDsRAjYDAJ9Wqe6eQ0A6B31a/1enrj/25rm13ACgiqKH
ti5xvIoLwYMrUToZsrZKaYg=
=4ZYE
-----END PGP SIGNATURE-----




reply via email to

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