-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with column-enforce-mode and long literate (latex-style) comments #331
Comments
@listx: I know this is an old issue, but could you create a test case in |
Between work and my other projects I do not have the time to learn how the test suite works, and to add a test case for it. Sorry! FWIW the issue is still relevant. |
Note that we have changed significantly how comments are marked in Latex sources. It used to use start and and of comment, right now it is per line. Can you check if the issue really persist after #1050 got merged? |
So, my last comment stating that the issue still persists was in error. Since the time of the original report, I had moved to MMM (Multiple Major Modes) and had enabled LaTeX mode for the latex-style comment regions. For some reason I had equated the long-line highlighting within the LaTeX mode (not Simply enabling Thanks @gracjan for the tip |
column-enforce-mode
(https://github.com/jordonbiondo/column-enforce-mode) is a minor mode that highlights long lines (starting with the 80th column).As of today,
column-enforce-mode
has a new feature variable calledcolumn-enforce-comments
that disables highlighting long lines if they are comment lines. From what I can tell, haskell-mode has a caching mechanism for applyingfont-lock-comment-face
(inhaskell-fl-latex-comments
) andcolumn-enforce-comments
does not work reliably with it (sometimes it highlights long comment lines, sometimes it doesn't --- all within the same file).Is there a way to fix this?
The text was updated successfully, but these errors were encountered: