mode line mouse-2 problems
Perry Smith <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
I’m on macOS 26.4.1 using Emacs 30.2. My laptop has a trackpad. I start emacs with “emacs -q” from the command line. Then I do Esc-: (define-key key-translation-map (kbd "<s-mouse-1>") (kbd "<mouse-2>”)) Then I hold the left command key and click on the (Fundamental) text in the mode line and I get an error: mouse-delete-other-windows must be bound to an event with parameters The reason to send mouse-2 to the Fundamental text is because the help text that pops up says "mouse-2: Show help for major mode” which can be found in bindings.el but what is happening is defined in mouse.el: (global-set-key [mode-line mouse-2] #'mouse-delete-other-windows) I’m not sure if this is rampant pilot error or a bug or possibly two bugs.