[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5570: Emacs C++ mode "ESC C-q" and TAB indenting issue.

From: Chong Yidong
Subject: bug#5570: Emacs C++ mode "ESC C-q" and TAB indenting issue.
Date: Sun, 14 Feb 2010 00:09:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Forwarding an email with pertinent info to the bug tracker, and to Alan
the CC-mode maintainer:

"Bob" <address@hidden> writes:

> Yes, it does look related to 5490. I can respond to:
>> (i) Have you ever noticed this bug happening on earlier Emacsen, in
>>  particular Emacs 23.1?
> Yes, it happened in 23.1 also.
>> (ii) Does this bug happen every time you use Emacs this long, or only
>>  sometimes?
> For me it happens within minutes of use. My C++ files are HEAVILY templated
> and the issue appears to be related to '<' and '>' of template args, e.g.
> typedef IF<
>  MemberOf<a,b>::value,
>  IF<
>    Length<c,d>::value,
>    true,
>     false
>  >::Result,
>  false
>   >::Result  Result;
> I will have several of these, one after the other, and be editing
> them. By accident I'll leave out a ',' or a '>' or kill & yank lines
> with similar error. After minutes of such editing, the indentation
> gets wacked. Sometimes by TAB indentation on a prior line the problem
> corrects. Sometimes I have to write the buffer and re-visit it.
>>(iv) Are all C(++) buffers in this state, or only some?  Any correlation
>>  with how many edits have been done on a buffer, or how long it's been
>>  loaded?
> Just the buffer with the '<' and '>' in it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]