"Ilya N. Golubev" <gin(a)mo.msk.ru> wrote:
/.../ Since 5.30 (5.141 mast 10-Sep-02) `cc-vars.el' uses
temporay
buffers for computing initial variable values. This makes it and
rest of cc-mode depending on it undumpable in those configurations.
Is using temporary buffers really necessary? Is there something that
may not be done using string operations only?
The tests are done to check some properties of syntax classes in
buffers. To use strings instead it would e.g. be necessary to be able
to call forward-sexp on a string, and to set the syntax-table text
property on strings. Afaik that isn't supported.
An alternative could perhaps be to replace the tests with their
results in the XEmacs packaging of CC Mode. Afterall, the result
always should be the same provided the package is only used with
XEmacs >= 21.4. That's however not an option in my upstream source
code since it's unified across all emacsen.