all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: ihok@hotmail.com, Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: electric mode - is it vapour ware?
Date: Sat, 22 Aug 2009 02:56:14 +0200	[thread overview]
Message-ID: <e01d8a50908211756ubed94f5j21b6e12edd8fbd39@mail.gmail.com> (raw)
In-Reply-To: <20090821183208.GB1897@muc.de>

On Fri, Aug 21, 2009 at 8:32 PM, Alan Mackenzie<acm@muc.de> wrote:

>> In the CC Mode manual there is something called "electric mode". Where
>> is this mode?
>
>>    (info "(ccmode) Minor Modes")
>
>> I am asking because of a bug that shows up in php-mode, see
>> https://bugs.launchpad.net/nxhtml/+bug/409358
>
>> How are you supposed to turn off this functionality?
>
> Interactively, C-c C-l (`c-toggle-electric-state') toggles it.
>
> Programmatically, (c-toggle-electric-state arg) does the Usual Thing,
> i.e. positive arg turns it on, negative arg turns it off, 0 or nil
> toggles it.
>
> Internally, it's represented by the buffer local variable
> c-electric-flag.


Thanks Alan,

Perhaps the name of this minor mode should be mentioned on the page
above in the manual?




      reply	other threads:[~2009-08-22  0:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 23:31 electric mode - is it vapour ware? Lennart Borgman
2009-08-21 18:32 ` Alan Mackenzie
2009-08-22  0:56   ` Lennart Borgman [this message]

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=e01d8a50908211756ubed94f5j21b6e12edd8fbd39@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=ihok@hotmail.com \
    /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.