GNU bug report logs - #21875
24.5; Invalid tokens in smie indentation rules

Previous Next

Package: emacs;

Reported by: mail <at> ap4y.me

Date: Wed, 11 Nov 2015 02:04:02 UTC

Severity: normal

Found in version 24.5

Full log


View this message in rfc822 format

From: Arthur Evstifeev <mail <at> ap4y.me>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 21875 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#21875: 24.5; Invalid tokens in smie indentation rules
Date: Fri, 13 Nov 2015 15:00:26 +1300
[Message part 1 (text/plain, inline)]
Sorry for the delay. I have attached full code of the swift-mode with
minimal smie implementation. I didn't clean other pieces of the mode
like syntax table and highlighting code, hope this won't be too
inconvenient to work with.

[swift-mode.el (application/emacs-lisp, attachment)]
[Message part 3 (text/plain, inline)]
Glenn Morris writes:

> [resending including the OP in the list of recipients]
>
> Stefan Monnier wrote:
>
>>>> And lexer rule that overrides braces with begin/end tokens, for example
>>>> like this:
>>>>
>>>> ((looking-at "{") (forward-char 1) "begin")
>>>> ((looking-at "}") (forward-char 1) "end")
>>
>> This is not enough info: we need the complete code so we can run it on
>> our side and single-step through it to see what's going on.

--
Sent with my mu4e

This bug report was last modified 9 years and 221 days ago.

Previous Next


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