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#74255: 30.0.91; artist-mode right to left input introduces gaps Date: Sat, 23 Nov 2024 14:21:03 +0200 Message-ID: <867c8um98w.fsf@gnu.org> References: <86iksvlats.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39674"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74255-done@debbugs.gnu.org To: van.ly@SDF.ORG Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 13:22:23 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 1tEp9a-000AAF-MV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 13:22:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEp9I-0002aD-TL; Sat, 23 Nov 2024 07:22:04 -0500 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 1tEp9H-0002Zx-KD for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 07:22:03 -0500 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 1tEp9H-0005q9-Ad for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 07:22:03 -0500 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=4oblLhb9P6OOyB6/PEW7TxUvn1rG+kfT9BRE3J418m8=; b=KbUYF3JoxT9TJtV70ECp2w+pLhjDIk7Kuf/q6+MuUUnqcICQzzJ9zIP2LlAll3slgPQlMgp4hT0yX7a2URmANBp00yGZVtoaPSsEE9mWo+ZK9G6UZnFqodXs8pJiuhGLts6C+xULH64WdLo9VgyQwWNcyn5gQC9SZrdnptXN5W+JDnrFaI59ho9pQ7mmP8m7Pf/WZlzH1DDKZJYC8p0xJGf5vadTYFQlQE9OkmIYWh+XqP/cVAJo+YPvTv9iJpAGY34eN+kNghp5IzLqeRCI1CGZP+MxNXpW1FywmHNfcvnkn7g+/OdbmRKWVTSc0SvBK2SH30qD5mvP6JBrgVGHuA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEp9H-0003oV-4k for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 07:22:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74255 X-GNU-PR-Package: emacs Mail-Followup-To: 74255@debbugs.gnu.org, eliz@gnu.org, van.ly@SDF.ORG Original-Received: via spool by 74255-done@debbugs.gnu.org id=D74255.173236447314566 (code D ref 74255); Sat, 23 Nov 2024 12:22:02 +0000 Original-Received: (at 74255-done) by debbugs.gnu.org; 23 Nov 2024 12:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:56979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEp8T-0003mr-Bc for submit@debbugs.gnu.org; Sat, 23 Nov 2024 07:21:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEp8R-0003mb-1O for 74255-done@debbugs.gnu.org; Sat, 23 Nov 2024 07:21:11 -0500 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 1tEp8L-0005ic-RF; Sat, 23 Nov 2024 07:21:05 -0500 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=4oblLhb9P6OOyB6/PEW7TxUvn1rG+kfT9BRE3J418m8=; b=d33m/LTEe0Ey 9IJG/z4r4GOVSbdFJNANi3/Fk3MQAh44ZDG0j33urafJE1UBlI3lAZp+D2y+u62W8ZfnR0HXQ79HW kiJyUn9x3q53tvO+tbG9Gu1Sf7hw63yRdRqmlFyM4bszy/Wu+Vx1ywi1AWepbMhsuJYGcIkL8jXs5 lg3jwbtVo90ks4mBrKxxzmokQRvQ9cxykIE/z7WXD8hsnG4b89R02803W8t4qKu/Rpc6rdPgWawcI 1aPgmSTq5XbSNrzYZ771d5T/hGcN6uerKB/PwPCPC6c2LdVMsXhCeQ9lXxObICeg7lZtoBbnaAWtD oRh53rgMO0vgnsYGwfKing==; In-Reply-To: <86iksvlats.fsf@gnu.org> (message from Eli Zaretskii on Sun, 10 Nov 2024 11:03:43 +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:295821 Archived-At: > Cc: 74255@debbugs.gnu.org > Date: Sun, 10 Nov 2024 11:03:43 +0200 > From: Eli Zaretskii > > > Date: Fri, 08 Nov 2024 12:06:55 +0000 > > From: Van Ly via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > Drawing a rectangle in artist-mode going in the directions > > > > . down > > . left to right > > . up > > . right to left > > > > introduces gaps unexpectedly at the final closing top side. See, > > > > => http://sdf.org/~van.ly/img/emacs-30-0-91-artist-mode-rectangle-draw.jpeg . > > > > To demonstrate, > > > > 1. start, emacs -Q > > 2. open buffer and activate artist-mode > > a. C-x b a RET > > b. M-x artist-mode > > 3. draw line going down > > a. C-c . > > b. type +, type 40 . > > 4. draw line going left to right > > a. C-c > > > b. type +, type 40 . > > 5. draw line going up > > a. C-c ^ > > b. type +, type 40 . > > 6. draw line going right to left > > a. C-c < > > b. type +, type 40 . > > c. gaps are introduced between sequences of . > > > > Expected result is a rectangle with no gaps on the top side. > > This was because in Emacs 25 picture-mode started to use string-width, > which is inaccurate when TAB characters are inserted into the buffer. > > Now fixed on the emacs-30 release branch. No further comments, so I'm now closing this bug.