[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: poplife-mode
From: |
Drew Adams |
Subject: |
RE: poplife-mode |
Date: |
Sun, 12 Nov 2017 17:06:51 -0800 (PST) |
> > > I also hope we can include something like this in Emacs one day. But
> > > I would not want to usurp the current binding of mouse-3, which is
> > > handy in its own right. We could instead trigger the pop-up menu by,
> >
> > Have you tried C-mouse-3? It already offers something similar, so it
> > would make sense to tweak it do what the OP needs.
>
> That could work. I'd still rather not require both a hand on the
> keyboard and the mouse to pop up a contextual menu, though.
>
> I just read up on how Drew's library `mouse3' solves the problem. If
> I understood it right, it redefines mouse-save-then-kill (mouse-3's
> normal binding) to respond differently to either a double-click of
> mouse-3 or two single-clicks of mouse-3 in the same spot. A
> double-click kills the region as it usually does, whereas two
> single-clicks pop up a contextual menu with menu items based on either
> the "thing at point" (if no region is selected) or the selected
> region. This also seems like o good solution.
FWIW: `mouse3.el', like all my code, is available for GNU Emacs.
Parts of it, which extend or modify existing Emacs code, could
be merged in (patch). Other parts could be added.
https://www.emacswiki.org/emacs/download/mouse3.el
- Re: Changing default mouse bindings, (continued)
- Re: Changing default mouse bindings, Eli Zaretskii, 2017/11/14
- Re: Changing default mouse bindings (was: poplife-mode), Charles A. Roelli, 2017/11/14
- Re: Changing default mouse bindings, Tak Kunihiro, 2017/11/14
- Re: Changing default mouse bindings, Stefan Monnier, 2017/11/14
- Re: Changing default mouse bindings, Tak Kunihiro, 2017/11/16
- Re: Changing default mouse bindings, Eli Zaretskii, 2017/11/17
- Re: Changing default mouse bindings, Stefan Monnier, 2017/11/17
- RE: Changing default mouse bindings, Drew Adams, 2017/11/17
- Re: Changing default mouse bindings, Sam Steingold, 2017/11/17
- Re: poplife-mode, Tak Kunihiro, 2017/11/13
- RE: poplife-mode,
Drew Adams <=