unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 20760@debbugs.gnu.org
Subject: bug#20760: 24.4; Middle click on flyspell-highlighted but correct word does mouse-yank-primary
Date: Thu, 01 Aug 2019 23:59:37 +0200	[thread overview]
Message-ID: <87blx8bl86.fsf@mouse.gnus.org> (raw)
In-Reply-To: <877frffne6.fsf@sc3d.org> (Reuben Thomas's message of "Sun, 07 Jun 2015 18:18:09 +0100")

Reuben Thomas <rrt@sc3d.org> writes:

> When a flyspell-marked word is added to the dictionary, or to the
> buffer-local LocalWords list, other instances of the word in the buffer
> are not immediately unmarked.
>
> However, if one clicks mouse-2 on such a word, the expected flyspell
> menu does not pop up; instead, mouse-2 reverts to its default action
> (typically, mouse-yank-primary).
>
> To see this effect, type for example M-x flyspell-mode:
>
> foxb foxz foxb
>
> in a buffer, then mouse-2 on the first “foxb”, and “Accept for session”.
> The second “foxb” remains highlighted, but mouse-2 on it runs
> mouse-yank-primary, even though the word is highlighted on mouseover.

(I'm going through old bug reports that have unfortunately not gotten
any responses.)

I'm unable to reproduce this in Emacs 27 -- are you still seeing this?
What I'm seeing is that the second "foxb" is still underlined, but if I
mouse-2 it, nothing happens -- no menu, and no yanking...

> There’s another, similar oddity, which is that clicking on a repeated,
> highlighted word, such as the second “this” in:
>
> this this
>
> gives the message “<mouse-2> is undefined”, which looks like a
> semi-successful attempt to correct the above-mentioned problem in
> another guise.

I get the same here -- the second "this" is underlined, but mouse-2 on
it does nothing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-08-01 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-07 17:18 bug#20760: 24.4; Middle click on flyspell-highlighted but correct word does mouse-yank-primary Reuben Thomas
2019-08-01 21:59 ` Lars Ingebrigtsen [this message]
     [not found]   ` <CAOnWdoij7y4+SMF+c-pp54-XitEy51ajqmXNx+HZQOYFsrFyPQ@mail.gmail.com>
2019-08-01 22:16     ` Lars Ingebrigtsen

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=87blx8bl86.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=20760@debbugs.gnu.org \
    --cc=rrt@sc3d.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).