It's me FKtPp ;) wrote:
Stephen J. Turnbull wrote:
> It's me FKtPp ;) writes:
> > (setq modeline-process
> > `(rng-validate-mode ,(rng-compute-mode-line-string))))
> This code will evaluate `(rng-compute-mode-line-string)' at setq
> time. What does that evaluate to?
well it well be depends on the validation status of the buffer:
string: " Valided xx%" if in progress;
a list with first element is a extent: " Invalid"(with help-echo
messages and a keymap which can find the first invalid error point by
button1 click) if invalid;
string: " Valid" if valid already.
Here goes the work around, I find out that setq modeline-process to
above value(whenever modeline was requested to be redraw by nxml) can
roughly emulate the FSF `:eval' though the percentage indicator will not
be very up to dated.
I've made this change to exist code... Sorry for my dirty work around,
but it's better than nothing.
XEmacs-Beta mailing list