From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#20256: 25.0.50; css-mode: filling multi-line comments Date: Tue, 21 Apr 2015 21:08:06 +0200 Message-ID: <1429643286.1539.0@smtp.gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-Yi5/pLxC3BuM5E7vJLJn" X-Trace: ger.gmane.org 1429643386 22737 80.91.229.3 (21 Apr 2015 19:09:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 19:09:46 +0000 (UTC) Cc: 20256-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 21:09:35 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkdXz-0006Zg-0X for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 21:09:27 +0200 Original-Received: from localhost ([::1]:60029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkdXy-0006XK-CQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 15:09:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkdXj-0006Dx-CJ for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 15:09:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkdXb-00029I-0Y for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 15:09:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkdXa-000299-R5 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkdXa-0001MD-FR for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2015 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20256-done@debbugs.gnu.org id=D20256.14296432985121 (code D ref 20256); Tue, 21 Apr 2015 19:09:02 +0000 Original-Received: (at 20256-done) by debbugs.gnu.org; 21 Apr 2015 19:08:18 +0000 Original-Received: from localhost ([127.0.0.1]:35492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkdWr-0001KX-7s for submit@debbugs.gnu.org; Tue, 21 Apr 2015 15:08:17 -0400 Original-Received: from mail-la0-f49.google.com ([209.85.215.49]:33272) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkdWp-0001KB-B9 for 20256-done@debbugs.gnu.org; Tue, 21 Apr 2015 15:08:15 -0400 Original-Received: by layy10 with SMTP id y10so158510021lay.0 for <20256-done@debbugs.gnu.org>; Tue, 21 Apr 2015 12:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version:content-type; bh=QFgZi/DRiei3mlY4WMp4h6L/ctAaG2F+nhGGOKXON6s=; b=HZ1mYJu8/fqtKRIc/5zxuvPYkfhhYMMqr1+PL6Oy2dIKScTG56aCoO36En/twJZcwP blWFpp0kCVa+TscpbL3GvZEVv/oIiN126xDARRwAuywAW2iU1pun2iV9Yn/M2MP39Y5l lpJ5pWzVtVmwr81tpVodIu8+qJe08xNwWnKAIg4wLxa2Ks4nLoZoZsA4UuzN0ujfgBdP hdyVdnG5UBOTakYR/Svx8o8Xhpvzv+qU/SzVC3mDwkJ8zynkhxBEXETHVZOArCnWv4DS gofO5SIRVz/evNpmXpPOZ6uItw30cQiVCsaBtKakTG2kKYIrR8V4Z657t/c+ADm9CIHQ mX2Q== X-Received: by 10.152.7.209 with SMTP id l17mr21659928laa.100.1429643289466; Tue, 21 Apr 2015 12:08:09 -0700 (PDT) Original-Received: from [192.168.1.114] (cm-84.215.44.110.getinternet.no. [84.215.44.110]) by mx.google.com with ESMTPSA id pn1sm610668lbc.6.2015.04.21.12.08.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2015 12:08:08 -0700 (PDT) In-Reply-To: X-Mailer: geary/0.8.2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101835 Archived-At: --=-Yi5/pLxC3BuM5E7vJLJn Content-Type: text/plain; charset=utf-8; format=flowed On Mon, Apr 20, 2015 at 6:09 PM, Stefan Monnier wrote: > Would you like to do it? I think all it would take is to move the > code > there, set it in prog-mode (so that modes that derive from prog-mode > get > to use this new code by default) and then make a few random tests in > various major modes (mostly those that don't themselves set > fill-paragraph-function). > > BTW, could add a couple tests to test/automated, to try and make > sure your use-case is remembered? Sure! Unless it's time-critical to get this done. My spare time varies, but if I can do it in my own tempo, I can surely look into it. :) I've already spotted out js-mode as a candidate to make use of the new code. It's currently borrowing comment filling code from cc-mode, which results in bugs such as #19399. -- Simen --=-Yi5/pLxC3BuM5E7vJLJn Content-Type: text/html; charset=utf-8 On Mon, Apr 20, 2015 at 6:09 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
Would you like to do it? I think all it would take is to move the code there, set it in prog-mode (so that modes that derive from prog-mode get to use this new code by default) and then make a few random tests in various major modes (mostly those that don't themselves set fill-paragraph-function). BTW, could add a couple tests to test/automated, to try and make sure your use-case is remembered?

Sure! Unless it's time-critical to get this done. My spare time
varies, but if I can do it in my own tempo, I can surely look into
it. :)

I've already spotted out js-mode as a candidate to make use of the new
code. It's currently borrowing comment filling code from cc-mode,
which results in bugs such as #19399.

-- Simen
--=-Yi5/pLxC3BuM5E7vJLJn--