I was debugging some of my elisp code and realized that, in a tex-mode buffer, the newline character at end of line did not match [[:space:]]. In most other textmodes or progmodes, ie, the few I tested before posting :-), newline does match [[:space:]].
The above situation breaks a lot of my old pattern-matching code and raises two questions:
What is the rationale for this design?
In case I want to change the status of ?\n so that it matches [[:space:]], are there hidden inconvenients to using
(modify-syntax-entry ?\n " " st) ?