[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New Context Menu
From: |
Eli Zaretskii |
Subject: |
Re: New Context Menu |
Date: |
Wed, 18 Aug 2021 21:17:04 +0300 |
> Date: Wed, 18 Aug 2021 20:10:52 +0200
> From: Ergus <spacibba@aol.com>
> Cc: emacs-devel@gnu.org, juri@linkov.net
>
> >Actually, I take that back. The reason for what you see is that the
> >menu is popped by down-mouse-3, not by mouse-3. So if we can arrange
> >for optionally doing this with mouse-3 (why isn't that the default,
> >btw?), or if you could do that in your customizations, you should be
> >able to have the behavior you want.
> >
> Indeed, I tried that and it works!
>
> Something as simple as:
>
> (global-unset-key [down-mouse-3])
> (global-set-key [mouse-3] context-menu-entry)
>
> seems to work; but maybe Juri made the other one the default for some
> reason.
Juri?
> Apart from that, there is another issue with the "Paste" command in tty.
>
> Paste calls mouse-yank-primary, but in tty this commands calls
> gui-get-primary-selection and there is no selection because it tries to
> get the one on the primary selection not the one in the system
> (secoundary or clipboard) not the emacs kill-ring either.
>
> So I get: error("No selection is available")
Which is the correct response. If you run on an xterm that supports
pasting, you will get the result as on GUI frames. Why is this a
problem?
And how do you get "Paste" in the context menu, btw?
- New Context Menu, Ergus, 2021/08/18
- Re: New Context Menu, Eli Zaretskii, 2021/08/18
- Re: New Context Menu, Ergus, 2021/08/18
- Re: New Context Menu,
Eli Zaretskii <=
- Re: New Context Menu, Ergus, 2021/08/18
- Re: New Context Menu, Eli Zaretskii, 2021/08/18
- Re: New Context Menu, Ergus, 2021/08/18
- Re: New Context Menu, Eli Zaretskii, 2021/08/19
- Re: New Context Menu, Juri Linkov, 2021/08/19
- Re: New Context Menu, Eli Zaretskii, 2021/08/18
- Re: New Context Menu, Juri Linkov, 2021/08/18
- Re: New Context Menu, Eli Zaretskii, 2021/08/18
- Re: New Context Menu, Juri Linkov, 2021/08/19
- Re: New Context Menu, Eli Zaretskii, 2021/08/19