all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Daniel Colascione <dancol@dancol.org>
Cc: 16585@debbugs.gnu.org
Subject: bug#16585: c-invalidate-state-cache fails if called when narrowed
Date: Sat, 8 Feb 2014 22:57:02 +0000	[thread overview]
Message-ID: <20140208225702.GC4063__47483.6155343384$1391900522$gmane$org@acm.acm> (raw)
In-Reply-To: <20140208223717.GA4063@acm.acm>

Hi, Daniel.

On Sat, Feb 08, 2014 at 10:37:17PM +0000, Alan Mackenzie wrote:

[ .... ]

> I don't think (but I'm not quite sure) that this patch is correct, since
> it leaves c-invalidate-state-cache-1 running widened.  That might well
> lead to incorrect "state cache" manipulations.  Instead I've widened the
> buffer around the two calls which clear and set the text properties.
> Would you please try out the following patch, which should fix the
> problem.

I just forgot to say, after applying the patch, please compile first
cc-defs.el, then cc-engine.el.

-- 
Alan Mackenzie (Nuremberg, Germany).





      parent reply	other threads:[~2014-02-08 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29  2:09 bug#16585: c-invalidate-state-cache fails if called when narrowed Daniel Colascione
2014-01-29  2:49 ` Glenn Morris
2014-02-02  2:12   ` Daniel Colascione
2014-02-16  9:14     ` Alan Mackenzie
2014-02-05 23:16 ` Alan Mackenzie
2014-02-08 22:37 ` Alan Mackenzie
     [not found] ` <20140208223717.GA4063@acm.acm>
2014-02-08 22:57   ` 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

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

  git send-email \
    --in-reply-to='20140208225702.GC4063__47483.6155343384$1391900522$gmane$org@acm.acm' \
    --to=acm@muc.de \
    --cc=16585@debbugs.gnu.org \
    --cc=dancol@dancol.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 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.