all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Samuel Wales <samologist@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: right click menu for cut, copy, paste
Date: Mon, 11 Nov 2013 21:53:49 -0800 (PST)	[thread overview]
Message-ID: <2c786717-4f4e-41a1-b368-f0365b69a8ff@default> (raw)
In-Reply-To: <CAJcAo8sfASqFTnpSvnUYZonndr_G1dsu+BkO_SSatmbXEztaxQ@mail.gmail.com>

> > 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	other threads:[~2013-11-12  5:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-10 19:02 right click menu for cut, copy, paste Samuel Wales
2013-11-10 19:13 ` Eli Zaretskii
2013-11-10 19:38   ` Samuel Wales
2013-11-10 19:59     ` Eli Zaretskii
2013-11-10 20:43       ` G. Martin Butz
2013-11-10 20:53         ` Eli Zaretskii
2013-11-10 22:54           ` G. Martin Butz
2013-11-12  4:46             ` Samuel Wales
2013-11-10 21:35       ` Drew Adams
2013-11-12  4:47         ` Samuel Wales
2013-11-12  5:53           ` Drew Adams [this message]
2013-11-12  4:46       ` Samuel Wales
2013-11-12 16:06         ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c786717-4f4e-41a1-b368-f0365b69a8ff@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=samologist@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.