GNU bug report logs -
#23229
24.5; Wrong indentation in SCSS files (CSS mode) when using nested interpolated selectors
Previous Next
Reported by: Artemiy Solopov <art-solopov <at> yandex.ru>
Date: Wed, 6 Apr 2016 15:05:01 UTC
Severity: normal
Found in version 24.5
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 23229 in the body.
You can then email your comments to 23229 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23229
; Package
emacs
.
(Wed, 06 Apr 2016 15:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Artemiy Solopov <art-solopov <at> yandex.ru>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 06 Apr 2016 15:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <down> is undefined
Auto-saving...done
C-c <down> 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
[spl.scss (text/plain, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23229
; Package
emacs
.
(Wed, 06 Apr 2016 15:38:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 23229 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Reply sent
to
Simen Heggestøyl <simenheg <at> gmail.com>
:
You have taken responsibility.
(Wed, 06 Apr 2016 20:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Artemiy Solopov <art-solopov <at> yandex.ru>
:
bug acknowledged by developer.
(Wed, 06 Apr 2016 20:18:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 23229-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Apr 6, 2016 at 6:09 PM, Artemiy Solopov <art-solopov <at> 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
[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
.
(Thu, 05 May 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.