GNU bug report logs - #6071
cc-(basic-)common-init not called in js-mode

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Sat, 1 May 2010 03:42:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: Alan Mackenzie <acm <at> muc.de>, 6071 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>, Daniel Colascione <dan.colascione <at> gmail.com>
Subject: bug#6071: cc-(basic-)common-init not called in js-mode
Date: Sun, 02 May 2010 11:14:28 -0400
Lennart Borgman <lennart.borgman <at> gmail.com> writes:

> On Sat, May 1, 2010 at 5:40 AM, Lennart Borgman
> <lennart.borgman <at> gmail.com> wrote:
>> I have a bug report that I believe is due to that cc-basic-common-init
>> is not called in js-mode. Due to this jus-mode modifies default values
>> instead of buffer local values:
>>
>>  https://bugs.launchpad.net/nxhtml/+bug/572664
>>
>> Could this please be fixed in js.el before the release?
>
>
> I think this is pretty serious since I believe any use of js.el will
> give rise to the problem and it affects other major modes using
> adaptive-fill-regexp.

I have changed js.el in the emacs-23 branch, so that it makes the
affected variables local.

For the trunk, maybe the more correct solution is to call
c-basic-common-init, as suggested.  Daniel, could you look into this?




This bug report was last modified 14 years and 320 days ago.

Previous Next


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