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: Sun, 10 Nov 2024 11:03:43 +0200 Message-ID: <86iksvlats.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15206"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74255@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 10 10:07:20 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 1tA3ui-0003ne-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Nov 2024 10:07:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tA3uU-00066j-2K; Sun, 10 Nov 2024 04:07:06 -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 1tA3uQ-00066H-Oc for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2024 04:07:02 -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 1tA3uQ-0007pb-Fc for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2024 04:07:02 -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=qpcKzgY7+L/bMtQFAHAJW3cOEovU29Y9gQUlSoI7Jh4=; b=BMZSK1CObUOkcQr5GenlYfhOQBbvh+EHTS02FgRP/nnSBxId0ryk7gqFDobKXX99fj4Ytg3+nCCBKsVZtQAM3BPBuJ34zzdbh6VWR9cPXg9pdlt0SO3zzLR2vPR6DyDjCxjagOc5yUsrY7UPIeLlf7n7VRH5cUkQSxtjD05GSXZU+uQSYJzRnlJG5hxKQdqChj60ZawzIj/LGefIuQ31g5w6UnFC0QNFVZ0VpmbfrDUDOewBs2hVWy4HFQG63q7UKNoR7PEG/6kCcH+Ru+Gv2qljFTRD/NdNuss5NonVjx0y7EUBxW2djw9cKRv7KlpDCk/4FlTIBlT3ZQo8CBTMyw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tA3uQ-0006gZ-6C for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2024 04:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2024 09:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74255 X-GNU-PR-Package: emacs Original-Received: via spool by 74255-submit@debbugs.gnu.org id=B74255.173122956725633 (code B ref 74255); Sun, 10 Nov 2024 09:07:02 +0000 Original-Received: (at 74255) by debbugs.gnu.org; 10 Nov 2024 09:06:07 +0000 Original-Received: from localhost ([127.0.0.1]:55542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA3tW-0006fM-I9 for submit@debbugs.gnu.org; Sun, 10 Nov 2024 04:06:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA3tS-0006eq-75 for 74255@debbugs.gnu.org; Sun, 10 Nov 2024 04:06:05 -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 1tA3rG-0007UW-Vf; Sun, 10 Nov 2024 04:03:46 -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=qpcKzgY7+L/bMtQFAHAJW3cOEovU29Y9gQUlSoI7Jh4=; b=n66WNcxMROcA iDFHHqkFGYG1yZVoA6v1JGDML+UDWRKYPIftQFjSBjRabPuINRptasrODoxuU8ZLmlsQAzKBwMVKs W262jb5b6R2jMBZQXRwGUM0ZLWAWyNMH6fy3IJh0OcJQqNeHv6A46Q/md/pLrGBMv8boka6ug8PBO 4Luf1tcXaE3XGFuKVzVbl1KY4fTyhHvFlzNywQkbfJF85BA8BML3Z+BolF8zuDRDF4Hqm795fmrS+ eOKZKuhvmeRlkiLcSDczWNB7hixjBwgPqyiTeZRZsQkCq3wm/2UE7nSuT7GXIjeNPeYrQ4bj8Ufk2 GmmN6TpI0KJy2T4IVplh/g==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:295172 Archived-At: > 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.