From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72689: 31.0.50; Proposal to improve string-pixel-width Date: Sat, 31 Aug 2024 11:26:59 +0300 Message-ID: <86ed65cd2k.fsf@gnu.org> References: <54d1d667-55d0-41fc-9eec-38b3881d799b@orange.fr> <86bk1q1m0l.fsf@gnu.org> <8634n219b1.fsf@gnu.org> <35119d55-c582-4f4b-b80d-d94fc6b8886c@orange.fr> <86jzgauiav.fsf@gnu.org> <358cf360-aa39-4551-aa8f-46543df07eda@orange.fr> <86seuxte6r.fsf@gnu.org> <867cc8u8lj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72689-done@debbugs.gnu.org To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 31 10:28:17 2024 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 1skJSy-0004hD-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Aug 2024 10:28:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skJSp-00045j-A3; Sat, 31 Aug 2024 04:28:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skJSm-00044T-Vv for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 04:28:05 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1skJSm-0000ig-MD for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 04:28:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=xE6sowrlsazAjjXx/4ljWEZgIIwZUj0zlx0konfUgUA=; b=dwLS+TqiMMvM3yrbDoB2f3W1GRqvxuHkqeMNKMYLKpixzofFN6Q7IpRCVcn5h0VaJXymsGeJyjA1fbDx6RRGoqHewyqjHweejxpMPzp4Vsa5LhnlF1ODesDcU8UZt9hostXZyKzx9WnmvTf7bKgAqo13deWhwwgPBfO950+dEXar7uSORQYzbO3R8iWDX+D0Qmz1BXPTnW9P+Lmg5TH1acNZaK4ChIqD1WxFN7Pysosa86iUx4z618UVxbpCRB8fYfh9R/aHV4mjElmjMC5sftnGtqle1BiHoJ0zDhbCVFPM7V+iaXlDsBWHpcnVmkK5wBCGHCEc4wPRL5cxlZfQmg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1skJTi-00073C-FB for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 04:29:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Aug 2024 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72689 X-GNU-PR-Package: emacs Mail-Followup-To: 72689@debbugs.gnu.org, eliz@gnu.org, da_vid@orange.fr Original-Received: via spool by 72689-done@debbugs.gnu.org id=D72689.172509288927001 (code D ref 72689); Sat, 31 Aug 2024 08:29:02 +0000 Original-Received: (at 72689-done) by debbugs.gnu.org; 31 Aug 2024 08:28:09 +0000 Original-Received: from localhost ([127.0.0.1]:53911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skJSq-00071Q-Mr for submit@debbugs.gnu.org; Sat, 31 Aug 2024 04:28:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skJSo-00070u-Cj for 72689-done@debbugs.gnu.org; Sat, 31 Aug 2024 04:28:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skJRm-0000eM-IQ; Sat, 31 Aug 2024 04:27:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xE6sowrlsazAjjXx/4ljWEZgIIwZUj0zlx0konfUgUA=; b=Daauv7EJDt18 N7YbUTZdtEpJyppYUvKs3416OunokJb76KLEGeSyKGyY17jUhcqYZHoOrS43MX9K9hEw6S6k5zx3G NhvfnZP8pxZgjhOlUpUkJY20IrNHnE1+Yqd0ao77to/GOMjw29/yd6H+ke292HZ9C1l8K5sYDGe2U FVCjvXgOKWQ9b1pDjJCVFqM/UGQYz7uYogpMvgGSWa4o28+SDLQkjdUgmeLAvkGR90xC3Dg5gFb1h DEVhcVZhb7ouM7q2N2dxYjJBqxixFdf7xQ+deO1evw/wwoQgJ3E8WPffkWATVT5hj7w33w6UmkqfR zjA3s5d3yGBbF6oSSH2gbg==; In-Reply-To: (message from David Ponce on Thu, 22 Aug 2024 16:56:11 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290988 Archived-At: > Date: Thu, 22 Aug 2024 16:56:11 +0200 > Cc: 72689@debbugs.gnu.org > From: David Ponce > > > LGTM, thanks. > > Thanks. Please find attached 2 patches: > > 1. with-work-buffer.patch to introduce the new macro with-work-buffer. > > 2. string-pixel-width.patch to improve `string-pixel-width'. Thanks, installed on the master branch, and closing the bug. Please in the future try to submit patches using "git format-patch", as that makes the patches easier to apply.