GNU bug report logs - #14325
24.3; cc-mode does not initialize correctly w/ -batch

Previous Next

Packages: cc-mode, emacs;

Reported by: Achim Gratz <Stromeko <at> nexgo.de>

Date: Tue, 30 Apr 2013 17:46:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 14325 <at> debbugs.gnu.org
Subject: Re: bug#14325: 24.3; cc-mode does not initialize correctly w/ -batch
Date: Wed, 01 May 2013 13:59:49 -0400
Alan Mackenzie wrote:

> However, you'll probably prefer to carry on with using Font Lock Mode
> uninitialised.  ;-)  I think Glenn's patch achieves this painlessly.

That patch seems like TRT to me anyway.

What problem is c-standard-font-lock-fontify-region-function supposed to
solve? Someone changing the default value of
font-lock-fontify-region-function in between font-lock-mode-hook being
run and font-lock-fontify-region being called?
That shouldn't happen, only the buffer-local value should ever be
changed. It's not a user-variable.
(I actually think you could safely just call
font-lock-default-fontify-region .)




This bug report was last modified 12 years and 13 days ago.

Previous Next


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