GNU bug report logs -
#74255
30.0.91; artist-mode right to left input introduces gaps
Previous Next
Reported by: Van Ly <van.ly <at> SDF.ORG>
Date: Fri, 8 Nov 2024 12:08:01 UTC
Severity: normal
Found in version 30.0.91
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 23 Nov 2024 14:21:03 +0200
with message-id <867c8um98w.fsf <at> gnu.org>
and subject line Re: bug#74255: 30.0.91; artist-mode right to left input introduces gaps
has caused the debbugs.gnu.org bug report #74255,
regarding 30.0.91; artist-mode right to left input introduces gaps
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
74255: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74255
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
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.
[x (application/octet-stream, attachment)]
[Message part 5 (text/plain, inline)]
--
vl
[Message part 6 (message/rfc822, inline)]
> Cc: 74255 <at> debbugs.gnu.org
> Date: Sun, 10 Nov 2024 11:03:43 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > 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" <bug-gnu-emacs <at> gnu.org>
> >
> > 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.
This bug report was last modified 177 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.