From: Teemu Likonen <tlikonen@iki.fi>
To: emacs-devel@gnu.org
Subject: awk-mode's paragraph separators don't match empty lines
Date: Tue, 30 Dec 2008 19:29:23 +0200 [thread overview]
Message-ID: <87eizpinbg.fsf@iki.fi> (raw)
In awk-mode an empty line is not considered a paragraph separator, only
lines containing whitespace and # character(s) are. The value of both
paragraph-start and paragraph-separate are set as follows:
"[ \t]*\\(#+\\)[ \t]*$\\|^\f"
^^
See, at least one # is required. I believe that the following patch is
at least part of the solution but perhaps also style settings need
adjusting. I don't know how to do that.
diff --git i/lisp/progmodes/cc-vars.el w/lisp/progmodes/cc-vars.el
index 18f314c..62c85f0 100644
--- i/lisp/progmodes/cc-vars.el
+++ w/lisp/progmodes/cc-vars.el
@@ -483,7 +483,7 @@ style comments."
(defcustom-c-stylevar c-comment-prefix-regexp
'((pike-mode . "//+!?\\|\\**")
- (awk-mode . "#+")
+ (awk-mode . "#*")
(other . "//+\\|\\**"))
"*Regexp to match the line prefix inside comments.
This regexp is used to recognize the fill prefix inside comments for
reply other threads:[~2008-12-30 17:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eizpinbg.fsf@iki.fi \
--to=tlikonen@iki.fi \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.