This has been driving me mad, and an hour of hacking at cperl-mode.el has only convinced me that I don't know elisp well enough to solve the problem....

Variables with twigils whose name matches something else are getting recognized incorrectly. For example, $.x is getting interpreted as $. followed by the x operator, $.system as $. and system, and so on. Worst of all are $.s, $.y, $.q and so on, because emacs is looking for the closing quote, wrecking all the syntax highlighting and indention from then on. It also appears that and aren't being interpreted correctly either, even when foo doesn't match anything else.

This observation is of the cperl-mode.el from the pugs repository.

Can anyone help fix cperl-mode with twigils?



Reply via email to