> From: Jean-Christophe Helary <[email protected]> > Date: Sat, 25 Jan 2020 10:51:52 +0900 > > > Sorry, I don't know what you mean. This sounds like an Emacs question > > (if you are using Emacs). > > Yes, but. > > @lisp > > (lispy stuff) > > @end lisp > > The *output* is not indented at all. I'd have expected that telling the > texinfo processor that the block is a lisp block (and not some arbitrary code > block) would have automatically generated properly indented output.
No. It is not the job of the Texinfo processors to indent code in @example or @lisp according to the language rules. On the contrary: the Texinfo processors refrain from any changes in the indentation in these blocks, they just indent the entire block a little ways, leaving the rest to you. See the description of this in the "@example" node of the Texinfo manual.
