> Hello all,
> In using the latest JDE 2.2.4, I get the feature of having
> the current method name displayed in the info line at the
> bottom of XEmacs, which is definitely useful - but now I
> need to widen my XEmacs window much wider than I have space
> for, if I want to continue to keep two buffers open side-by-side.
> 

Some time ago i have made Paul a suggestion concerning this topic.
I have added new version of jde-parse.el and jde-which-method.el 
(originals are from 2.2.4) which do now the following:

1. The class-part of the which-method string is only displayed if the
buffer contains more than one class. otherwise only the method is displayed
because if only one class is contained the class-part only wastes space of the
modeline.

2. I have added two new JDE-options:
- jde-max-length-which-method and
- jde-min-length-which-method-class

With the first one you can set the max. allowed length of the whole
which-method string displayed in the modeline. If current string is longer
than this threshold it will be truncated like follows:
First truncation is made from the class-part (if such one is displayed, 
look at 1.) because the classpart is not so important like the method part.
But with the second variable (see above) you can specify the minimum of
charcters the class-part must contain aftre truncation. If now more truncation
is necessary then the class-part is only truncated to the specified minimum
and the rest is truncated from the method-part. truncation will be signaled
in like follows: class will be truncated from begin (e.g. "...classname")
and method is truncated from the end (e.g. "longMethod...").

So if you have long class-names and method-names you probably will get a mode-
line string like [...className.methodName...].

If you set 'jde-max-length-which-method to nil no truncation is done anymore
regardless of the length of the displayed string.

You can test it (only replace the old version with my new ones and byte-compile
it if you have compiled JDE). Suggestions fro improvements are very welcome to me
(and/or Paul :-). maybe this an entry-point for Paul for some of the next
releases...

> If there is a way to allow the info line to be customized so
> I can specify which information should be there, and in which
> order it displays, that would be perfect.

For this take a look at the variable 'mode-line-format. But AFAIK Paul has 
already written an answer.

> Thanks for any insight.
> Gregor
> [EMAIL PROTECTED]
> 
> 

jde-parse.el

jde-which-method.el

Reply via email to