all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Elston <m.elston@advantest-ard.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I turn off the electricity in C-mode?
Date: Thu, 31 May 2007 11:54:41 -0700	[thread overview]
Message-ID: <135u6fhotf0vk38@corp.supernews.com> (raw)
In-Reply-To: <mailman.1449.1180628065.32220.help-gnu-emacs@gnu.org>

* Bruce Korb wrote (on 5/31/2007 8:29 AM):
> 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<RET>
> 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
> 
> 

 From Emacs 22.0.50.1 (Using CC Mode version 5.31.3):

c-toggle-electric-state is an interactive compiled Lisp function in 
`cc-cmds.el'.
(c-toggle-electric-state &optional arg)

Toggle the electric indentation feature.
Optional numeric arg, if supplied, turns on electric indentation when
positive, turns it off when negative, and just toggles it when zero or
left out.

Mark

  parent reply	other threads:[~2007-05-31 18:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1437.1180572556.32220.help-gnu-emacs@gnu.org>
2007-05-31 10:41 ` How can I turn off the electricity in C-mode? Hadron
2007-05-31 15:29   ` Bruce Korb
     [not found]   ` <mailman.1449.1180628065.32220.help-gnu-emacs@gnu.org>
2007-05-31 18:54     ` Mark Elston [this message]
2007-05-31  0:49 Bruce Korb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=135u6fhotf0vk38@corp.supernews.com \
    --to=m.elston@advantest-ard.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.