beware # at eob with no newline. On 10/27/19, Adam Porter <a...@alphapapa.net> wrote: > I agree with Robert that "whitespace" includes newlines in "Emacsland." > For example, with this document (the second "#" has a newline > immediately after, no spaces or tabs): > > #+BEGIN_SRC org > foo > > # comment > > bar > > # > > buzz > #+END_SRC > > This code matches both lines that begin with "#": > > (re-search-forward (rx bol "#" (1+ space))) > > But this code only matches the first one, because "blank" only matches > "horizontal whitespace": > > (re-search-forward (rx bol "#" (1+ blank))) > > So I think Pandoc is technically at fault here. However, outside of > Emacs's own context, I can see how the the documentation could be > misinterpreted in this case, so it's hard to fault them too much. :) > > >
-- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time.