chiark / gitweb /
el/dot-emacs.el: Sharpen up the page delimiter patterns.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 25 Apr 2020 22:08:29 +0000 (23:08 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 25 Apr 2020 22:08:29 +0000 (23:08 +0100)
commit5a29709b2dc76bc1753b4be5656414c39d5b057a
tree98a716429d423de41671d11a56241c891e52c97e
parent3260d9c4edcb845b7b441d42c294942957bee5ce
el/dot-emacs.el: Sharpen up the page delimiter patterns.

The page-banner pattern is now much more precise: we need a brief
comment-opening sequence, up against the left margin, exactly five `-'s,
an optional heading surrounded by spaces, and then more `-'s to the end
of the line, with an optional short comment-closing sequence or knob.
I've not been especially picky about the comment opening and closing
sequences except that they should be short, but I don't think that will
be a problem.

We now need the `^L' to be at the start of the line.  The documentation
implies that Emacs already ensured this, but that's not true.
el/dot-emacs.el