GNU bug report logs - #18749
24.3.94; CC Mode 5.32.5 (C/l); cc-mode state cache failure leading to bad indentation

Previous Next

Packages: cc-mode, emacs;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Thu, 16 Oct 2014 21:14:02 UTC

Severity: normal

Found in version 24.3.94

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 18749 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Alan Mackenzie <acm <at> muc.de>
Cc: Michael Welsh Duggan <mwd <at> md5i.com>, 18749 <at> debbugs.gnu.org
Subject: Re: bug#18749: 24.3.94; CC Mode 5.32.5 (C/l);
 cc-mode state cache failure leading to bad indentation
Date: Sat, 18 Oct 2014 15:11:49 -0400
> That would be all very well if all movement and scanning primitives
> (like `scan-lists' and the things that use it) actually had limit
> parameters.  They don't.  What alternative, then, is there to narrowing?

In the worst case you can narrow just around the call to scan-lists.
Or you live with the fact that it might move further than you intended.
I've changed a fair bit of code to avoid narrowing, and haven't bumped
into any real show stopper so far.


        Stefan




This bug report was last modified 9 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.