At 06:28 PM 6/15/00 +0100, you wrote:
>Hi,
>
>SYSTM : WinNT4SP5, JDE2.1.6, JDK1.3
>
>it seems that whatever I do this variable is 't'. (I restarted emacs
>as I now that jde-gen-k&r is being read at load time)

Are you using a prj.el file? Is the value set there?

>
>// ------ .emacs
>  ;; JDE variables
>  (custom-set-variables
>   '(jde-gen-k&r nil)
>   '(jde-bug-jdk-directory "d:/jdk1.3/")
>   '(jde-bug-jpda-directory "d:/jdk1.3/")
>   '(jde-bug-vm-includes-jpda-p t)
>   '(jde-enable-abbrev-mode t))
>//-----------
>
>But I don't want the K&R style for all the abbrevs.
>
>What's the trick to avoid the K&R style.
>
>Also the jde-gen.el file contains the following :
>
>     "\" \" (jde-gen-get-super-class)" ;;  \" {\" 'n> 'n>"
>
>    (if jde-gen-k&r
>       "\" {\"  'n>"
>      "'n")
>
>    (if jde-gen-k&r
>       ""
>      "\"{\"> 'n>")
>
>    "\"public \""
>    "(file-name-sans-extension (file-name-nondirectory
>buffer-file-name))"
>    "\" ()\""
>
>    (if jde-gen-k&r
>       "\" {\"  'n>"
>      "'n")
>
>    (if jde-gen-k&r
>       ""
>      "\"{\"> 'n>")
>
>    "'p 'n>"
>
>I don't really understand the (if jde-gen-k&r ... statement.
>Either both are correct, ie. two open braces should appear, or
>neither are correct, ie. no brace at all.

If jde-gen-k&r is non-nil, the first form of the pair inserts an opening
brace (or paren) on the same line followed by a line feed while the second
form inserts nothing.

If jde-gen-K&r is nil, the first form inserts a line feed while the second
form inserts an opening brace (or paren).

- Paul

------------------------------------------------------------
TECH SUPPORT POLICY

I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http://sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html


Reply via email to