[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20256: 25.0.50; css-mode: filling multi-line comments
From: |
Simen Heggestøyl |
Subject: |
bug#20256: 25.0.50; css-mode: filling multi-line comments |
Date: |
Sat, 04 Apr 2015 15:12:31 +0200 |
Filling multi-line comments in `css-mode' is broken. Consider for
instance the following comment:
/*
* Multi-line comment here.
* This comment spans
* multiple
* lines.
* Better fill it!
*/
Filling it with a `fill-column' of 70, I'd expect the following
result:
/*
* Multi-line comment here. This comment spans multiple lines.
* Better fill it!
*/
But as of now, what we get is this:
/* * Multi-line comment here. * This comment spans * multiple *
lines. * Better fill it! */
From this comment in `css-fill-paragraph', it sounds like it is
supposed to work, or has been working some time before:
;; Filling inside a comment whose comment-end marker is not \n.
;; This code is meant to be generic, so that it works not only for
;; css-mode but for all modes.
Could someone fill me in?
Alternatively, we could let `css-mode' borrow comment filling code
from `cc-mode', like `js-mode' and `js2-mode' do. Please let me know
if that would be an acceptable fix.
-- Simen
- bug#20256: 25.0.50; css-mode: filling multi-line comments,
Simen Heggestøyl <=
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Stefan Monnier, 2015/04/07
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Simen Heggestøyl, 2015/04/09
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Stefan Monnier, 2015/04/09
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Simen Heggestøyl, 2015/04/10
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Stefan Monnier, 2015/04/13
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Simen Heggestøyl, 2015/04/18
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Stefan Monnier, 2015/04/18
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Simen Heggestøyl, 2015/04/18
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Stefan Monnier, 2015/04/20
- bug#20256: 25.0.50; css-mode: filling multi-line comments, Simen Heggestøyl, 2015/04/21