From unknown Tue Jun 24 03:23:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23229 <23229@debbugs.gnu.org> To: bug#23229 <23229@debbugs.gnu.org> Subject: Status: 24.5; Wrong indentation in SCSS files (CSS mode) when using nested interpolated selectors Reply-To: bug#23229 <23229@debbugs.gnu.org> Date: Tue, 24 Jun 2025 10:23:05 +0000 retitle 23229 24.5; Wrong indentation in SCSS files (CSS mode) when using n= ested interpolated selectors reassign 23229 emacs submitter 23229 Artemiy Solopov severity 23229 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 06 11:04:55 2016 Received: (at submit) by debbugs.gnu.org; 6 Apr 2016 15:04:55 +0000 Received: from localhost ([127.0.0.1]:51871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anp0o-0002Cx-Dr for submit@debbugs.gnu.org; Wed, 06 Apr 2016 11:04:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ank6P-0001Br-Ae for submit@debbugs.gnu.org; Wed, 06 Apr 2016 05:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ank6I-0003sR-PA for submit@debbugs.gnu.org; Wed, 06 Apr 2016 05:50:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ank6I-0003sM-Le for submit@debbugs.gnu.org; Wed, 06 Apr 2016 05:50:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ank6H-0007b9-7T for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 05:50:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ank6C-0003p9-7w for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 05:50:13 -0400 Received: from forward6j.cmail.yandex.net ([5.255.227.107]:48909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ank6B-0003nB-O7 for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 05:50:08 -0400 Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward6j.cmail.yandex.net (Yandex) with ESMTP id 7E7DD21E3E for ; Wed, 6 Apr 2016 12:50:04 +0300 (MSK) Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id 465F31B602F4 for ; Wed, 6 Apr 2016 12:50:04 +0300 (MSK) Received: by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rz4vK02e6V-o3neDZrs; Wed, 06 Apr 2016 12:50:03 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1459936203; bh=T7RYQC9faYP2RYZOD47BiRBR4EKLny3c1BA6I62gAqA=; h=To:Subject:From:Message-ID:Date:User-Agent:MIME-Version: Content-Type; b=wtw9fa1S57bF+Ex0xRV+9cEVk+nZXuCMjb9wqRRJtlsMtyTrdoRGB2INbk4s/G5PX 60vO2V3l4wBc0O5OBMlNdcZueAISgehyXbqeaXkW2X8QVvI+iQiJrnNvWZtUFc7pBU JeFY69LDCr/228KCk56qHUK7bNY92MVq6zvYMkxI= Authentication-Results: smtp14.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0 To: bug-gnu-emacs@gnu.org Subject: 24.5; Wrong indentation in SCSS files (CSS mode) when using nested interpolated selectors From: Artemiy Solopov Message-ID: <5704DBCB.3090908@yandex.ru> Date: Wed, 6 Apr 2016 12:50:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070501010506000606020209" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Apr 2016 11:04:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------070501010506000606020209 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Steps to reproduce (after emacs -Q): * Visit an SCSS file with nested interpolated selectors, like the attached one. * Set CSS mode with M-x css-mode * Indent the file (for example, mark the whole file and run M-x indent-for-tab) * Notice the indentation of the "background: $col;" line. As it is now, it's indented at the same level as the previous selector line, and the closing brace after this line is indented one level shallower. The desired behaviour would be to indent the "background: $col;" line one level deeper than the selector, and the closing brace the same as the selector. In GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.27) of 2015-10-08 on art-solopov Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.4 LTS Configured using: `configure --prefix=3D/home/user/built-software/emacs --with-x-toolkit=3Dgtk2' Important settings: value of $LANG: ru_RU.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: CSS Minor modes in effect: tooltip-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 transient-mark-mode: t Recent messages: Checking 151 files in /home/user/built-software/emacs/share/emacs/24.5/lisp= /emacs-lisp... Checking 24 files in /home/user/built-software/emacs/share/emacs/24.5/lisp/= cedet... Checking 57 files in /home/user/built-software/emacs/share/emacs/24.5/lisp/= calendar... Checking 87 files in /home/user/built-software/emacs/share/emacs/24.5/lisp/= calc... Checking 111 files in /home/user/built-software/emacs/share/emacs/24.5/lisp= /obsolete... Checking for load-path shadows...done C-c is undefined Auto-saving...done C-c is undefined Making completion list... [2 times] Load-path shadows: None found. Features: (help-mode pp shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils css-mode smie time-date cyril-util tooltip 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 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 74708 7308) (symbols 48 17743 0) (miscs 40 50 200) (strings 32 10083 4084) (string-bytes 1 282357) (vectors 16 10142) (vector-slots 8 394794 13313) (floats 8 66 304) (intervals 56 238 29) (buffers 960 15) (heap 1024 34180 2009)) --=20 =D0=90=D1=80=D1=82=D0=B5=D0=BC=D0=B8=D0=B9 =D0=A1=D0=BE=D0=BB=D0=BE=D0=BF= =D0=BE=D0=B2 --------------070501010506000606020209 Content-Type: text/plain; charset=UTF-8; name="spl.scss" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="spl.scss" JGNvbHM6ICgjNEZDLCByZ2JhKCNBQTEsIC42KSwgI0U2Nyk7CgpAZm9yICRpIGZyb20gMSB0 aHJvdWdoIDMgewogICRjb2w6IG50aCgkY29scywgJGkpOwoKICAubGVnZW5kIHsKICAgIC5p dGVtLiN7JGl9IHsKICAgIGJhY2tncm91bmQ6ICRjb2w7CiAgfQogIH0KfQoK --------------070501010506000606020209-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 06 11:37:33 2016 Received: (at 23229) by debbugs.gnu.org; 6 Apr 2016 15:37:33 +0000 Received: from localhost ([127.0.0.1]:51902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anpWO-00033Z-UM for submit@debbugs.gnu.org; Wed, 06 Apr 2016 11:37:33 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:33915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anpWM-00033M-RC for 23229@debbugs.gnu.org; Wed, 06 Apr 2016 11:37:31 -0400 Received: by mail-wm0-f44.google.com with SMTP id l6so70759924wml.1 for <23229@debbugs.gnu.org>; Wed, 06 Apr 2016 08:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version; bh=U80aaRx7X+vaTmbmIYrtKMxyGhOW4AS8eVJ9VCASV/Y=; b=azWTnjOpuEM9+gdtC6WZnYjh8yk2BIFcElX8KcRz+s5bfWoiz5yHwQfCP5/4FYhY4s /v/AadecJIjqGTnqG3K0iMVydyEC6px6eCHy4z27622+BAZg8Q75y3HsUqRT0fwDEJm1 KodGlfAgiQgmLj4BoQOVkEDtcvssoDA/xBLK6wAim11Hbe0Z+GRz8FwNGgG/7epk25MR 6e9i4xKcaGR6tn3pgHI0bVEgXDWFUTqXNC7drimuLR/va76cGLA8gdA6zQ/NMls7vRzJ sdIL1eU2A7VCSeEEpPRdsuIeCvbbj69XFk3sGtlzV9eS835fzW/3i0969l2PXCjLAlWS GAew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:cc:message-id:in-reply-to :references:mime-version; bh=U80aaRx7X+vaTmbmIYrtKMxyGhOW4AS8eVJ9VCASV/Y=; b=QPw0h/pqdiSjPU7XIjiGlhHYN/0Vpc8GfRQDdLNhmqd7vkIqufEdL8XlOo0nZibrT+ QAQZldvCJ6LbXP9H4rjl4CZ+yq/vszhyik0MRWwj9t/LxjftSV5K90KVoacGBgvU1t2c 2SUTaZ5Fp0iOM9UqQmpZdnb8RRg1i5fVI6FH4pQ3TPNEvL2YSYlf6RR+LO3gNMttqI9Y O95P+FZpwUKem4seKe0HDmIf/YFmRKMzQJeGpgLz6oLp/eOwa6h6ICzggBb7144Osmui YAn0Xu1PWDCgZ6OPa+fwfyScpJ9+x881DlxUpHlY3CUDTirxabzWsSJw7DhC7MnDMMJi mrSw== X-Gm-Message-State: AD7BkJJD/cwxiaux20xKr6lD5526sAoZlAvySNu2+b8lWjfjRICqJFWHROKZ8f8UXBbpgw== X-Received: by 10.194.216.227 with SMTP id ot3mr24229820wjc.69.1459957045236; Wed, 06 Apr 2016 08:37:25 -0700 (PDT) Received: from [192.168.101.25] ([77.40.215.202]) by smtp.gmail.com with ESMTPSA id t4sm4302736wmf.8.2016.04.06.08.37.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2016 08:37:24 -0700 (PDT) Date: Wed, 06 Apr 2016 17:37:23 +0200 From: Simen =?iso-8859-1?q?Heggest=F8yl?= Subject: Re: bug#23229: 24.5; Wrong indentation in SCSS files (CSS mode) when using nested interpolated selectors To: Artemiy Solopov Message-Id: <1459957043.7599.5@smtp.gmail.com> In-Reply-To: <5704DBCB.3090908@yandex.ru> References: <5704DBCB.3090908@yandex.ru> X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-YN7DkG+mzWb2myHRNLZf" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23229 Cc: 23229@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-YN7DkG+mzWb2myHRNLZf Content-Type: text/plain; charset=utf-8; format=flowed Hello, Artemiy, thanks for the report. Are you seeing this with the version of CSS mode shipped with Emacs 24.5? The file you provided is indented as expected for me, using CSS mode from Emacs 25. Could you try that and see if it works like you expect? -- Simen --=-YN7DkG+mzWb2myHRNLZf Content-Type: text/html; charset=utf-8
Hello, Artemiy, thanks for the report.

