From: adamp_at@at_ipipan.waw.pl (Adam P.)
Subject: Re: pcl-cvs: quick commit?
Date: Fri, 22 Nov 2002 18:24:24 +0100 [thread overview]
Message-ID: <87of8hqzzr.fsf@at_ipipan.waw.pl> (raw)
In-Reply-To: 5lzns1ptwo.fsf@rum.cs.yale.edu
"Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:
>> I thought about a macro, and that's what I'll do in the end, but I was
>> wondering if there already exists in pcl-cvs a function that I can
>> simply bind to a key. Thanks.
>
> Yes, there is and I told you its name: c C-c C-c
>
> (define-key foo-bar-mode [(meta ?c)] [?c (control ?c) (control ?c)])
It seems to me that the *final* argument of define-key doesn't accept
vectors of *events* like (control ?c). But this works:
(define-key cvs-mode-map [?\M-c] [?c ?\C-c ?\C-c])
Thanks.
Adam
--
Name and address in X-Real...
next prev parent reply other threads:[~2002-11-22 17:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 16:45 pcl-cvs: quick commit? Adam P.
2002-11-21 19:07 ` Stefan Monnier <foo@acm.com>
2002-11-21 23:20 ` Adam P.
2002-11-22 6:02 ` Edgar Antonio Luna Díaz
2002-11-22 10:03 ` Adam P.
2002-11-22 14:21 ` Stefan Monnier <foo@acm.com>
2002-11-22 17:24 ` Adam P. [this message]
2002-11-22 19:03 ` Stefan Monnier <foo@acm.com>
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=87of8hqzzr.fsf@at_ipipan.waw.pl \
--to=adamp_at@at_ipipan.waw.pl \
/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.