unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Texinfo-mode: filling breaks @dfn{}
@ 2003-05-12 14:15 Alan Mackenzie
  2003-05-14  2:38 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Mackenzie @ 2003-05-12 14:15 UTC (permalink / raw)


Emacs 21.1

In a file.texi, type in a @dfn{}, such that the term being elucidated
makes a line too big.  Then fill the paragraph with M-q (or let
auto-fill-mode do this).  For example:

...............
line, and which begins in column 0.  (By @dfn{continuation of the
previous line} is meant that the previous line is syntactically
...............

The filling fails to put the necessary \ to continue the @dfn onto the
next line.  That this is erroneous can be seen by the error messages
subsequently given by makeinfo:

cc-mode.texi:5114: Misplaced {.
cc-mode.texi:5114: Misplaced }.
cc-mode.texi:5114: @code missing close brace.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Texinfo-mode: filling breaks @dfn{}
  2003-05-12 14:15 Texinfo-mode: filling breaks @dfn{} Alan Mackenzie
@ 2003-05-14  2:38 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2003-05-14  2:38 UTC (permalink / raw)


> Date: 12 May 2003 16:15:23 +0200
> From: Alan Mackenzie <none@example.invalid>
> Newsgroups: gnu.emacs.bug
> 
> ...............
> line, and which begins in column 0.  (By @dfn{continuation of the
> previous line} is meant that the previous line is syntactically
> ...............
> 
> The filling fails to put the necessary \ to continue the @dfn onto the
> next line.  That this is erroneous can be seen by the error messages
> subsequently given by makeinfo:
> 
> cc-mode.texi:5114: Misplaced {.
> cc-mode.texi:5114: Misplaced }.
> cc-mode.texi:5114: @code missing close brace.

I cannot reproduce this problem: Texinfo does not require the argument
of @dfn to not span multiple lines, and thus makeinfo should not
complain about such @dfn's, and there's no need for the backslash.
And indeed, it didn't complain for me when I tried this.  What version
of makeinfo are you using?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-14  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-12 14:15 Texinfo-mode: filling breaks @dfn{} Alan Mackenzie
2003-05-14  2:38 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).