From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Assign menu function to keychord?
Date: Wed, 15 Oct 2008 05:04:35 -0500 [thread overview]
Message-ID: <loCdndEwt7q9XWjVnZ2dnUVZ_rXinZ2d@sysmatrix.net> (raw)
In-Reply-To: <wc6dnRcG_5sLTm7VnZ2dnUVZ_judnZ2d@sysmatrix.net>
B. T. Raven wrote:
> In an .tex buffer (using Auctex) and under Menu > Command , there is a
> Clean All option that seems to call an undocumented (menu-function-176).
> Is it possible to assign this to some key combination? Is it in general
> possible to assign anything found in the menu bars to the keyboard?
>
> Thanks,
>
> Ed
The function seems to be (TeX-clean t) but since it needs an argument in
order to Clean All, I don't know how to assign it to an alias (e.g.
defalias 'txc 'TeX-clean)or to a keychord. Does the function with
argument have to be wrapped in a user function with a lambda()? Does
this function also need the interactive declaration?
Related to this problem (generically) is the question of whether it is
possible to generate a report of ALL unassigned key combos in a given
mode. Is this a non-trivial programming exercise?
Thanks,
Ed
prev parent reply other threads:[~2008-10-15 10:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 23:03 Assign menu function to keychord? B. T. Raven
2008-10-15 10:04 ` B. T. Raven [this message]
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=loCdndEwt7q9XWjVnZ2dnUVZ_rXinZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--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.