help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: right click menu for cut, copy, paste


From: Drew Adams
Subject: RE: right click menu for cut, copy, paste
Date: Mon, 11 Nov 2013 21:53:49 -0800 (PST)

> > http://www.emacswiki.org/emacs/mouse3.el
> > And yes, it works without the keyboard, out of the box.
>
> I recall trying this.  I think it doesn't do what I specified in my
> first post?  I want a single right click to activate a menu with
> those items on it.  If it's customizable to do that, I was not able
> to do so.

No, you are right that it does not have the same menu items.
I read your request too quickly, sorry.

For that menu you will need to roll your own, but it is pretty
simple to do.  There are plenty of examples of mouse-3 menus
that you can use for guidance.

Here are a few from my code:
`diredp-mouse-3-menu' in `dired+.el',
`bmkp-bmenu-mouse-3-menu' in `bookmark+-bmu.el',
`Buffer-menu-mouse-3-menu' in `buff-menu+.el',
`icicle-Completions-mouse-3-menu' in `icicles-mcmd.el',
`palette-popup-menu' in `palette.el'.

Those are just from my code.  There are lots more out there.
Maybe have a look at `bmkp-bmenu-mouse-3-menu' or
`palette-popup-map' - each is pretty straightforward.

http://www.emacswiki.org/emacs-en/download/bookmark%2b-bmu.el
http://www.emacswiki.org/emacs-en/download/palette.el



reply via email to

[Prev in Thread] Current Thread [Next in Thread]