From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: andrew.maguire@ps.ge.com Newsgroups: gmane.emacs.help Subject: RE: Binding C-c C-c to Perl Comments Date: Thu, 2 Oct 2003 13:43:39 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6192367D59F8904CA553579EF41FEEA001DFEEFE@ukcbgx01psge.geips.ge.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Trace: sea.gmane.org 1065116848 20843 80.91.224.253 (2 Oct 2003 17:47:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2003 17:47:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 19:47:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A57Xy-0005hK-00 for ; Thu, 02 Oct 2003 19:47:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A57X7-0006vF-Cp for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2003 13:46:33 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A57Wt-0006uB-Vh for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 13:46:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A57WN-0006hS-9D for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 13:46:18 -0400 Original-Received: from [216.35.73.164] (helo=ext-nj2gw-2.online-age.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A57WM-0006fN-Ui for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 13:45:46 -0400 Original-Received: from int-nj2gw-4.online-age.net (int-nj2gw-4 [3.159.236.68]) by ext-nj2gw-2.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id h92HjfTY002341; Thu, 2 Oct 2003 13:45:42 -0400 (EDT) Original-Received: from nyschx06psge.ps.ge.com (localhost [127.0.0.1]) by int-nj2gw-4.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id h92HjeAx023476; Thu, 2 Oct 2003 13:45:41 -0400 (EDT) Original-Received: by nyschx06psge.ps.ge.com with Internet Mail Service (5.5.2653.19) id ; Thu, 2 Oct 2003 13:43:46 -0400 Original-To: dan@mathjunkies.com, help-gnu-emacs@gnu.org X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12962 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12962 > From: Dan Anderson > > In C Mode when I press C-c C-c it comments out the marked text in a > buffer using C type comments -- i.e. // > > Is there a way to tell C-c C-c to use # instead in perl mode? (define-key cperl-mode-map "\C-c\C-c" 'comment-region) Andrew