unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6071: cc-(basic-)common-init not called in js-mode
@ 2010-05-01  3:40 Lennart Borgman
  2010-05-02 11:00 ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2010-05-01  3:40 UTC (permalink / raw)
  To: 6071

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?







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6071: cc-(basic-)common-init not called in js-mode
  2010-05-01  3:40 bug#6071: cc-(basic-)common-init not called in js-mode Lennart Borgman
@ 2010-05-02 11:00 ` Lennart Borgman
  2010-05-02 15:14   ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2010-05-02 11:00 UTC (permalink / raw)
  To: 6071, Chong Yidong, Stefan Monnier, Alan Mackenzie,
	Daniel Colascione

On Sat, May 1, 2010 at 5:40 AM, Lennart Borgman
<lennart.borgman@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.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6071: cc-(basic-)common-init not called in js-mode
  2010-05-02 11:00 ` Lennart Borgman
@ 2010-05-02 15:14   ` Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2010-05-02 15:14 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6071, Daniel Colascione

Lennart Borgman <lennart.borgman@gmail.com> writes:

> On Sat, May 1, 2010 at 5:40 AM, Lennart Borgman
> <lennart.borgman@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?






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-02 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01  3:40 bug#6071: cc-(basic-)common-init not called in js-mode Lennart Borgman
2010-05-02 11:00 ` Lennart Borgman
2010-05-02 15:14   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).