GNU bug report logs - #58067
29.0.50; Miscomputation of percentage width in vtable--compute-width

Previous Next

Package: emacs;

Reported by: Pierre Lairez <pierre <at> lairez.fr>

Date: Sun, 25 Sep 2022 07:44:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58067 in the body.
You can then email your comments to 58067 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58067; Package emacs. (Sun, 25 Sep 2022 07:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Lairez <pierre <at> lairez.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 25 Sep 2022 07:44:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Lairez <pierre <at> lairez.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Miscomputation of percentage width in vtable--compute-width
Date: Sat, 24 Sep 2022 12:58:26 +0200
(eq (vtable--compute-width nil "100%") (window-width nil t))
shoud be true.

In the file lisp/emacs-lisp/vtable.el, in the function
vtable--compute-width, do not handle percentage argument, like "50%",
correctly. A division by 100 is missing.


In GNU Emacs 29.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.17.6) of 2022-09-20 built on ogoshi
Repository revision: f419c507a778b87edd95983e8ea37f162ce50bf3
Repository branch: makepkg
Windowing system distributor 'The X.Org Foundation', version 11.0.12201003
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt --without-gconf
 --with-native-compilation --with-xinput2 --with-x-toolkit=gtk3
 --without-xaw3d --with-sound=no --without-gpm
 --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM
XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: fr_FR.UTF-8
  value of $LC_NUMERIC: fr_FR.UTF-8
  value of $LC_TIME: fr_FR.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58067; Package emacs. (Mon, 26 Sep 2022 11:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 58067 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pierre Lairez <pierre <at> lairez.fr>
Cc: 58067 <at> debbugs.gnu.org
Subject: Re: bug#58067: 29.0.50; Miscomputation of percentage width in
 vtable--compute-width
Date: Mon, 26 Sep 2022 13:28:42 +0200
Pierre Lairez <pierre <at> lairez.fr> writes:

> In the file lisp/emacs-lisp/vtable.el, in the function
> vtable--compute-width, do not handle percentage argument, like "50%",
> correctly. A division by 100 is missing.

Yup.  I've now fixed that.




bug marked as fixed in version 29.1, send any further explanations to 58067 <at> debbugs.gnu.org and Pierre Lairez <pierre <at> lairez.fr> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 26 Sep 2022 11:29:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Oct 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.