unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Chong Yidong <cyd@gnu.org>, emacs-devel@gnu.org
Subject: Re: Another bug in CC Mode's state cache.
Date: Sat, 21 Apr 2012 07:19:43 +0000	[thread overview]
Message-ID: <20120421071943.GA3476@acm.acm> (raw)
In-Reply-To: <jwvy5ppstq2.fsf-monnier+emacs@gnu.org>

Hi, Stefan,

On Fri, Apr 20, 2012 at 10:30:14PM -0400, Stefan Monnier wrote:
> > This clearly isn't a "regression".  Would it nevertheless be OK to
> > install this fix in the Emacs 24 branch?

> Since it's not a regression, I'd rather not put it on the
> `emacs-24' branch.

OK.  I'll put it into the trunk.

>         Stefan "who found your explanation scary"

Hmm.  The code for that cache _is_ somewhat scary.  I thought my
explanation was quite clear.

Funnily enough, the bug only shows itself very rarely.  I could only
reproduce it in the CC Mode branch I was working on.  A corrupt state
cache makes its presence felt very quickly.

-- 
Alan Mackenzie (Nuremberg, Germany).



      reply	other threads:[~2012-04-21  7:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 20:04 Another bug in CC Mode's state cache Alan Mackenzie
2012-04-20  6:19 ` Leo
2012-04-21  7:22   ` Alan Mackenzie
2012-04-21  2:30 ` Stefan Monnier
2012-04-21  7:19   ` Alan Mackenzie [this message]

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=20120421071943.GA3476@acm.acm \
    --to=acm@muc.de \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).