GNU bug report logs - #6806
Set comment-multi-line in js-mode

Previous Next

Package: emacs;

Reported by: Nathan Weizenbaum <nweiz <at> google.com>

Date: Thu, 5 Aug 2010 20:09:02 UTC

Severity: normal

Found in versions 24.0.50.1, 24.5

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Nathan Weizenbaum <nweiz <at> google.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 6806 <at> debbugs.gnu.org
Subject: Re: bug#6806: Set comment-multi-line in js-mode
Date: Sun, 8 Aug 2010 17:14:12 -0700
[Message part 1 (text/plain, inline)]
Open a new Javascript file. Type "/*". Run M-x comment-indent-new-line. This
inserts "\n  /*", which is incorrect.

Now that I try to reproduce my fix, though, it doesn't seem to work. I'm not
sure what the proper solution is.

On Sun, Aug 8, 2010 at 1:40 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:

> Nathan Weizenbaum <nweiz <at> google.com> writes:
>
> > js-mode doesn't set the comment-multi-line variable. This results in
> > comment-indent-new-line behaving improperly when used in a multi-line
> comment,
> > which also affects auto-fill-mode, according to the documentation for
> > comment-multi-line.
> >
> > Attached is a patch that sets the variable.
>
> Could you provide a precise recipe for the problem?
>
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 151 days ago.

Previous Next


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