From: Martin Stemplinger <mstemplingerNOSPAM@gmx.de>
Subject: Re: Example using x-popup-menu needed
Date: Fri, 17 Oct 2003 18:32:42 +0200 [thread overview]
Message-ID: <ur81b3jv9.fsf@gmx.de> (raw)
In-Reply-To: EwUjb.65175$pv6.1917@twister.nyc.rr.com
On Fr Okt 17 2003 at 18:11, Bruce Ingalls
<bingalls@fit-zones.NO-SPAM.com> wrote:
> (defun right-popup ()
> "Show a popup menu of commands. See also `choose-from-menu'."
> (interactive)
> (eval-expression
> (car
> (read-from-string
> (choose-from-menu
> "Commands"
> (list
> (cons "Copy C-insert" "(call-interactively 'copy-region-as-kill)")
> (cons "Goto Line" "(call-interactively 'goto-line)")
> (cons "Paste/yank S-insert" "(yank)")
> (cons "Redo" "(redo)")
> (cons "Search files" "(call-interactively 'grep)")
> (cons "Undo C-_" "(undo)")
> (cons "Word completion M-/" "(call-interactively 'dabbrev-expand)")
> ))))))
>
> (global-set-key [mouse-3] 'right-popup)
>
Really cool! But the function redo doesn't exist on my emacs
(GNU Emacs 21.3.50.1 (i386-msvc-nt5.1.2600) of 2003-09-12 on
ALABANDA).
Any idea?
--
Remove NOSPAM to reply by mail
next prev parent reply other threads:[~2003-10-17 16:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 5:38 Example using x-popup-menu needed Dave Neubart
2003-10-17 13:41 ` Barman Brakjoller
2003-10-17 16:11 ` Bruce Ingalls
2003-10-17 16:32 ` Martin Stemplinger [this message]
2003-10-17 18:14 ` Bruce Ingalls
2003-10-17 16:50 ` Ian Zimmerman
2003-10-17 18:11 ` Bruce Ingalls
2003-10-17 20:07 ` Stefan Monnier
2003-10-17 20:07 ` Kevin Rodgers
2003-10-17 21:26 ` Kevin Rodgers
2003-10-17 20:14 ` Stefan Monnier
2003-10-18 13:45 ` Martin Stemplinger
2003-12-02 20:50 ` Kai Grossjohann
2003-12-03 18:29 ` Kevin Rodgers
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=ur81b3jv9.fsf@gmx.de \
--to=mstemplingernospam@gmx.de \
/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.