all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Another bug in CC Mode's state cache.
Date: Sat, 21 Apr 2012 07:22:36 +0000	[thread overview]
Message-ID: <20120421072236.GB3476@acm.acm> (raw)
In-Reply-To: <874nsf6i2u.fsf@gmail.com>

Hi, Leo.

On Fri, Apr 20, 2012 at 02:19:37PM +0800, Leo wrote:
> On 2012-04-21 04:04 +0800, Alan Mackenzie wrote:
> > The solution is to use the cache's memory of c rather than the paren in
> > the buffer to bound the search.  This works.  I have tested it on 100,000
> > random points in xdisp.c and 20,000 points in lisp.h.  The results with
> > the new bugfix are identical to those without.

> I'd love to see this fixed and this seems to indicate it is reasonably
> safe.

I doubt you'd see much difference.  Like I said to Stefan, its symptoms
only appear very rarely.  But it'll go into the trunk.

> Leo

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2012-04-21  7:22 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 [this message]
2012-04-21  2:30 ` Stefan Monnier
2012-04-21  7:19   ` 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

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

  git send-email \
    --in-reply-to=20120421072236.GB3476@acm.acm \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.