unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Zack Weinberg <zackw@panix.com>
To: Eli Zaretskii <eliz@gnu.org>, 45054@debbugs.gnu.org
Subject: bug#45054: 27.1; Can get point into the middle of a run of characters with a replacing display spec
Date: Sat, 5 Dec 2020 17:12:35 -0500	[thread overview]
Message-ID: <CAKCAbMhoRuOcVF53Nm1kSJ0HeM6-Tc7iAyzDe-6q42k8FkHsHQ@mail.gmail.com> (raw)
In-Reply-To: <CAKCAbMipxyka3DNGYOswAewqN8PCGknMdnp3pkAVDi5V-Pcrxg@mail.gmail.com>

On Sat, Dec 5, 2020 at 4:54 PM Zack Weinberg <zackw@panix.com> wrote:
> As a matter of fact, for the larger goal, I think I can just ... use
> prettify-symbols-mode. :)  Thanks for the pointer, I missed that that
> had been added.

prettify-symbols-mode exhibits the same bug!

Simpler reproduction recipe:

type "ambda" in a lisp-interaction-mode buffer
place point immediately before the first "a"
M-x prettify-symbols-mode
type "l"; the word "lambda" will vanish and a λ will appear in its
place; the visible cursor will be just after the λ
type "x"; the λ will disappear and "lxambda" will appear, the visible
cursor will be just after the "x".

This might mean that the bug also affects writing ordinary text in
scripts where composite.el is necessary for correct appearance; I'm
not familiar enough with any of those to say for sure.

zw





  parent reply	other threads:[~2020-12-05 22:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05 15:54 bug#45054: 27.1; Can get point into the middle of a run of characters with a replacing display spec Zack Weinberg
2020-12-05 15:59 ` Zack Weinberg
2020-12-05 16:18 ` Eli Zaretskii
2020-12-05 20:00   ` Zack Weinberg
2020-12-05 20:12     ` Eli Zaretskii
2020-12-05 20:30   ` Eli Zaretskii
     [not found]     ` <CAKCAbMipxyka3DNGYOswAewqN8PCGknMdnp3pkAVDi5V-Pcrxg@mail.gmail.com>
2020-12-05 22:12       ` Zack Weinberg [this message]
2020-12-06  5:41         ` Eli Zaretskii
2020-12-09 18:56           ` Zack Weinberg
2020-12-09 19:14             ` Eli Zaretskii
2020-12-09 19:20               ` Zack Weinberg
2020-12-09 19:50                 ` Eli Zaretskii

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=CAKCAbMhoRuOcVF53Nm1kSJ0HeM6-Tc7iAyzDe-6q42k8FkHsHQ@mail.gmail.com \
    --to=zackw@panix.com \
    --cc=45054@debbugs.gnu.org \
    --cc=eliz@gnu.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).