all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 38255@debbugs.gnu.org
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#38255: 27.0.50; Indentation error-out in css-mode
Date: Thu, 21 Nov 2019 16:09:42 +0100	[thread overview]
Message-ID: <87a78pxo3t.fsf@gnus.org> (raw)
In-Reply-To: <875zjhqt2w.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 18 Nov 2019 13:15:03 +0100")

Lars Ingebrigtsen <larsi@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





  reply	other threads:[~2019-11-21 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-18 12:15 bug#38255: 27.0.50; Indentation error-out in css-mode Lars Ingebrigtsen
2019-11-21 15:09 ` Lars Ingebrigtsen [this message]
2019-11-21 23:29   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a78pxo3t.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=38255@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.