I just upgraded to beta 3 yesterday afternoon, after I sent the email. Yes,
the new Check All feature is sweet! Many thanks to David Ponce for his
jdok/jsee features, putting them into JDE, and continually improving them!
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Daniel Hegyi
Sent: Saturday, November 04, 2000 8:22 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Sending the current buffer to a Java application.
Sounds interesting. Although, one would think that these things should be
easily implemented with elisp. One of these days I'll take the time to learn
more elisp, but as an ex-schemer I often am discouraged from it, when I see
it. ;-)
Daniel
P.S. The javadoc feature, I believe, is implemented in JDE. Do you have the
latest version of JDE? JDE -> Documentation -> Check All. You can also
modify the templates.
>Hi, Good question...Jindent has lots of features. I suggest reading the
>features info on its web site for complete info.
>
>Off-the-top-of-the-head-brief-summary, Emacs' reindenting does not:
>- move the opening brace
>- add or remove white space lines as specifed
>- wrap lines longer than a specified column, reindenting them appropriately
>- add javadoc templates where no javadoc exists for the class and above
>each method
>- line up variable names in a list of declarations
>
>
> > From: "Daniel Hegyi" <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: RE: Sending the current buffer to a Java application.
> > Date: Fri, 03 Nov 2000 12:36:51 EST
> >
> > Hi Jeff,
> >
> > Why can't you clean up other people's messy code by selecting the whole
> > (java) buffer and doing a M-x indent-region ? Or does Jindent have some
> > extra features?
> >
> > Regards,
> > Daniel
> >
> >
> > >From: "Jeff Jensen" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: RE: Sending the current buffer to a Java application.
> > >Date: Thu, 2 Nov 2000 22:22:18 -0600
> > >
> > >This elisp is an example of sending the buffer contents to a command
>line
> > >program, and back. It is from the Jindent web site (which is a great
>tool
> > >for cleaning up that messy code received from others!).
> > >
> > >
> > >Jindent Integration for "Emacs"
> > >(from Holger Uhr, [EMAIL PROTECTED])
> > >
> > >Add the following lines to your .emacs file to integrate Jindent:
> > >
> > >
> > >(defun jindent ()
> > >"Pipes the buffer through Jindent"
> > >(interactive)
> > >(message "Jindenting buffer (http://www.jindent.de) ...")
> > >(setq executing-kbd-macro t)
> > >(filter-buffer "/usr/local/java/jdk1.2/bin/java -classpath \
> > >~/lib/Jindent/Jindent.jar: Jindent -mute -p \
> > >~/lib/Jindent/Holger.jin")
> > >(setq executing-kbd-macro nil)
> > >(message "Jindenting buffer (http://www.jindent.de) ... done")
> > >)
> > >
> > >(defun filter-buffer (command)
> > >(shell-command-on-region (point-min) (point-max) \
> > >command t t "*Messages*")
> > >)
> > >
> > >
> > >-----Original Message-----
> > >From: [EMAIL PROTECTED]
> > >[mailto:[EMAIL PROTECTED]]On
> > >Behalf Of Rob Shaw
> > >Sent: Thursday, November 02, 2000 6:52 PM
> > >To: [EMAIL PROTECTED]
> > >Subject: Sending the current buffer to a Java application.
> > >
> > >
> > >I'm interested in sending a buffer to the stdin of a Java
> > >application, have it process the input stream, and stream the
> > >results back via stdout into the original emacs buffer.
> > >
> > >There are many possible uses for such a configuration.
> > >For example, one could create an english to german conversion
> > >utility. The idea here is that such utilities could be written
> > >in Java as opposed to elisp.
> > >
> > >Does anybody have some sample code or know of any sample code
> > >that I could look at?
> > >
> > >Thanks,
> > >Rob
> > >
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> >
> > Share information about yourself, create your own public profile at
> > http://profiles.msn.com.
> >
> >
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.