GNU bug report logs - #38255
27.0.50; Indentation error-out in css-mode

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 18 Nov 2019 12:16:02 UTC

Severity: normal

Found in version 27.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 38255 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: Re: bug#38255: 27.0.50; Indentation error-out in css-mode
Date: Thu, 21 Nov 2019 16:09:42 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Open a.css and type:
>
> foo {
> }
> }
>
> The following backtrace is triggered.
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   smie-next-sexp(#f(compiled-function () #<bytecode 0x155d7de91a0d>) #f(compiled-function (n) #<bytecode 0x155d7f00a465>) #<subr car> #f(compiled-function (x) "Return the car of the cdr of X." #<bytecode 0x1ffc61806017>) "}")
>   smie-backward-sexp("}")
>   smie-indent-keyword()
>   run-hook-with-args-until-success(smie-indent-keyword)

Stefan, I tried to follow the logic in smie-backward-sexp here, but I'm
somewhat confused.  (More than usual, even.)  Could you have a look at this?

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




This bug report was last modified 5 years and 177 days ago.

Previous Next


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