GNU bug report logs - #22841
[PATCH] Declare $ as an expression prefix in SCSS mode

Previous Next

Package: emacs;

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

Date: Sun, 28 Feb 2016 19:57:02 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 22841 in the body.
You can then email your comments to 22841 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#22841; Package emacs. (Sun, 28 Feb 2016 19:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Heggestøyl <simenheg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 28 Feb 2016 19:57:02 GMT) Full text and rfc822 format available.

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

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: [PATCH] Declare $ as an expression prefix in SCSS mode
Date: Sun, 28 Feb 2016 20:56:43 +0100
Variable names are prefixed by $ in SCSS. The following patch declares $
as an expression prefix in SCSS mode.


From 61b4e502dd52dcbfeb529b4d042b210708c22c8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= <simenheg <at> gmail.com>
Date: Tue, 23 Feb 2016 22:02:13 +0100
Subject: [PATCH] Declare $ as an expression prefix in SCSS mode

* lisp/textmodes/css-mode.el (scss-mode-syntax-table): Declare $ as an
expression prefix.
---
 lisp/textmodes/css-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 4064374..93a8dce 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -547,6 +547,8 @@ scss-mode-syntax-table
   (let ((st (make-syntax-table css-mode-syntax-table)))
     (modify-syntax-entry ?/ ". 124" st)
     (modify-syntax-entry ?\n ">" st)
+    ;; Variable names are prefixed by $.
+    (modify-syntax-entry ?$ "'" st)
     st))

 (defvar scss-font-lock-keywords
--
2.7.0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22841; Package emacs. (Mon, 29 Feb 2016 06:05:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, 22841 <at> debbugs.gnu.org
Subject: Re: bug#22841: [PATCH] Declare $ as an expression prefix in SCSS mode
Date: Mon, 29 Feb 2016 17:04:02 +1100
Simen Heggestøyl <simenheg <at> gmail.com> writes:

> Variable names are prefixed by $ in SCSS. The following patch declares $
> as an expression prefix in SCSS mode.

Thanks; applied to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 29 Feb 2016 06:05:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 22841 <at> debbugs.gnu.org and Simen Heggestøyl <simenheg <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 29 Feb 2016 06:05:02 GMT) Full text and rfc822 format available.

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

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:10 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:10 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:10 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 172 days ago.

Previous Next


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