Philip,
Here is the relevant section of my .emacs file:
;; I like the gnu style best!
(c-set-style "gnu")
(defun cgu-java-hook ()
(c-set-style "gnu")
(c-toggle-hungry-state t)
)
;; Tell jde too
(add-hook 'jde-mode-hook
'cgu-java-hook)
;; Tell java too
(add-hook 'java-mode-hook
'cgu-java-hook)
This basically tells emacs to use the GNU indentation style. Hope this helps. Ceki
At 17:36 21.03.2001 -0500, Philip Miller wrote:
>Does anyone have the emacs settings for the log4j indentation style. In
>particular, I would like to be able to have emacs do the right thing
>with
>
>static
>public
>void methodName() {
>...
>}
>
>My current settings will indent the lines after "static".
>
>Thanks,
>Phil
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
I hope to see you at my ApacheCon 2001 presentation
entitled "Log4j, A Logging Package for Java".
See http://ApacheCon.Com/2001/US/ for more details.
----
Ceki Gülcü Web: http://qos.ch
av. de Rumine 5 email: [EMAIL PROTECTED] (preferred)
CH-1005 Lausanne [EMAIL PROTECTED]
Switzerland Tel: ++41 21 351 23 15
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]