From: Robert Pluim <rpluim@gmail.com>
To: Horst von Brand <vonbrand@inf.utfsm.cl>
Cc: 52102@debbugs.gnu.org
Subject: bug#52102: 29.0.50; Build failure in doc/lispref/display.texi
Date: Thu, 25 Nov 2021 13:58:01 +0100 [thread overview]
Message-ID: <87tug075pi.fsf@gmail.com> (raw)
In-Reply-To: <71524638.397705.1637843128560.JavaMail.zimbra@inf.utfsm.cl> (Horst von Brand's message of "Thu, 25 Nov 2021 09:25:28 -0300 (CLST)")
>>>>> On Thu, 25 Nov 2021 09:25:28 -0300 (CLST), Horst von Brand <vonbrand@inf.utfsm.cl> said:
Horst> Build "make distclean; ./autogen.sh; make install" fails:
Horst> /home/vonbrand/tmp/emacs/doc/lispref/display.texi:2055: @group invalid in conte
Horst> xt where filling is enabled.
Horst> @group ...lid in context where filling is enabled}
Horst> @fi @startsavinginserts @s...
Horst> l.2055 @group
Horst> ?
Horst> /home/vonbrand/tmp/emacs/doc/lispref/display.texi:2055: Emergency stop.
Horst> @group ...lid in context where filling is enabled}
Horst> @fi @startsavinginserts @s...
Horst> l.2055 @group
Horst> Output written on elisp.dvi (1096 pages, 4170096 bytes).
Horst> Transcript written on elisp.log.
Horst> /usr/bin/texi2dvi: etex exited with bad status, quitting.
Horst> make[1]: *** [Makefile:150: elisp.dvi] Error 1
Horst> make[1]: Leaving directory '/home/vonbrand/tmp/emacs/doc/lispref'
Horst> make: *** [Makefile:1084: install-lispref-dvi] Error 2
Does this fix it? Eli, emacs-28 has the same issue.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 6742f0ea2d..0bdbc06013 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2052,14 +2052,14 @@ Size of Displayed Text
property (@pxref{Display Property}) showing the ellipsis, instead of
actually truncating the string.
-@group
@example
+@group
(truncate-string-to-width "\tab\t" 12 4)
@result{} "ab"
(truncate-string-to-width "\tab\t" 12 4 ?\s)
@result{} " ab "
-@end example
@end group
+@end example
This function uses @code{string-width} and @code{char-width} to find
the suitable truncation point when @var{string} is too wide, so it
Robert
--
next prev parent reply other threads:[~2021-11-25 12:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 12:25 bug#52102: 29.0.50; Build failure in doc/lispref/display.texi Horst von Brand
2021-11-25 12:58 ` Robert Pluim [this message]
2021-11-25 13:14 ` Eli Zaretskii
2021-11-25 14:33 ` Robert Pluim
2021-11-25 15:12 ` Eli Zaretskii
2021-11-25 15:22 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tug075pi.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=52102@debbugs.gnu.org \
--cc=vonbrand@inf.utfsm.cl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.