From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.emacs.help Subject: Re: How can I turn off the electricity in C-mode? Date: Thu, 31 May 2007 08:29:07 -0700 Organization: Free Software Foundation Message-ID: <465EE9C3.4050006@gnu.org> References: <87wsyp9sx2.fsf@gmail.com> Reply-To: bkorb@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180628123 3311 80.91.229.12 (31 May 2007 16:15:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 May 2007 16:15:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Hadron Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 31 18:15:16 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 1HtnIx-0003Ox-Px for geh-help-gnu-emacs@m.gmane.org; Thu, 31 May 2007 18:15:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtnIx-0000qZ-94 for geh-help-gnu-emacs@m.gmane.org; Thu, 31 May 2007 12:15:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtmaV-0008Uc-DQ for help-gnu-emacs@gnu.org; Thu, 31 May 2007 11:29:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtmaU-0008Tw-MK for help-gnu-emacs@gnu.org; Thu, 31 May 2007 11:29:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtmaU-0008Tp-HH for help-gnu-emacs@gnu.org; Thu, 31 May 2007 11:29:18 -0400 Original-Received: from flpi101.sbcis.sbc.com ([207.115.20.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HtmaU-0004OX-18 for help-gnu-emacs@gnu.org; Thu, 31 May 2007 11:29:18 -0400 X-ORBL: [75.2.135.184] Original-Received: from [10.0.0.2] (adsl-75-2-135-184.dsl.pltn13.sbcglobal.net [75.2.135.184]) by flpi101.sbcis.sbc.com (8.13.8 out.dk.spool/8.13.8) with ESMTP id l4VFSGhO005703; Thu, 31 May 2007 08:28:17 -0700 User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <87wsyp9sx2.fsf@gmail.com> X-detected-kernel: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 31 May 2007 12:14:25 -0400 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:44572 Archived-At: Hadron wrote: > > I dont know about local variables but in c-mode its bound to C-c C-l > or M-x c-toggle-electric-state M-x describe-key C-c C-l is undefined Must be a different version of c-mode. M-x c-version yields: Using CC Mode version 5.28 and M-x c-toggle-electric-state gets a beep. C-c C-l would be convenient enough, tho the variable would be better. Maybe I can figure out how to make a minor mode for these weirdly formatted files and trigger that minor mode.... I'm updating emacs now. Thank you. Regards, Bruce