all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.