Skip to content
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 does not respect comments #22

Open
odanoburu opened this issue Jan 28, 2020 · 2 comments
Open

fill-paragraph does not respect comments #22

odanoburu opened this issue Jan 28, 2020 · 2 comments

Comments

@odanoburu
Copy link
Contributor

if I have a buffer with content like thus

◊; lorem
ipsum

when I invoke fill-paragraph (usually bound to M-q), the result is

◊; lorem ipsum

whereas I would expect the text not to change at all, see the same content in org syntax:

# lorem
ipsum

after pressing M-q:

# lorem
ipsum
@lijunsong
Copy link
Owner

Yes, it seems we need to tune paragraph-separate or paragraph-start to make it behave correctly. I'll fix it soon. Thanks for reporting.

@odanoburu
Copy link
Contributor Author

I tried this

◊; Local Variables:
◊; mode: pollen
◊; paragraph-start: "\\(◊;\\)\\|\\|[ 	]*$"
◊; comment-start: "◊;"
◊; comment-start-skip: "◊;{?[[:space:]]*"
◊; End:

and the behaviour improved in some situations, but still doesn't work properly in all of them…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants