From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rami A Newsgroups: gmane.emacs.help Subject: Re: remap C-c C-d in C file Date: Wed, 24 Apr 2013 15:52:52 -0700 (PDT) Message-ID: <4ffba441-f58a-4add-8a51-f5145458b4f3@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1366844829 22084 80.91.229.3 (24 Apr 2013 23:07:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 23:07:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 25 01:07:14 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UV8mP-00086L-JK for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 01:07:13 +0200 Original-Received: from localhost ([::1]:52886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV8mP-0002OQ-0V for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 19:07:13 -0400 X-Received: by 10.224.10.6 with SMTP id n6mr22110174qan.4.1366843973021; Wed, 24 Apr 2013 15:52:53 -0700 (PDT) X-Received: by 10.49.105.234 with SMTP id gp10mr1421271qeb.1.1366843972955; Wed, 24 Apr 2013 15:52:52 -0700 (PDT) Original-Path: usenet.stanford.edu!gp5no2516591qab.0!news-out.google.com!ef9ni16888qab.0!nntp.google.com!gp5no5880435qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.87.19.198; posting-account=HZ4YzgoAAABkTSCruZ7Bs4hufjlOUmBF Original-NNTP-Posting-Host: 148.87.19.198 User-Agent: G2/1.0 Injection-Date: Wed, 24 Apr 2013 22:52:52 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:198070 X-Mailman-Approved-At: Wed, 24 Apr 2013 19:07:00 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90337 Archived-At: Thank you so much Alan. This did actually work: (defun my-c-mode-common-hook () (define-key c-mode-base-map "\C-c\C-d" nil) ; unbind c-hungry-delete-forward ) (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)