From unknown Thu Aug 14 21:22:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58067 <58067@debbugs.gnu.org> To: bug#58067 <58067@debbugs.gnu.org> Subject: Status: 29.0.50; Miscomputation of percentage width in vtable--compute-width Reply-To: bug#58067 <58067@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:22:14 +0000 retitle 58067 29.0.50; Miscomputation of percentage width in vtable--comput= e-width reassign 58067 emacs submitter 58067 Pierre Lairez severity 58067 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 03:44:00 2022 Received: (at submit) by debbugs.gnu.org; 25 Sep 2022 07:44:00 +0000 Received: from localhost ([127.0.0.1]:45784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocMIv-0002K1-Nt for submit@debbugs.gnu.org; Sun, 25 Sep 2022 03:44:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:59188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc2rq-0006AR-V2 for submit@debbugs.gnu.org; Sat, 24 Sep 2022 06:58:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc2rq-0002FM-Ps for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 06:58:42 -0400 Received: from 18.mo581.mail-out.ovh.net ([188.165.56.163]:42469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc2rp-0004zV-03 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 06:58:42 -0400 Received: from player694.ha.ovh.net (unknown [10.108.16.216]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 231C5239FD for ; Sat, 24 Sep 2022 10:58:30 +0000 (UTC) Received: from lrz.fr (unknown [37.167.126.181]) (Authenticated sender: pi@lrz.fr) by player694.ha.ovh.net (Postfix) with ESMTPSA id 3B1212EDA6A76 for ; Sat, 24 Sep 2022 10:58:28 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R006b8c49fb7-3f1d-411c-8d99-4ad51289d5e2, 0A5FD981E554799C67C04BC095D53C2D26D014CC) smtp.auth=pi@lrz.fr X-OVh-ClientIp: 37.167.126.181 From: Pierre Lairez To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Miscomputation of percentage width in vtable--compute-width Date: Sat, 24 Sep 2022 12:58:26 +0200 Message-ID: <87h70xt4x9.fsf@lairez.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 16344970422620957348 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefkedgfeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefrihgvrhhrvgcunfgrihhrvgiiuceophhivghrrhgvsehlrghirhgviidrfhhrqeenucggtffrrghtthgvrhhnpedvgfekjeejffekvdevhfeljeekjeelvddtvdegfeeftdduffefjeegvdeutdffjeenucfkpheptddrtddrtddrtddpfeejrdduieejrdduvdeirddukedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheileegrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepphhivghrrhgvsehlrghirhgviidrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekud Received-SPF: none client-ip=188.165.56.163; envelope-from=pierre@lairez.fr; helo=18.mo581.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 25 Sep 2022 03:43:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) (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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 07:28:52 2022 Received: (at 58067) by debbugs.gnu.org; 26 Sep 2022 11:28:52 +0000 Received: from localhost ([127.0.0.1]:49480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocmI8-0002Ek-HH for submit@debbugs.gnu.org; Mon, 26 Sep 2022 07:28:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocmI6-0002EW-QN for 58067@debbugs.gnu.org; Mon, 26 Sep 2022 07:28:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7UA+0f739gWBzYKdIxyNvruxkulKIQpO9pIQqGXKWMo=; b=RS/I5mK21rhKcopiXdBgZNq8xS psIvoZverJ/g2xV6kT0q4Y0FcsLvNaKg63Edx4ckwtCbJAJllnVyQbhVjG/qTTcw62ArQH/CVK47c ugg9EnQ/WAvgyUo9GUlsJQp7R43Zqym7XrwebDxCjDyylFRvE89WO/anZ2fglqIt8Exk=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ocmHy-0007Sk-Ln; Mon, 26 Sep 2022 13:28:44 +0200 From: Lars Ingebrigtsen To: Pierre Lairez Subject: Re: bug#58067: 29.0.50; Miscomputation of percentage width in vtable--compute-width In-Reply-To: <87h70xt4x9.fsf@lairez.fr> (Pierre Lairez's message of "Sat, 24 Sep 2022 12:58:26 +0200") References: <87h70xt4x9.fsf@lairez.fr> X-Now-Playing: Fairport Convention's _Come All Ye (5)_: "Sloth" Date: Mon, 26 Sep 2022 13:28:42 +0200 Message-ID: <875yha8jdh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pierre Lairez 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58067 Cc: 58067@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pierre Lairez 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 07:28:58 2022 Received: (at control) by debbugs.gnu.org; 26 Sep 2022 11:28:58 +0000 Received: from localhost ([127.0.0.1]:49483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocmID-0002F2-Sq for submit@debbugs.gnu.org; Mon, 26 Sep 2022 07:28:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocmIC-0002Ec-23 for control@debbugs.gnu.org; Mon, 26 Sep 2022 07:28:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GN3NetnQomGLFEUkfehUtiVQ1GMAwgmxqMe8pXBdEYE=; b=UdIYHjsvs0L6jQu0AqI9YAjETM Gcy4zWj/JOIw7lAVXforfl61oDNxGLApvPcZS7nRLyjqT8fKF8Jrkbno4NJui7GLdp4KX6wFxBsWJ iLewIaSW/iBszKghyajS9QxSHla29LPkHS0UcJQ/j3e/lcNZEkBj/YV2zPhU//RE8+sY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ocmI4-0007Sr-FL for control@debbugs.gnu.org; Mon, 26 Sep 2022 13:28:50 +0200 Date: Mon, 26 Sep 2022 13:28:46 +0200 Message-Id: <874jwu8jdd.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58067 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 58067 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 58067 29.1 quit From unknown Thu Aug 14 21:22:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 Oct 2022 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator