[Top][All Lists]

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

bug#27881: New major mode: Less mode

From: Simen Heggestøyl
Subject: bug#27881: New major mode: Less mode
Date: Sun, 30 Jul 2017 19:53:03 +0200


Steve Purcell has developed a very nice major mode for editing Less
files (a minor variant of CSS). Seeing that Emacs' built-in CSS mode
got extended to support SCSS (another minor CSS variant) three years
ago, I contacted Steve and asked if he'd like Less mode to become a
part of Emacs as well, which he agreed to.

I've attached two patches which merge Steve's Less mode into
css-mode.el. The first patch is a verbatim copy of Steve's code, the
second one contains minor cleanups made by me.

The biggest change I've made is to rename the mode from "Less CSS
mode" to just "Less mode". I think the renaming has two advantages:
Aligning its name with "SCSS mode", and making the mode's commands,
variables and function names shorter. The downside is that existing
users of Less mode will have to update their config files. Maybe
aliasing `less-css-mode' to `less-mode' could help some in that
regard. What do you think of it?

If this looks okay, I'll complete the patches (fix the commit messages
and make a NEWS entry), install them, and start maintaining Less mode
as part of css-mode.el.

-- Simen

Attachment: 0001-WIP-New-major-mode-Less-mode-a-minor-variant-of-CSS.patch
Description: Text Data

Attachment: 0002-WIP-Fixes-and-tweaks-for-the-new-Less-mode.patch
Description: Text Data

reply via email to

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