emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: font-lock patch for automated edits


From: Eric M. Ludlam
Subject: Re[2]: font-lock patch for automated edits
Date: Sun, 28 Dec 2008 08:12:22 -0500

>>> Stefan Monnier <address@hidden> seems to think that:
>>   I have some tests for the CEDET/Semantic incremental parsing engine.
>> This test calls 'erase-buffer', and performs edits very quickly, and
>> was causing font-lock to throw errors in my tests.
>
>Do you have backtraces for those bugs?
>
>>   This patch basically protects various determined regions (BEG/END)
>> from being out of bounds of a buffer.  I'd guess there is a better way
>> to do it, but this allows my tests to run.
>
>I'm not sure if there's a better place to enforce the bounds, but it's
>indeed possible.  Some stack traces would help figure it out,
  [ ... ]

Hello,

  I updated my version of Emacs from CVS recently, and this problem
still occurs.

  I also have a simplified reproduction step.  Start with this C++
file:

----------
/* A comment */
/*
 * A multi-line comment
 */
-----------

Make sure font lock has fontified this entire buffer.

Mark the entirety of the multi-line comment, and use C-w to kill the
region.  Font lock will throw an error and stop auto-updating.

You can also use C-k on the last line in this buffer, to get the same
effect.

Thanks
Eric

-- 
          Eric Ludlam:                       address@hidden
   Siege: www.siege-engine.com          Emacs: http://cedet.sourceforge.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]