Stephen J. Turnbull writes:
> > You can make the buffer-local survive
`kill-all-local-variables'
> > by making it permanent, thus:
> > (put 'compilation-error-regexp-systems-list 'permanent-local t)
>
> I will try that as workaround, but don't regard that as a proper
> solution to the problem.
Well, if you don't consider that a proper solution, then there isn't
one at present. A "permanent-local" is intended be local to the
buffer. However, non-permanent locals are often used as an
approximation to "mode local" variables, and thus get killed by
`kill-all-local-variables' when modes are switched.
I don't consider it a proper solution because it fixes the symptom,
not the cause. A different situation may require the buffer-local
variable to be killed when calling `kill-all-local-variables'. What
would you do to fix that?
I wonder if the call to `kill-all-local-variables' is a bit too
sledgehammerish and should be replaced by something less invasive.
Thanks
-- Marcus
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta