[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: |
Alan Mackenzie |
Subject: |
bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue. |
Date: |
Sun, 14 Feb 2010 20:10:06 +0000 |
User-agent: |
Mutt/1.5.9i |
Hi, Bob and Yidong,
On Sun, Feb 14, 2010 at 12:09:39AM -0500, Chong Yidong wrote:
> Forwarding an email with pertinent info to the bug tracker, and to Alan
> the CC-mode maintainer:
> "Bob" <purchasebyemail1@comcast.net> writes:
> > Yes, it does look related to 5490. I can respond to:
I have the horrible suspicion that this is different from 5490. :-(
> >> (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;
OK, template brackets are difficult, because they're so difficult to
distinguish from less/greater than.
Bob, seeing as how the bug hits you "withing minutes", is there any
chance you could try and get it reproducible? Using a dribble file might
be useful (see the page "Checklist" in the Emacs manual; you'd use this
with something like '(open-dribble-file "~/dribble")' at the beginning of
your Emacs session).
If you manage to get it reproducible, could you send me the C++ file
(which I will regard as confidential if needed) together with the
sequence of commands (e.g. the dribble file) which triggers the bug.
Also appreciated would be a dump of your CC Mode configuration, generated
by C-c C-b.
> > 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.
One other thing. Would you please try M-: (c-state-cache-init) when in
this state, and tell me if it resolves the badness. Thanks!
> >>(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.
--
Alan Mackenzie (Nuremberg, Germany).
- 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 <=
- 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, 2010/02/17
- 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