[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49558: fill paragraph in texinfo-mode fails with @

From: Lars Ingebrigtsen
Subject: bug#49558: fill paragraph in texinfo-mode fails with @
Date: Wed, 14 Jul 2021 15:53:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> That's because you think about it as plain text.  It isn't.
> Basically, lines that start with @foo are directives, not text.
> It could be somewhat surprising, because it otherwise looks very much
> like plain text, but without those definitions of paragraph-start and
> paragraph-separate, things would be much worse.  E.g., copy this to a
> text-mode buffer, then type M-q:
> @itemize @bullet
> @item
> If the text consists of a special glyph, the glyph can specify a
> particular face.  @xref{Glyphs}.

Filling is one thing, but paragraphs are another.  texinfo-mode relies
on the paragraph definition being...  eccentric... to avoid filling
lines that start with "@word ".

I think the paragraph definition should be more traditional, and
`fill-paragraph-function' should be adjusted to do the right thing on
the @directives that we don't want to have filled.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]