unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 6071@debbugs.gnu.org, Daniel Colascione <dan.colascione@gmail.com>
Subject: bug#6071: cc-(basic-)common-init not called in js-mode
Date: Sun, 02 May 2010 11:14:28 -0400	[thread overview]
Message-ID: <87mxwi72uj.fsf@stupidchicken.com> (raw)
In-Reply-To: <u2ge01d8a51005020400nf02c08dbjd9ae0beb9a5b5485@mail.gmail.com> (Lennart Borgman's message of "Sun, 2 May 2010 13:00:59 +0200")

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?






      reply	other threads:[~2010-05-02 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxwi72uj.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=6071@debbugs.gnu.org \
    --cc=dan.colascione@gmail.com \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).