[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#5570: Emacs 22.214.171.124 C++ mode "ESC C-q" and TAB indenting issue
Re: bug#5570: Emacs 126.96.36.199 C++ mode "ESC C-q" and TAB indenting issue.
Sun, 21 Feb 2010 23:09:42 +0200
KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; )
Alan Mackenzie wrote:
> On Sat, Feb 20, 2010 at 03:41:02PM +0200, Paul Pogonyshev wrote:
> > Severity: important
> > > Has anyone else seen this issue?
> > I see it so often it is not fun. I'm currently compiling an older
> > Emacs version because indentation's becoming broken every second line
> > is unbearable.
> Apologies. Please bear with me on this. It should become stable well
> before the release of Emacs 23.2.
> Is there any chance you could say the sort of editing you've been doing
> which provokes this mis-indentation? Do you use C-y a lot? Is it only
> in C++ Mode, or are other modes (C, Java, ....) affected?
Mostly in C++ Mode, with usually with quite complicated code
(templates), but not only. E.g. I lost patience with it on a file
without templates where only more or less non-common thing was a local
namespace. It looks basically like this (using my preferred
indentation style, might be important):
class Foo : public Bar
bla_bla (some_type& x, const string& y)
It used to break heavily in such functions (there are many similar)
inside a local class. Function names were becoming colored with
'font-lock-variable-name-face' and as such indented wrongly.
> Any chance you might try the head versions in the bzr repository?
OK, but a bit later. I guess it is of little help, but currently I
use revision 98816 (just chose one at random) and cc-mode works fine.