GNU bug report logs - #40034
[semantic] Incorrect grammar for scheme causes entry to debug mode

Previous Next

Package: emacs;

Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>

Date: Thu, 12 Mar 2020 04:00:01 UTC

Severity: normal

Tags: fixed

Found in version 27.0.90

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 40034 <at> debbugs.gnu.org
Subject: Re: bug#40034: 27.0.90; Incorrect grammar for scheme causes entry
 to debug mode
Date: Wed, 30 Sep 2020 18:34:21 +0200
Vladimir Nikishkin <lockywolf <at> 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




This bug report was last modified 4 years and 237 days ago.

Previous Next


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