Nix <nix(a)esperi.demon.co.uk> writes:
Silly suggestion, but why not add an extra optional parameter to
scan-lists to turn off the use of local syntax tables for that call?
That sounds like a kludge to me. Which is not to say we shouldn't
resort to optimization-motivated kludges if all else fails, but let's
first make sure that we have tried all else.
The other thing is, on some level it's simply wrong to even provide a
parameter that just ignores the local syntax tables. Whatever set up
the code local syntax tables has probably done it for good reasons,
which the cc-mode might not even be aware of. Turning them off with a
flip of a lever will undermine the (correct) code that tries to make
use of the feature.