From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Newsgroups: gmane.emacs.help Subject: Re: Turn on hungry delete for a buffer Date: Thu, 22 Mar 2007 12:52:24 +0100 Message-ID: <46026DF8.4020302@warum-ada.de> References: <1174480429.932401.189160@p15g2000hsd.googlegroups.com> <1174560496.267261.122940@d57g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174564374 13530 80.91.229.12 (22 Mar 2007 11:52:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 11:52:54 +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 Mar 22 12:52:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HULqY-0000wI-7t for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2007 12:52:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HULsK-0001Rm-Lq for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2007 06:54:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HULs6-0001Of-WC for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 07:54:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HULs6-0001OE-MS for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 06:54:22 -0500 Original-Received: from thales.mi.uni-koeln.de ([134.95.213.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HULqJ-0005jt-9W for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 07:52:31 -0400 Original-Received: from [129.26.133.98] (localhost [127.0.0.1]) by Thales.MI.Uni-Koeln.DE (8.13.6.20060614/8.13.6) with ESMTP id l2MBqRbT025553 for ; Thu, 22 Mar 2007 12:52:28 +0100 (MET) User-Agent: Thunderbird 1.5.0.10 (X11/20070221) In-Reply-To: <1174560496.267261.122940@d57g2000hsg.googlegroups.com> X-Archived: mail_2007-03-22_12:52:28_403962.txt@Thales X-Scanned-By: milter-spamc/0.25.321 (localhost [127.0.0.1]); Thu, 22 Mar 2007 12:52:29 +0100 X-detected-kernel: Solaris 8 (1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42101 Archived-At: Eric Lilja wrote: > On 21 Mar, 13:53, Daniel Rubin wrote: >> Eric Lilja wrote: >>> Hello, I'm using this emacs: GNU Emacs 22.0.93.1 (i386-mingw- >>> nt5.1.2600) of 2007-02-20 on MINDCOOLER >>> I wanted to turn on hungry delete for a buffer, so I did: >>> M-: >>> eval: (setq c-toggle-hungry-state 1) >>> But hungry delete wasn't turned on...I still have to do one C-d per >>> space. What did I do wrong? >> `c-toggle-hungry-state' is a function, not a variable. >> Try M-x c-toggle-hungry-state RET instead. > > Yields no match. :-( > >> Additionally, C-c C-d performs a single hungry delete. > > C-c C-d: undefined. Is CC mode loaded? (Have you opened a C file before or explicitly did M-x load-library RET cc-mode RET?) What does M-x c-version RET give?