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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6071 in the body.
You can then email your comments to 6071 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6071; Package emacs. (Sat, 01 May 2010 03:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 May 2010 03:42:01 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: cc-(basic-)common-init not called in js-mode
Date: Sat, 1 May 2010 05:40:38 +0200
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?





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6071; Package emacs. (Sun, 02 May 2010 11:02:02 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: 6071 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>, 
	Stefan Monnier <monnier <at> iro.umontreal.ca>, Alan Mackenzie <acm <at> muc.de>, 
	Daniel Colascione <dan.colascione <at> gmail.com>
Subject: Re: bug#6071: cc-(basic-)common-init not called in js-mode
Date: Sun, 2 May 2010 13:00:59 +0200
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6071; Package emacs. (Sun, 02 May 2010 15:15:02 GMT) Full text and rfc822 format available.

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

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: Re: 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?




bug closed, send any further explanations to Lennart Borgman <lennart.borgman <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 06 Jul 2010 19:13:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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