Re: modeless alternative to jde-gen-println

toby cabot <[email protected]>
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
On Fri, Dec 18, 2009 at 01:35:54PM +1300, Len Trigg wrote:
> I have just committed a change to the 2.4.0 branch that makes the
> jde-gen-println tempo template behave like your function. (Required
> some advice to tempo to allow templates to set the post-template
> point). Try it out.

Thanks, Len, that's much better!  One potential tweak: I have a weak
preference for having the println appear on the same line as point,
not the following line, i.e.

Index: lisp/jde-gen.el
===================================================================
--- lisp/jde-gen.el	(revision 172)
+++ lisp/jde-gen.el	(working copy)
@@ -1924,7 +1924,7 @@
 
 (defcustom  jde-gen-println
   '(
-    "(end-of-line) '&"
+    "(beginning-of-line)"
     "\"System.out.println(\" ~ \");\" '>'n'>"
     )
   "*Template for generating a System.out.println statement."

... but what you wrote is a huge improvement.

Thank you!

Toby

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.