GNU bug report logs - #21230
25.0.50; scss-mode: Font Lock hangs on Sass lists

Previous Next

Package: emacs;

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

Date: Mon, 10 Aug 2015 15:43:02 UTC

Severity: normal

Found in version 25.0.50

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 21230 in the body.
You can then email your comments to 21230 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#21230; Package emacs. (Mon, 10 Aug 2015 15:43: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. (Mon, 10 Aug 2015 15:43: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
Subject: 25.0.50; scss-mode: Font Lock hangs on Sass lists
Date: Mon, 10 Aug 2015 17:42:41 +0200
[Message part 1 (text/plain, inline)]
In scss-mode, Font Lock hangs on particular instances of Sass lists.
To see an example of this, paste the following into a buffer, and
activate scss-mode + font-lock-mode:

$list: (
   ('string', #000000, #fff)
   ('string', #000000, #fff)
   ('string', #000000, #fff)
   ('string', #000000, #fff)
   ('string', #000000, #fff)
   ('string', #000000, #fff)
);

Font Lock hangs, and I find that I have to press C-g a number of times
to be able to continue editing.


In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
of 2015-08-10 on x240
Repository revision: a9bb9d8fc22417d1fafd8001d89a91c33c8b39ec
Windowing system distributor `The X.Org Foundation', version 
11.0.11702000
System Description:	Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
 value of $LANG: en_US.UTF-8
 locale-coding-system: utf-8-unix

Major mode: SCSS


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

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21230; Package emacs. (Sat, 09 Jan 2016 12:56:01 GMT) Full text and rfc822 format available.

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

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: 21230 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#21230: 25.0.50; scss-mode: Font Lock hangs on Sass lists
Date: Sat, 09 Jan 2016 13:55:10 +0100
[Message part 1 (text/plain, inline)]
It seems that this happens because scss-mode thinks that the list
elements are selectors. The attached patch attempts to fix this by
disallowing parenthesis in selectors, except for in the function
notation that might appear right after pseudo-classes.

-- Simen
[Message part 2 (text/html, inline)]
[0001-Disallow-parenthesis-in-non-pseudo-CSS-selectors.patch (text/x-patch, attachment)]

Reply sent to Simen Heggestøyl <simenheg <at> gmail.com>:
You have taken responsibility. (Thu, 14 Jan 2016 18:38:02 GMT) Full text and rfc822 format available.

Notification sent to Simen Heggestøyl <simenheg <at> gmail.com>:
bug acknowledged by developer. (Thu, 14 Jan 2016 18:38:02 GMT) Full text and rfc822 format available.

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

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: 21230-done <at> debbugs.gnu.org
Subject: Re: bug#21230: 25.0.50; scss-mode: Font Lock hangs on Sass lists
Date: Thu, 14 Jan 2016 19:37:50 +0100
[Message part 1 (text/plain, inline)]
Patch installed (dadb841a).
[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. (Fri, 12 Feb 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 134 days ago.

Previous Next


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