GNU bug report logs -
#78671
30.1.90; headlines in org quote blocks
Previous Next
Full log
View this message in rfc822 format
>>>>> On Mon, 02 Jun 2025 07:40:22 -0800, Christopher Howard <christopher <at> librehacker.com> said:
Christopher> I recently tried wrapping some old fortran code in _QUOTE blocks, or
Christopher> also in _SRC blocks. This code uses the asterisk ("*") at the
Christopher> beginning of comment lines. I discovered that Org still tries these
Christopher> like header lines, even though they are in the blocks and, intuitively
Christopher> at least, should be treated differently. So they end up affecting the
Christopher> structure of the Org document. In a quick search through the Org info
Christopher> manual, I couldn't find an indication that I was required to do some
Christopher> kind of escaping on these characters inside wrapping blocks. Is this a
Christopher> flaw in the parsing system, or I did I miss something?
(info "(org) Literal Examples") says
There is one limitation, however. You must insert a comma right
before lines starting with either ‘*’, ‘,*’, ‘#+’ or ‘,#+’, as those may
be interpreted as outlines nodes or some other special syntax. Org
transparently strips these additional commas whenever it accesses the
contents of the block.
Robert
--
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.