[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.
From: |
Bob |
Subject: |
bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue. |
Date: |
Wed, 17 Feb 2010 08:40:36 -0800 |
Alan,
Attached is "Foo.cpp" and "dribble" (if I did it correctly, dribble recorded
what I typed).
It illustrates a case where indentation is one level deeper than it should
be. (The other case we've been working on is one level shallower than it
should be). Maybe they are related?
visit-file "Foo.cpp", note indentation for "class Bar" is too deep. Now, TAB
on the "class Bar" line the indentation corrects. If you reconstruct the
file from "dribble" you should see TAB on the "class Bar" line incorrectly
indents too deep.
My ".emacs" file sets indentation to 2 spaces. I would guess there is an
issue where
the default (I think 4 spaces) is being used instead of my setting.
I've also attached my ".emacs" file as "emacs_init" (Outlook doesn't attach
files without a file-name). Please excuse the accumulation of junk in it
from many years of emacs use and
recommendations obtained from internet sites.
Bob
Foo.cpp:
----------------------------------------
template<
class Bar,
int _depth = -1
>
class Foo;
template<
int _depth = -1
>
class Foo
{
};
-----------------------------------------
dribble
Description: Binary data
Foo.cpp
Description: Text document
emacs_init
Description: Binary data
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Bob, 2010/02/12
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Chong Yidong, 2010/02/13
- Message not available
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Chong Yidong, 2010/02/14
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/14
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Bob, 2010/02/15
- Message not available
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/16
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Bob, 2010/02/16
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/17
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.,
Bob <=
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/18
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Bob, 2010/02/18
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/19
bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Paul Pogonyshev, 2010/02/20
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Alan Mackenzie, 2010/02/21
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Paul Pogonyshev, 2010/02/21
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Chong Yidong, 2010/02/21
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Paul Pogonyshev, 2010/02/21
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Chong Yidong, 2010/02/21
- bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue., Paul Pogonyshev, 2010/02/22