From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#19263: 25.0.50; scss-mode: interpolated variable indentation Date: Wed, 03 Dec 2014 19:45:02 +0100 Message-ID: <1417632302.20176.0@smtp.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-qO4/UdQ6HGpXSEYaKyzw" X-Trace: ger.gmane.org 1417632384 22675 80.91.229.3 (3 Dec 2014 18:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 18:46:24 +0000 (UTC) To: 19263@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 19:46:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwEwL-0002H5-5A for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 19:46:17 +0100 Original-Received: from localhost ([::1]:42888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEwK-0006mp-C0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 13:46:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEwC-0006md-Oy for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:46:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwEw6-0000ql-QZ for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:46:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEw6-0000qh-O1 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwEw6-0003uf-Gs for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Dec 2014 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19263 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141763232514986 (code B ref -1); Wed, 03 Dec 2014 18:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Dec 2014 18:45:25 +0000 Original-Received: from localhost ([127.0.0.1]:52934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwEvU-0003td-8o for submit@debbugs.gnu.org; Wed, 03 Dec 2014 13:45:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58983) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwEvR-0003tW-Eo for submit@debbugs.gnu.org; Wed, 03 Dec 2014 13:45:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwEvM-0000TK-Gq for submit@debbugs.gnu.org; Wed, 03 Dec 2014 13:45:21 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEvM-0000TA-DV for submit@debbugs.gnu.org; Wed, 03 Dec 2014 13:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEvH-0006kp-Ka for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:45:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwEvD-0000NH-0T for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:45:11 -0500 Original-Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:56327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwEvC-0000Hy-N1 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 13:45:06 -0500 Original-Received: by mail-wi0-f177.google.com with SMTP id l15so25459722wiw.16 for ; Wed, 03 Dec 2014 10:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:message-id:mime-version:content-type; bh=qo7DM53/6l2EoSr/CFJm3PjrNH5JTy4DMRtqevTpOOE=; b=mq5QjVL5Ht0UlAy20eWiWGWDunaKF3jB0pWdbsA65O8dYFUETMOA0GTaTtHUbScmbn YcqWEe87kmBjz732O8xvS77rz7itcpK7SGnUWMqFrrtgNrKUNTPc4Q/vLp/yNmoaEeZ6 E/zrTCy2RUWhD/9b5T70v6OdJ6r6Ab/+/zBJGCRThZkI6+mP/sF1RGAGIUdxlJFVQp5m JjSBIv+T0F/XbNKmJ6RNbNxowNQp1lxTv9AH1qK/MPf3oCXABBjPUlCR046H/oQhnfrA GubJ6a49TjdxozstCfzFfKNG1u+ascJsBJKhxWwrjB548hqM8nJBoJpj+v/dp4a8sODt Dqew== X-Received: by 10.180.11.140 with SMTP id q12mr15658998wib.45.1417632305256; Wed, 03 Dec 2014 10:45:05 -0800 (PST) Original-Received: from [192.168.1.114] (cm-84.215.213.32.getinternet.no. [84.215.213.32]) by mx.google.com with ESMTPSA id kv6sm37376299wjb.9.2014.12.03.10.45.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 10:45:04 -0800 (PST) X-Mailer: geary/0.8.2 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96825 Archived-At: --=-qO4/UdQ6HGpXSEYaKyzw Content-Type: text/plain; charset=utf-8; format=flowed The following Sassy CSS block is indented wrongly by `scss-mode': div { p.#{$hyphenated-var} { color: #f00; } } The following indentation was expected: div { p.#{$hyphenated-var} { color: #f00; } } The code gets indented correctly if any of these changes are made to the block: * Un-hyphenate the interpolated variable [1], for instance to `$var'. * Add any property to the parent `div'. [1] http://sass-lang.com/documentation/file.SASS_REFERENCE.html#interpolation_ In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.4) of 2014-12-03 on x240 Repository revision: e148a1eacaaa6d6e67db09188f66dab06937ae0d Windowing system distributor `The X.Org Foundation', version 11.0.11601901 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --without-makeinfo' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: SCSS Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: Quit Mark set [2 times] Indenting region...done Quit Undo! Mark set Quit Mark set Indenting region...done Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils css-mode smie js advice help-fns byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv json imenu thingatpt cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch multi-isearch dired-aux dired time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 106367 7206) (symbols 48 21399 0) (miscs 40 78 372) (strings 32 21229 3819) (string-bytes 1 729005) (vectors 16 13860) (vector-slots 8 429380 2421) (floats 8 73 231) (intervals 56 382 10) (buffers 976 15) (heap 1024 35855 1014)) --=-qO4/UdQ6HGpXSEYaKyzw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
The following Sassy CSS block is indented wrongly by `scss-mode':

div {
    p.#{$hyphenated-var} {
    color: #f00;
}
}

<= /div>
The following indentation was expected:

= div {
    p.#{$hyphenated-var} {
   = ;     color: #f00;
    }
}

The code gets indented correctly if any of these changes a= re made to
the block:

 * Un-hyphena= te the interpolated variable [1], for instance to `$var'.

 * Add any property to the parent `div'.

<= div>


<= div>In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.4)<= /div>
 of 2014-12-03 on x240
Repository revision: e148a1= eacaaa6d6e67db09188f66dab06937ae0d
Windowing system distributor `= The X.Org Foundation', version 11.0.11601901
System Description:<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> Debian GNU/= Linux testing (jessie)

Configured using:
 `configure --without-makeinfo'

Configured f= eatures:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML= 2 FREETYPE XFT
ZLIB

Important settings:<= /div>
  value of $LANG: en_US.UTF-8
  locale-coding= -system: utf-8-unix

Major mode: SCSS
Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
<= div>  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t=
  auto-encryption-mode: t
  auto-compression= -mode: t
  line-number-mode: t

Rece= nt messages:
Quit
Mark set [2 times]
Indentin= g region...done
Quit
Undo!
Mark set
Quit
Mark set
Indenting region...done
Making= completion list...

Load-path shadows:
N= one found.

Features:
(shadow sort gnus-u= til mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-= decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-util= s mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prs= vr mail-utils css-mode smie js advice help-fns byte-opt bytecomp
= byte-compile cl-extra cl-loaddefs cl-lib cconv json imenu thingatpt
cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs misearch multi-isearch dired-aux dired
time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-= opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mo= de register
page menu-bar rfn-eshadow timer select scroll-bar mou= se jit-lock
font-lock syntax facemenu font-core frame cham georgi= an utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao kore= an japanese hebrew
greek romanian slovak czech european ethiopic = indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help si= mple abbrev minibuffer nadvice
loaddefs button faces cus-face mac= roexp files text-properties overlay
sha1 md5 base64 format env co= de-pages mule custom widget
hashtable-print-readable backquote ma= ke-network-process dbusbind
gfilenotify dynamic-setting system-fo= nt-setting font-render-setting
move-toolbar gtk x-toolkit x multi= -tty emacs)

Memory information:
((conses= 16 106367 7206)
 (symbols 48 21399 0)
 (misc= s 40 78 372)
 (strings 32 21229 3819)
 (strin= g-bytes 1 729005)
 (vectors 16 13860)
 (vecto= r-slots 8 429380 2421)
 (floats 8 73 231)
 (i= ntervals 56 382 10)
 (buffers 976 15)
 (heap = 1024 35855 1014))

= --=-qO4/UdQ6HGpXSEYaKyzw--