unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How do I disable electric comments?
@ 2012-04-19 17:24 Bruce Korb
  2012-04-20 14:58 ` Andreas Röhler
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Korb @ 2012-04-19 17:24 UTC (permalink / raw)
  To: GNU Emacs

Hi,

I like electric mode for typing C.  The problem is the effort required
to format comments the way
I want to.  The electric comment mode keeps wanting to reformat my
comment for me.
It does it in a way that I do not like at all and I see no obvious way
to make it leave me alone.
(Sometimes I have to resort to going into text mode, entering the comment and
then go back to "C".)  How do I fix this?  Thank you!! Regards, Bruce



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How do I disable electric comments?
  2012-04-19 17:24 How do I disable electric comments? Bruce Korb
@ 2012-04-20 14:58 ` Andreas Röhler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Röhler @ 2012-04-20 14:58 UTC (permalink / raw)
  To: help-gnu-emacs

Am 19.04.2012 19:24, schrieb Bruce Korb:
> Hi,
>
> I like electric mode for typing C.  The problem is the effort required
> to format comments the way
> I want to.  The electric comment mode keeps wanting to reformat my
> comment for me.
> It does it in a way that I do not like at all and I see no obvious way
> to make it leave me alone.
> (Sometimes I have to resort to going into text mode, entering the comment and
> then go back to "C".)  How do I fix this?  Thank you!! Regards, Bruce
>
>

maybe

M-x c-toggle-electric-state



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-20 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 17:24 How do I disable electric comments? Bruce Korb
2012-04-20 14:58 ` Andreas Röhler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).