Are you seeing this with the version of CSS mode shipped with Emacs
24.5? The file you provided is indented as expected for me, using CSS
mode from Emacs 25.

Could you try that and see if it works like you expect?

-- Simen
--=-YN7DkG+mzWb2myHRNLZf-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 06 16:17:23 2016 Received: (at 23229-done) by debbugs.gnu.org; 6 Apr 2016 20:17:23 +0000 Received: from localhost ([127.0.0.1]:52115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anttD-0001Xj-1Y for submit@debbugs.gnu.org; Wed, 06 Apr 2016 16:17:23 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:33575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anttB-0001XS-05 for 23229-done@debbugs.gnu.org; Wed, 06 Apr 2016 16:17:21 -0400 Received: by mail-lb0-f180.google.com with SMTP id u8so37121943lbk.0 for <23229-done@debbugs.gnu.org>; Wed, 06 Apr 2016 13:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version; bh=xRQEHmmIhyukhqt4oUzO3wEbww9qmcc+G/yVunZ7hVU=; b=ivIG6Zm6w952R1bvWY4YYCpUTJk8iGvYyNq/NTnRk7K7KIaCaNG+SsBrGkUsZznQqj 4/O6BfmrnwzKC3nqayaH+5kRMBJR6NB9oYmS6cekvePwi0yC+Fb64hNsI9bsTwbTjexV A6W8t31YD7VPPgoyIITuMZgwqlQRf+aP5UkYNq523ClTrWgZIAaHajJ36UlSXDqKrQf0 g0NBCXGrbnE4i8czXJvhX+/8yrjTt0SNmeLoi23QE3WjqukpwaSNWdpoUKOueNgifX41 DrPRe2HobZvNJ8gqcLiVX9VWBEduPaXnWIKhlgdqTpvTFNG1tB9rVP0B2jYpARn0mMKT gFEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:cc:message-id:in-reply-to :references:mime-version; bh=xRQEHmmIhyukhqt4oUzO3wEbww9qmcc+G/yVunZ7hVU=; b=PtWxihxLtMFNpDy3RZeCvgs9HpGszmushSXLIlFbiE9IhV32tZ0zkOP2EoLHDJ+24z 2VDx0vo0B5g4PqZMJO/bOEU/TNkQSg9Gk/WDSH8YYJ/R9F66yjUL/mnuioQ5PW0SZj7E k4TzuZpMpLwENdl9UlnCo5phATjqTL4P+kuGCY6e6yoIZx14FE++K9vrUiGFqmT22+Ow Byq+PgApDZihSsMTrUNlNDFEp/wIqTYJ+HSN1kbar9a04+t54WbjSqKkl5AZK0kKyv/E Kju0DpfIPZt2BXjM6ADg/1WRweX1jEyvV4VfDTZRROIym1B7wRMaXtDQl0ojqOtuWs40 nIKQ== X-Gm-Message-State: AD7BkJLK85Mig+lXFiarJJ3uobH+ABXKzSA6ve9V1RzwZemzw4MBS5SnItrfky6vMF5t0Q== X-Received: by 10.112.170.137 with SMTP id am9mr1930583lbc.84.1459973835308; Wed, 06 Apr 2016 13:17:15 -0700 (PDT) Received: from [192.168.100.5] (cm-84.210.143.4.getinternet.no. [84.210.143.4]) by smtp.gmail.com with ESMTPSA id h124sm677723lfh.7.2016.04.06.13.17.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2016 13:17:14 -0700 (PDT) Date: Wed, 06 Apr 2016 22:17:12 +0200 From: Simen =?iso-8859-1?q?Heggest=F8yl?= Subject: Re: bug#23229: 24.5; Wrong indentation in SCSS files (CSS mode) when using nested interpolated selectors To: Artemiy Solopov Message-Id: <1459973832.6393.0@smtp.gmail.com> In-Reply-To: <5705349C.2060607@yandex.ru> References: <5704DBCB.3090908@yandex.ru> <1459957043.7599.5@smtp.gmail.com> <5705349C.2060607@yandex.ru> X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-B8CePoT6wxP7HaBArdsI" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23229-done Cc: 23229-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-B8CePoT6wxP7HaBArdsI Content-Type: text/plain; charset=utf-8; format=flowed On Wed, Apr 6, 2016 at 6:09 PM, Artemiy Solopov wrote: > Yup, I just cloned the upstream from Savanna and it works perfectly! > Thank you very much! Sorry for bothering you. Good to hear! -- Simen --=-B8CePoT6wxP7HaBArdsI Content-Type: text/html; charset=utf-8 On Wed, Apr 6, 2016 at 6:09 PM, Artemiy Solopov <art-solopov@yandex.ru> wrote:
Yup, I just cloned the upstream from Savanna and it works perfectly! Thank you very much! Sorry for bothering you.

Good to hear!

-- Simen
--=-B8CePoT6wxP7HaBArdsI-- From unknown Tue Jun 24 03:23:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 May 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator