[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5570: automatic cache validation
From: |
Paul Pogonyshev |
Subject: |
bug#5570: automatic cache validation |
Date: |
Sun, 4 Apr 2010 03:14:14 +0300 |
User-agent: |
KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) |
Chong Yidong wrote:
> > >>> Does
> > >>> M-x (c-state-cache-init)
> > >>> fix it?
> > >
> > >> No, it does not.
> > >
> >
> > I just got the problem again, while editing gtkutil.c in Emacs. There
> > M-: (c-state-cache-init) did indeed fix the problem.
> >
> > So it sometimes help. I guess this only adds to the confusion...
>
> You sent this message on March 22. That was the date Alan checked this
> into the branch:
>
> 2010-03-22 Alan Mackenzie <acm@muc.de>
>
> * progmodes/cc-engine.el (c-remove-stale-state-cache):
> Fix off-by-one error. Fixes bug #5747.
>
> The patch was merged to the trunk a couple days later. I don't know
> whether you were running with it when you made the above observation.
>
> So, are you still observing the problem after the patch?
Not directed to me, but I can answer as well.
Yes, I see the problem, though I'm not sure if it is "the" problem,
since there might be many similar ones.
* At least in some cases M-x (c-state-cache-init) doesn't help, but
C-x RET r (buffer reloading) does;
* Occasionally even buffer reloading doesn't help, so I have to kill
the buffer and open the file again;
* Sometimes I get wrong indentation which miraculously fixes itself
after I hit TAB next time;
* Sometimes when I type in a C string (like "bla-bla-bla"), first
character after the opening quote gets eaten because of a Lisp
error. Will report as separate bug when it happens if I don't
forget.
And yes, I double-verified that I do have the fix in the version I'm
running now.
Paul