Skip to content

how to match lines starting with a single semicolon ; but exclude lines starting with double semicolons ;; #1171

Answered by minad
AnabasisXu asked this question in Q&A
Discussion options

You must be logged in to vote

My current outline-regexp allows me to use only boxes as heading, so that normal comments that also starts with ;; will be left out.

My suggestion is to not use boxes. I understand that this is a stylistic preference, but overall I rather adapt to the common style I see in the Emacs code base and in most packages.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AnabasisXu
Comment options

@minad
Comment options

Answer selected by AnabasisXu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants