-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
fill-paragraph behaves unexpectedly in Twig comments #42
Comments
@NateEag could you provide 2 gist files : the source before and the source after (after = the way you would like that it would indented) ... I've never used fill-paragraph |
@NateEag Ok got it |
Yes - I would like the comment to be wrapped to fill-column width, and only the comment to be wrapped, not any of the following lines. That is the behavior I am used to from other programming modes. I'm not aware of a use for fill-paragraph other than free-flowing text, so I can't see offhand where you'd use it other than a comment. The gists you requested: https://gist.github.com/NateEag/5179360 - before |
should be better with last commit. I'll have to implement all the cases (I have to be compatible with all the comment syntaxes) |
Much better. Thanks! |
Consider the following code snippet:
As it says, if I use M-q to fill the paragrah, I would expect only the comment's contents to be filled, but instead, everything up to the first blank line is filled, making M-q useless for comments.
Tested with current master, using Aquamacs 2.4 (a.k.a Emacs 23.3.50.1).
The text was updated successfully, but these errors were encountered: