From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6806: Set comment-multi-line in js-mode Date: Sat, 11 Sep 2010 15:54:37 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284214233 21417 80.91.229.12 (11 Sep 2010 14:10:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 14:10:33 +0000 (UTC) Cc: 6806@debbugs.gnu.org To: Nathan Weizenbaum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 11 16:10:31 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OuQml-0002s2-H1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Sep 2010 16:10:31 +0200 Original-Received: from localhost ([127.0.0.1]:53427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuQmk-0005wL-R1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Sep 2010 10:10:30 -0400 Original-Received: from [140.186.70.92] (port=50605 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuQmd-0005w5-DP for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 10:10:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuQmc-0005Qe-2F for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 10:10:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45629) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuQmb-0005QZ-U1 for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 10:10:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OuQVq-0002UG-5w; Sat, 11 Sep 2010 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Sep 2010 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6806-submit@debbugs.gnu.org id=B6806.12842131669534 (code B ref 6806); Sat, 11 Sep 2010 13:53:02 +0000 Original-Received: (at 6806) by debbugs.gnu.org; 11 Sep 2010 13:52:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuQVZ-0002Ti-Vt for submit@debbugs.gnu.org; Sat, 11 Sep 2010 09:52:46 -0400 Original-Received: from impaqm3.telefonica.net ([213.4.138.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuQVX-0002TS-Sz for 6806@debbugs.gnu.org; Sat, 11 Sep 2010 09:52:44 -0400 Original-Received: from IMPmailhost4.adm.correo ([10.20.102.125]) by IMPaqm3.telefonica.net with bizsmtp id 5Qel1f0022iL0W23PRufnV; Sat, 11 Sep 2010 15:54:39 +0200 Original-Received: from ceviche.home ([83.61.39.212]) by IMPmailhost4.adm.correo with BIZ IMP id 5Rud1f0094aeRwb1kRuen5; Sat, 11 Sep 2010 15:54:39 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Original-Received: by ceviche.home (Postfix, from userid 20848) id 96D56660D2; Sat, 11 Sep 2010 15:54:37 +0200 (CEST) In-Reply-To: (Nathan Weizenbaum's message of "Mon, 9 Aug 2010 10:56:56 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 11 Sep 2010 09:53:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40092 Archived-At: > 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 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 >>