unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Miles Bader <miles@gnu.org>
Cc: 5490@debbugs.gnu.org, emacs-devel@gnu.org
Subject: bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro.
Date: Fri, 26 Feb 2010 12:58:17 +0000	[thread overview]
Message-ID: <20100226125817.GA1137@muc.de> (raw)
In-Reply-To: <874ol6qgf9.fsf@catnip.gol.com>

Jan, Miles,

On Thu, Feb 25, 2010 at 09:59:06AM +0900, Miles Bader wrote:
> "Jan D." <jan.h.d@swipnet.se> writes:
> >>     M-: (c-state-cache-init)

> >> , and tell me if this clears the buggy state.

> > No, it does not.  Run with Emacs taken from trunk 2010-02-24, around
> > 11.00 UTC.

> Yeah, I've been noticing the same problem a lot recently , and
> (c-state-cache-init) doesn't seem to help.

> Neither does re-invoking c++-mode (which in the past I've found is often
> a good way to clear indentation bugs due to c++-mode caching bugs).
> Deleting the buffer and re-visiting the file is the only way I've found
> to get things working again.

Reinitialising a CC Mode doesn't clear text properties from the buffer.
Perhaps it should.

> It does seem to always occur somewhere following use of template'd
> types though, so I imagine it's probs with the < and > chars.

As always.  These little characters are horrors to deal with in C++ Mode.
Their treatment is gradually improving.

In particular, I fixed some "silly" bugs concerned with them and
committed the fix yesterday evening (UCT+2).  Hopefully, things will run
more smoothly from now on.

> [The annoying thing is that while it's very repeatable at the time it
> occurs, it doesn't repeat for different emacs sessions, so I'm not
> entirely sure how to go about reporting the bug...]

Bob did so splendidly with a dribble file and CC Mode configuration
(generated by C-c C-b).  Anyhow, it might be working properly now.

> -Miles

-- 
Alan Mackenzie (Nuremberg, Germany).






  parent reply	other threads:[~2010-02-26 12:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  9:02 bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro Jan =?UTF-8?Q?Dj=C3=A4rv
2010-01-29 11:18 ` Alan Mackenzie
     [not found] ` <20100129112201.GA3793@muc.de>
2010-02-09 12:45   ` Jan Djärv
2010-02-09 12:55     ` Jan Djärv
2010-02-09 20:40     ` Alan Mackenzie
     [not found]     ` <20100209204008.GB2921@muc.de>
2010-02-24 12:09       ` Jan D.
     [not found]       ` <4B8516E9.40203@swipnet.se>
2010-02-25  0:59         ` Miles Bader
     [not found]         ` <874ol6qgf9.fsf@catnip.gol.com>
2010-02-26 12:58           ` Alan Mackenzie [this message]
2011-07-09  7:55         ` Jan Djärv
     [not found]         ` <4E18095F.9060607@swipnet.se>
2016-08-18  5:01           ` Andrew Hyatt
     [not found]           ` <m2bn0q8ycv.fsf@Andrews-MacBook-Pro.local>
2016-08-18 14:11             ` Eli Zaretskii
     [not found]             ` <83r39mdv5q.fsf@gnu.org>
2016-08-21  4:57               ` Andrew Hyatt
     [not found]               ` <m2fupyd8hd.fsf@Andrews-MacBook-Pro.local>
2016-08-22 10:49                 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100226125817.GA1137@muc.de \
    --to=acm@muc.de \
    --cc=5490@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).