unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: binding key for tags command
Date: Wed, 30 Apr 2003 11:59:01 -0600	[thread overview]
Message-ID: <3EB00EE5.1090207@yahoo.com> (raw)
In-Reply-To: d0e8a3a3.0304292135.602764a2@posting.google.com

Seong-Kook Shin wrote:

> Hi,
> 
> I use tag command heavily, espcially "M-.", "C-u M-.", and "C-u - M-.".
> And I want to change the 2nd and the 3rd to other key combination since
> it's too time consuming to press those keys.
> 
> But the problem is that there is no specific funtion matching
> "C-u M-." and "C-u - M-.". I realize those commands actually pass
> some argument to find-tag lisp function, but I'm not familar to lisp.
> 
> All I want is:
> 
>   - I want to use "M-[" for "C-u M-.", and
>   - I want to use "M-]" for "C-u - M-."
> 
> Of course, I tried to use global-set-key function but failed since those
> commands are not real function.

Define a keyboard macro, name it, save it in your ~/.emacs file, and then

bind your shortcut to it.  See the "Keyboard Macros" node of the Emacs manual.

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

      reply	other threads:[~2003-04-30 17:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-30  5:35 binding key for tags command Seong-Kook Shin
2003-04-30 17:59 ` Kevin Rodgers [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=3EB00EE5.1090207@yahoo.com \
    --to=ihs_4664@yahoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).