On Tue, May 6, 2008 at 1:56 AM, Yee Keat Phuah <ykphuah@...> wrote:
> Hi,
>
>
> On Tue, May 6, 2008 at 5:30 AM, Mikoláš Janota <mikolas.janota@...> wrote:
> > 1) According to the documentation, jde-gen-cflow-enable should be the
> > variable to set to nil if one wants to get rid of control flow
> > expansions. I tried that and it didn't work. Is it a problem on my
> > side?
>
> jde-gen-cflow-enable doesn't do anything (at least for expansion) here
> as well.
Interestingly enough, it's described in the user's manual, so I guess
it did work at some point. Looks like a bug then.
> The variable you need to use is jde-enable-abbrev-mode, I
> have tested it here and it worked, just customize that variable and
> set it to "off(nil)"
>
That's something I tried before and it didn't work for me.
>
> > 2) After some experiments I came to the discovery that turning the
> > abbrev mode off gets rid of these expansions. How can I disable the
> > abbrev mode as a default? (My, probably silly, attempt was to hook to
> > the jde-hook.)
>
> Well this will probably be the way if jdee does not provide you a
> customizable variable to turn it off. :)
>
There must have had been something wrong with my hook the first time
as I tried again disabling the abbrev mode by hooking it on jde-hook
and this time it worked. So I will leave it like this.
Thanks for the help
mikolas
> Cheers,
> Phuah Yee Keat
>
--
Mikoláš Janota M. Sc.
School of Computer Science and Informatics,
University College Dublin,
Belfield,
Dublin 4,
Ireland
|