From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#52102: 29.0.50; Build failure in doc/lispref/display.texi Date: Thu, 25 Nov 2021 13:58:01 +0100 Message-ID: <87tug075pi.fsf@gmail.com> References: <71524638.397705.1637843128560.JavaMail.zimbra@inf.utfsm.cl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39154"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52102@debbugs.gnu.org To: Horst von Brand Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 25 14:00:04 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqEM7-0009z4-Ha for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Nov 2021 14:00:03 +0100 Original-Received: from localhost ([::1]:50260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqEM6-0005p6-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Nov 2021 08:00:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqEL8-0004X4-EJ for bug-gnu-emacs@gnu.org; Thu, 25 Nov 2021 07:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqEL8-0008UB-4S for bug-gnu-emacs@gnu.org; Thu, 25 Nov 2021 07:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqEL7-0001QF-JZ for bug-gnu-emacs@gnu.org; Thu, 25 Nov 2021 07:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Nov 2021 12:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52102 X-GNU-PR-Package: emacs Original-Received: via spool by 52102-submit@debbugs.gnu.org id=B52102.16378450935402 (code B ref 52102); Thu, 25 Nov 2021 12:59:01 +0000 Original-Received: (at 52102) by debbugs.gnu.org; 25 Nov 2021 12:58:13 +0000 Original-Received: from localhost ([127.0.0.1]:56120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqEKK-0001P3-Ry for submit@debbugs.gnu.org; Thu, 25 Nov 2021 07:58:13 -0500 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:53063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqEKH-0001Ol-BA for 52102@debbugs.gnu.org; Thu, 25 Nov 2021 07:58:11 -0500 Original-Received: by mail-wm1-f54.google.com with SMTP id o29so5498462wms.2 for <52102@debbugs.gnu.org>; Thu, 25 Nov 2021 04:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=44NyEuOLEicDIrltKXXEtoWEoNzvnytx9vULe5063WU=; b=amgDfVmPEvdl+WKsvz6gkbRd6XbMoRcfHsrH96Cfi9eTR0GovmaPv9O0udngT8ysZ4 wo9onKachyhVR1MJbCkbmicu/myJbmmOSPNEab3RwfXcHTU3yd8VunT/stlIIbnHGino W2etxEAukmyncIHIDr5Uyp1htSV3aXHhafH8lbolCR+l1s6X869UzsnMhzfwcAvH7xD7 vvdfXZIpAR8s+qItVmPSHdqmtzEXERIKQuftN75rAU5+K8+/rRxEneT6Z8HppmDmni4W u4kxZj7fr2/xv5U4aqwqHHLNNgpxDXznKXknqIFEQ4hPbv/w9/Goe7swRxbFxJql55la gi4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=44NyEuOLEicDIrltKXXEtoWEoNzvnytx9vULe5063WU=; b=6kAuWgFdfgvdVPC5wkjkU6gEA5xQBMGGCgjErfXU6khTVaV8XTVwsMvLA2ktHt5Tt9 0yhOsqNISrsU3D9k3uPTBiUR+ZTpTSeGA76Q50DDx8IZ9Bzfuzttuh/fdLyeJx1rCXVO /K//61AqUkDf/a0AbRL1bo2jtv9sz/j9eOHM8YgrwPzlrPUgcW0VBm6A3qc36TaIyHEV uB/Ep+MLkjGpjIk+x9AEglAR2cnhL/LrQ8B9Et0CbYe9+jm6YqsStbPr0MO2Zh3a3YBR Vk6uZgkb7g+bFrwXtFV2e8rOOC4H7L7cwUGTVWNG3jUSN9AnUN+dUUKTdx5+LjnQkNHf HwmQ== X-Gm-Message-State: AOAM533tIZdre4ra/eXW01b9znK4cicBSy/k5rPhEOKK163zVS0TE6md hml6KpQbQRhyzmi5MMSwUZGaI87PBTo= X-Google-Smtp-Source: ABdhPJz8ltNTDPLZwuJNnVWWHiQsY3iyFWr2d3l22tJTcSofI6ihhAJ+yhDQskN3NQAsdL9aS8ZRyQ== X-Received: by 2002:a1c:1c8:: with SMTP id 191mr6712463wmb.90.1637845082824; Thu, 25 Nov 2021 04:58:02 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:e24a:add5:5ee1:31a8]) by smtp.gmail.com with ESMTPSA id o12sm4150525wrc.85.2021.11.25.04.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 04:58:02 -0800 (PST) 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)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220820 Archived-At: >>>>> On Thu, 25 Nov 2021 09:25:28 -0300 (CLST), Horst von Brand 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 --