From: Stefan Kangas <stefan@marxist.se>
To: "Евгений Курневский" <kurnevsky@gmail.com>
Cc: 35397@debbugs.gnu.org
Subject: bug#35397: flyspell-mode affects delete-selection-mode
Date: Sun, 30 Jun 2019 18:49:09 +0200 [thread overview]
Message-ID: <CADwFkm=3L-fWgLtbgsYD5LE5J-jBWh6r2KRgYiSEtKFQJe+B6g@mail.gmail.com> (raw)
In-Reply-To: <CAOEHfoj-F55+64oEh4etk-gnsPPE-R157o801vuRwavOLHMWTg@mail.gmail.com>
Евгений Курневский <kurnevsky@gmail.com> writes:
> Emacs version: 26.2
> Steps to reproduce:
> emacs -Q
> M-x delete-selection-mode
> M-x flyspell-mode
> Type one word, select it and type one character. This character will be selected for flyspell-delay seconds.
> Desired behavior - selection disappears right after new character is inserted, as without flyspell-mode.
I tried the following steps:
0. emacs -Q
1. M-x delete-selection-mode
2. M-x flyspell-mode
3. foobar C-SPC C-a x
What I see is that "x" is highlighted for flyspell-delay seconds. If I
continue typing before that, the highlighting immediately disappears.
If I type "1" instead of "x", there is no highlighting.
Crucially, the "x" does not get replaced by subsequent characters, as it
would have been under delete-selection-mode if the "x" was actually
selected. In other words, if you change step three to:
3. foobar C-SPC C-a xyz
You see a buffer containing "xyz".
Thus, the problem seems to be the highlighting only, which could perhaps
be somewhat confusing to a user. I think this is indeed a bug (or
buglet), although its mostly cosmetic.
Could you please confirm this, or are you talking about something else?
Thanks,
Stefan Kangas
next prev parent reply other threads:[~2019-06-30 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 15:24 bug#35397: flyspell-mode affects delete-selection-mode Евгений Курневский
2019-06-30 16:49 ` Stefan Kangas [this message]
2019-06-30 17:53 ` Евгений Курневский
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=3L-fWgLtbgsYD5LE5J-jBWh6r2KRgYiSEtKFQJe+B6g@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=35397@debbugs.gnu.org \
--cc=kurnevsky@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.