Actually the problem is more complicated. The space that I'm encountering
is the space that I press that forces the execution of the template. So I
get something like this `if ( a==0)' if I type `if a==0'... Same situation
exists for abbreviations. For instance my "pr" abbreviation linked to
`System.out.println("' actually produces System.out.println(" test") if I
type `pr test' (instead of System.out.println("test")) I haven't figured
out the solution to the problem, and if somebody knows Lisp enough to tell
me how to undo the space that triggers expansion in cflow templates and/or
in abbreviations, I'll appreciate it.
Yaroslav
On Fri, 25 Aug 2000, Brad Giaccio wrote:
> Try doing M-x customize jde-gen
> then edit the variables for clfow-if and any others then hit save.
>
> Brad
>
> On Fri, Aug 18, 2000 at 06:17:20PM -0700, Yaroslav Bulatov wrote:
> > Here's my problem
> > I need to take out extra inside padding on parenthesis in control flow
> > templates. (so instead of "if ( )" I want "if ()") I looked at code for
> > templates, but since I'm not knowledgeable
> > in lisp, it doesn't make sense to me how to take off the extra spaces. I'd
> > appreciate if someone could show me how to take out extra spaces in
> > following template -->
> >
> > (if (jde-parse-comment-or-quoted-p)
> > '(l "if")
> > '(l '> "if (" (p "if-clause: " clause) ") "
> > (if jde-gen-k&r
> > ()
> > '>'n)
> > "{"'>'n'>'r'n
> > "} // end of if (" (s clause) ")"'>'n'>)
> > )
> >
> > Yaroslav
>
> --
> --- There are two kinds of knowledge, you either know the answer or
> you know where to find it
> -Kane, Johnson, and anonymous
>