From: Eli Zaretskii <eliz@gnu.org>
To: van.ly@SDF.ORG
Cc: 74255-done@debbugs.gnu.org
Subject: bug#74255: 30.0.91; artist-mode right to left input introduces gaps
Date: Sat, 23 Nov 2024 14:21:03 +0200 [thread overview]
Message-ID: <867c8um98w.fsf@gnu.org> (raw)
In-Reply-To: <86iksvlats.fsf@gnu.org> (message from Eli Zaretskii on Sun, 10 Nov 2024 11:03:43 +0200)
> Cc: 74255@debbugs.gnu.org
> Date: Sun, 10 Nov 2024 11:03:43 +0200
> From: Eli Zaretskii <eliz@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@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.
prev parent reply other threads:[~2024-11-23 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 12:06 bug#74255: 30.0.91; artist-mode right to left input introduces gaps Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-10 9:03 ` Eli Zaretskii
2024-11-23 12:21 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=867c8um98w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=74255-done@debbugs.gnu.org \
--cc=van.ly@SDF.ORG \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).