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


View this message in rfc822 format

From: Nathan Weizenbaum <nweiz <at> google.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6806 <at> debbugs.gnu.org
Subject: bug#6806: Set comment-multi-line in js-mode
Date: Mon, 9 Aug 2010 10:56:56 -0700
[Message part 1 (text/plain, inline)]
My fix doesn't actually fix the "/* */" issue, unfortunately. However, it
doesn't break "//" either; note that comment-multi-line is t for e.g.
c-mode, and comment-indent-new-line works for "//" there.

On Mon, Aug 9, 2010 at 4:33 AM, Stefan Monnier <monnier <at> iro.umontreal.ca>wrote:

> > 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.
>
> If I understand and remember correctly, this is not the right fix for
> your problem: setting comment-multi-line to t will fix your problem with
> "/*..*/" but will introduce another for "//....\n" and vice-versa.
>
>
>        Stefan
>
[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.