From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: adamp_at@at_ipipan.waw.pl (Adam P.) Newsgroups: gmane.emacs.help Subject: Re: pcl-cvs: quick commit? Date: Fri, 22 Nov 2002 18:24:24 +0100 Organization: IPI PAN Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87of8hqzzr.fsf@at_ipipan.waw.pl> References: <873cpuan39.fsf@at_ipipan.waw.pl> <5l4raarbb5.fsf@rum.cs.yale.edu> <87of8i1pdc.fsf@at_ipipan.waw.pl> <87n0o2ywdp.fsf@gnulinux.org.mx> <871y5dsyyc.fsf@at_ipipan.waw.pl> <5lzns1ptwo.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037985932 24625 80.91.224.249 (22 Nov 2002 17:25:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2002 17:25:32 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18FHXj-0006Lk-00 for ; Fri, 22 Nov 2002 18:24:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18FHZS-0003g2-00; Fri, 22 Nov 2002 12:26:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news.nask.pl!news.astercity.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 10.71.6.107 Original-X-Trace: foka.acn.pl 1037985861 683 10.71.6.107 (22 Nov 2002 17:24:21 GMT) Original-X-Complaints-To: abuse@astercity.net Original-NNTP-Posting-Date: Fri, 22 Nov 2002 17:24:21 +0000 (UTC) X-Tech-Contact: usenet@astercity.net X-Server-Info: http://www.astercity.net/news/ X-Real-Name: Adam Przepiorkowski User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:GSB4/fV05WrRTDMORjJLJ+T680E= X-Real-Address: Remove those _at_s Original-Xref: shelby.stanford.edu gnu.emacs.help:107318 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3873 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3873 "Stefan Monnier " 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...