unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* no identation after 'namespace {'
@ 2008-10-07 19:33 Rodrigo Canellas
  2008-10-07 20:36 ` Nikolaj Schumacher
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Canellas @ 2008-10-07 19:33 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I would like that after a 'namespace {'  C-j, the code would not be 
indented, even if I press C-i, or type, for instance, 'class a {'.

Is it possible?


Thanks a lot!

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





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

* Re: no identation after 'namespace {'
  2008-10-07 19:33 no identation after 'namespace {' Rodrigo Canellas
@ 2008-10-07 20:36 ` Nikolaj Schumacher
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolaj Schumacher @ 2008-10-07 20:36 UTC (permalink / raw)
  To: Rodrigo Canellas; +Cc: help-gnu-emacs

Rodrigo Canellas <rodrigo.canellas@tqtvd.com> wrote:

> I would like that after a 'namespace {'  C-j, the code would not be indented,
> even if I press C-i, or type, for instance, 'class a {'.

Customize `c-offsets-alist'.  Set innamespace to 0.

You con also configure several coding styles with `c-add-style' if you
want to toggle the behavior.

regards,
Nikolaj Schumacher




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

end of thread, other threads:[~2008-10-07 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 19:33 no identation after 'namespace {' Rodrigo Canellas
2008-10-07 20:36 ` Nikolaj Schumacher

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).