From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: managing my keybindings
Date: Sun, 9 May 2010 12:12:45 -0700 (PDT) [thread overview]
Message-ID: <9129c243-472e-4cd4-9c89-f017db8ea5b2@o14g2000yqb.googlegroups.com> (raw)
In-Reply-To: d81368ef-9b0b-4ba3-9f90-907898eeb43b@i9g2000yqi.googlegroups.com
WORKS! :)
-----------------------------
(defun mine (func comment) ""
(let (my-func)
(setq my-func (intern (concat "my-" (symbol-name func))))
(defalias my-func func comment)
my-func
)
)
(local-set-key (kbd "M-a") (mine 'mark-whole-buffer "optional Comment
for Binding"))
(describe-key (kbd "M-a"))
--------------------------
next prev parent reply other threads:[~2010-05-09 19:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-08 0:38 managing my keybindings LanX
2010-05-08 2:09 ` Lennart Borgman
2010-05-08 12:22 ` LanX
[not found] ` <mailman.0.1273284589.603.help-gnu-emacs@gnu.org>
2010-05-09 11:29 ` Andreas Politz
2010-05-09 11:55 ` Lennart Borgman
2010-05-09 18:21 ` LanX
2010-05-09 19:12 ` LanX [this message]
2010-05-10 14:10 ` Stefan Monnier
2010-05-10 14:25 ` LanX
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=9129c243-472e-4cd4-9c89-f017db8ea5b2@o14g2000yqb.googlegroups.com \
--to=lanx.perl@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/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.