bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40034: 27.0.90; Incorrect grammar for scheme causes entry to debug m


From: Lars Ingebrigtsen
Subject: bug#40034: 27.0.90; Incorrect grammar for scheme causes entry to debug mode
Date: Wed, 30 Sep 2020 18:34:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Vladimir Nikishkin <lockywolf@gmail.com> writes:

> Create a file temp.scm with the following contents:
> ```
> (define (example . args)
>    args)
> ```
>
> Launch emacs -Q temp.scm
>
> M-: (semantic-mode 1) RET

Thanks; that reproduced the bug.

I'm not a Scheme expert by any means (I haven't used it in decades), but
I think your patch is at least more correct than the old regexp, which
required that all symbols start with a word-constituent character.  That
has to be wrong -- surely ".foo" is perfectly fine as a symbol in
Scheme, too?

So I've applied your patch to Emacs 28.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]