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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nathan Weizenbaum <nweiz <at> google.com>
Cc: 6806 <at> debbugs.gnu.org
Subject: bug#6806: Set comment-multi-line in js-mode
Date: Mon, 09 Aug 2010 13:33:23 +0200
> 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




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.