unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: 40034@debbugs.gnu.org
Subject: bug#40034: 27.0.90; Incorrect grammar for scheme causes entry to debug mode
Date: Wed, 30 Sep 2020 18:34:21 +0200	[thread overview]
Message-ID: <878scr2pgy.fsf@gnus.org> (raw)
In-Reply-To: <CA+A2iZYgn_5HF9W0CQnJT_2c2a7Zow5by9SUfBBp729Hrimuwg@mail.gmail.com> (Vladimir Nikishkin's message of "Thu, 1 Oct 2020 00:18:20 +0800")

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	other threads:[~2020-09-30 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12  3:58 bug#40034: 27.0.90; Incorrect grammar for scheme causes entry to debug mode Vladimir Nikishkin
2020-09-30 15:04 ` Lars Ingebrigtsen
2020-09-30 16:18   ` Vladimir Nikishkin
2020-09-30 16:34     ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=878scr2pgy.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=40034@debbugs.gnu.org \
    --cc=lockywolf@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).