GNU bug report logs - #31338
none of the css-* defuns are available

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 2 May 2018 01:19:02 UTC

Severity: wishlist

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31338 in the body.
You can then email your comments to 31338 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31338; Package emacs. (Wed, 02 May 2018 01:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 02 May 2018 01:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: none of the css-* defuns are available
Date: Wed, 02 May 2018 04:30:40 +0800
We take a css file that is all on one line,
$ wc /tmp/o.css
   1  144 4835 /tmp/o.css
and try to reformat it.
$ emacs /tmp/o.css
But none of the css-* defuns are available,
M-x css-<TAB>
only shows css-mode.
And C-h m only shows prog-indent-sexp which is of no help.
emacs-version "25.2.2"

OK I ended up doing
(query-replace "}" "}
" nil (if (use-region-p) (region-beginning)) (if (use-region-p)
(region-end)) nil nil)
which was all I needed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31338; Package emacs. (Mon, 14 May 2018 15:44:02 GMT) Full text and rfc822 format available.

Message #8 received at 31338 <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 31338 <at> debbugs.gnu.org
Subject: Re: bug#31338: none of the css-* defuns are available
Date: Mon, 14 May 2018 17:43:03 +0200
[Message part 1 (text/plain, inline)]
CSS mode doesn't provide a function that re-formats a CSS file that is
all on one line. I think the closest you'll get is
`css-fill-paragraph', which re-formats whole selectors at a time.

Maybe it would be nice to make `css-fill-paragraph' interactive,
making that functionality easier to discover through `M-x'?

-- Simen
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31338; Package emacs. (Mon, 14 May 2018 21:52:01 GMT) Full text and rfc822 format available.

Message #11 received at 31338 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 31338 <at> debbugs.gnu.org
Subject: Re: bug#31338: none of the css-* defuns are available
Date: Tue, 15 May 2018 05:51:04 +0800
Well the whole thing needs to be documented giving examples of how one
is supposed to use the mode.

And then how to tackle e.g., Facebook and Google's CSS, which is all on
one line.




Reply sent to Simen Heggestøyl <simenheg <at> gmail.com>:
You have taken responsibility. (Sun, 24 Jun 2018 12:34:01 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Sun, 24 Jun 2018 12:34:02 GMT) Full text and rfc822 format available.

Message #16 received at 31338-done <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 31338-done <at> debbugs.gnu.org
Subject: Re: bug#31338: none of the css-* defuns are available
Date: Sun, 24 Jun 2018 14:32:55 +0200
[Message part 1 (text/plain, inline)]
The mode's documentation string was extended in Emacs 26.1, please see
if you find the documentation there sufficient. Otherwise feel free to
provide concrete suggestions for further improvements.

I've updated the docstring to mention fill-paragraph too, which will
be visible in Emacs 26.2.
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.