unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sam Steingold <sds@gnu.org>
Cc: 28955@debbugs.gnu.org
Subject: bug#28955: 27.0.50; mouse event translation loses parameters
Date: Mon, 15 Jul 2019 19:04:32 +0200	[thread overview]
Message-ID: <87v9w3b55r.fsf@mouse.gnus.org> (raw)
In-Reply-To: <m1ims39qut.fsf@gnu.org> (Sam Steingold's message of "Mon, 15 Jul 2019 12:58:50 -0400")

Sam Steingold <sds@gnu.org> writes:

> Either of the following:
>
> ```
> (define-key key-translation-map (kbd "<s-mouse-1>") (kbd "<mouse-2>"))
> ```

[...]

> 2. Actually clicking s-mouse-1:
> ```
> Debugger entered--Lisp error: (error "mouse-yank-primary must be bound to an event with ...")
>   call-interactively(mouse-yank-primary nil nil)
>   command-execute(mouse-yank-primary)

I don't have a Super key here, but I was able to reproduce the bug with
Hyper:

(define-key key-translation-map (kbd "<H-mouse-1>") (kbd "<mouse-2>"))

H-click-1:

Debugger entered--Lisp error: (error "mouse-yank-primary must be bound to an event with ...")
  call-interactively(mouse-yank-primary nil nil)
  command-execute(mouse-yank-primary)

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





      reply	other threads:[~2019-07-15 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-23 14:44 bug#28955: 27.0.50; mouse event translation loses parameters Sam Steingold
2019-07-14 21:52 ` Lars Ingebrigtsen
2019-07-15 16:58   ` Sam Steingold
2019-07-15 17:04     ` Lars Ingebrigtsen [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=87v9w3b55r.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=28955@debbugs.gnu.org \
    --cc=sds@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).