unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* trouble indenting when multiple C++ namespaces open on one line
@ 2007-07-19 20:10 Benjamin S. Scarlet
  0 siblings, 0 replies; only message in thread
From: Benjamin S. Scarlet @ 2007-07-19 20:10 UTC (permalink / raw)
  To: bug-gnu-emacs

When multiple c++ namespaces open on one line, the syntactic indent
information for the following line is a little peculiar:

namespace Foo { namespace Bar {
		// ((defun-block-intro 91) (innamespace 91) (topmost-intro 91))

I didn't expect the (defun-block-info ...).  I would like to be able
easily to customize my indentation so that code contained in multiple
namespaces like this only gets indented one unit, regardless of the
number of namespaces on the line.

Thanks,
Ben Scarlet


In GNU Emacs 22.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.10.13)
 of 2007-06-26 on xenbuilder2.fedora.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-pop' '--with-sound' '--with-gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -DSYSTEM_PURESIZE_EXTRA=16777216 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: C++/l

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t
  hs-minor-mode: t

Recent input:
<help-echo> C-x 3 C-x C-f f o o . c p p <return> n 
a m e s p a c e SPC F o o SPC { <return> <tab> n a 
M-/ SPC B a r SPC { <return> <tab> C-u C-c C-s <return> 
} ; <return> } ; <return> <return> n a M-/ SPC F o 
o SPC { SPC n a M-/ SPC B a r SPC { <return> <tab> 
C-u C-c C-s <return> } l <backspace> ; <return> } ; 
C-p C-p <tab> M-> <return> <return> n a M-/ SPC F o 
o SPC { SPC n a M-/ SPC B a r SPC { SPC n a M-/ SPC 
B a z SPC { <return> <tab> T h i s ; <return> } ; SPC 
} ; SPC } ; <tab> <tab> C-p C-a C-k <tab> C-u C-c C-s 
M-x r e p o SPC r SPC SPC SPC <return>

Recent messages:
Loading nxml-mode...done
Loading haskell-mode...done
For information about the GNU Project and its goals, type <f1> C-p. [2 times]
(New file)
Loading hideshow...done
Loading dabbrev...done
Loading newcomment...done
Mark set
Making completion list...
Loading emacsbug...done

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-19 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 20:10 trouble indenting when multiple C++ namespaces open on one line Benjamin S. Scarlet

Code repositories for project(s) associated with this public inbox

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

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