Subject: bug#74255: closed (Re: bug#74255: 30.0.91; artist-mode right to left input introduces gaps)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 23 Nov 2024 12:22:03 +0000

Your bug report

#74255: 30.0.91; artist-mode right to left input introduces gaps

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
74255: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74255
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#74255: 30.0.91; artist-mode right to left input introduces gaps
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sat, 23 Nov 2024 14:21:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Cc: [email-masked]
> Date: Sun, 10 Nov 2024 11:03:43 +0200
> From: Eli Zaretskii <[email-masked]>
> 
> > 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" <[email-masked]>
> > 
> > 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.

Subject: 30.0.91; artist-mode right to left input introduces gaps
From: Van Ly <[email-masked]>
To: [email-masked]
Date: Fri, 08 Nov 2024 12:06:55 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

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.

-- 
vl