GNU bug report logs - #19206
25.0.50; CC Mode tracks wrong source files

Previous Next

Packages: emacs, cc-mode;

Reported by: Sebastian Wiesner <swiesner <at> lunaryorn.com>

Date: Fri, 28 Nov 2014 10:21:02 UTC

Severity: normal

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Sebastian Wiesner <swiesner <at> lunaryorn.com>
Cc: 19206 <at> debbugs.gnu.org
Subject: Re: bug#19206: 25.0.50; CC Mode tracks wrong source files
Date: Fri, 28 Nov 2014 14:49:07 -0500
> I did not try to find the culprit.  The CC Mode code is convoluted
> beyond my understanding.

Agreed, it's madness.  I'd like to streamline it (at some runtime cost),
but that requires major modes that use CC to do

  (require 'cc-langs)

rather than

  (eval-when-compile (require 'cc-langs))

Still, you can already do that and I recommend it since it should reduce
the number of ways the code can fail.  More to the point, it might fix
the problem you're experiencing (maybe cc-miscompile will still be
mentioned in there, but it hopefully won't be any more).


        Stefan




This bug report was last modified 10 years and 134 days ago.

Previous Next


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