I've now heard back from martin rudalics: <quote>

 >>Apparently, Zaitseff's modifications are too persistent but I can't tell
 >>anything because I don't have the sources.
 >
 >
 > Source follows,

Thanks.  Basically, the problem is here

(defun css-mode()
   ...
   ; Setting up syntax table
   (modify-syntax-entry ?* ". 23")
   (modify-syntax-entry ?/ ". 14")
   ...

This will modify the syntax-table of the current buffer, which can be
any syntax table.  You can, for example, in *scratch* do M-x css-mode
and you will get C-like comments in all your Elisp buffers.  Weird.

Maybe this stuff works in a mmm-like environment where a buffer may have
multiple major modes.  As it stands, the code above is highly dangerous
and should be either fixed (by making a new syntax table) or removed.

</quote> so this bug is in css-mode, not emacs22 (I have now also
reproduced it with emacs21).  Should I close this and open a new one
for css-mode, or is there some way to re-assign it to css-mode instead ?

        Eddy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to