bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6806: Set comment-multi-line in js-mode


From: Stefan Monnier
Subject: bug#6806: Set comment-multi-line in js-mode
Date: Sat, 11 Sep 2010 15:54:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 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.

Indeed, I misremembered.  Feel free to install this patch.


        Stefan
        

> On Mon, Aug 9, 2010 at 4:33 AM, Stefan Monnier 
> <monnier@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
>> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]