From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: seberino@spawar.navy.mil Newsgroups: gmane.emacs.help Subject: Re: Why function works but *not* in *C-language mode*??? Date: Tue, 24 Sep 2002 13:22:22 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20020924202222.GA16684@spawar.navy.mil> References: <87n0q7b3po.fsf@blarg.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032899010 17903 127.0.0.1 (24 Sep 2002 20:23:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2002 20:23:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 17twDO-0004eS-00 for ; Tue, 24 Sep 2002 22:23:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17twDS-0000KS-00; Tue, 24 Sep 2002 16:23:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17twCV-0008Lr-00 for help-gnu-emacs@gnu.org; Tue, 24 Sep 2002 16:22:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17twCO-0008Jt-00 for help-gnu-emacs@gnu.org; Tue, 24 Sep 2002 16:22:27 -0400 Original-Received: from seberino.spawar.navy.mil ([128.49.22.159]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17twCN-0008JP-00 for help-gnu-emacs@gnu.org; Tue, 24 Sep 2002 16:22:23 -0400 Original-Received: from seberino by seberino.spawar.navy.mil with local (Exim 4.10) id 17twCM-0004LA-00; Tue, 24 Sep 2002 13:22:22 -0700 Original-To: Eric Hanchrow Content-Disposition: inline In-Reply-To: <87n0q7b3po.fsf@blarg.net> User-Agent: Mutt/1.4i 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:1812 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1812 thanks... this did the trick. CS On Tue, Sep 24, 2002 at 12:13:55PM -0700, Eric Hanchrow wrote: > c-mode probably replaces your binding of C-d with its own > (c-electric-delete-forward). > > Just add > > (local-set-key "\C-d" 'cs-kill-line) > > to your c-mode-hook and it ought to work. > -- > PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- _______________________________________ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Rd. Rm. A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 Email: seberino@spawar.navy.mil _______________________________________