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

Yes, I do.

Create a file temp.scm with the following contents:
```
(define (example . args)
   args)
```

Launch emacs -Q temp.scm

M-: (semantic-mode 1) RET

This should already produce an error, but if it doesn't, add a few
empty lines and issue:
M-: (semantic-fetch-tags) RET

This should produce the error:

```
Debugger entered: ((1 34))
  semantic--tag-expand((1 34))
  semantic-repeat-parse-whole-stream(((semantic-list 1 . 34)) nil nil)
  semantic-parse-region-default(1 39 nil nil nil)
  semantic-parse-region(1 39)
  semantic-fetch-tags()
  semantic-fetch-tags()
  eval((semantic-fetch-tags) t)
  eval-expression((semantic-fetch-tags) nil nil 127)
  funcall-interactively(eval-expression (semantic-fetch-tags) nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)
```

On Wed, 30 Sep 2020 at 23:04, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> Vladimir Nikishkin <lockywolf@gmail.com> writes:
>
> > The MWE is the following:
> >
> > (define (example . args)
> >   args)
> >
> > The dot is not correctly parsed by the scm.el
> >
> > I found this with the following options on:
> >
> > (require 'semantic)
> > (global-semantic-idle-summary-mode t)
> > (global-semantic-idle-completions-mode t)
> > (global-semantic-mru-bookmark-mode t)
> > (global-semantic-stickyfunc-mode t)
> > (global-semantic-highlight-func-mode t)
> > (global-semantic-decoration-mode t)
>
> I tried this recipe in Emacs 27, but I didn't get any errors there.  Do
> you have a recipe for how to reproduce the bug starting from "emacs -Q"?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no



-- 
Yours sincerely, Vladimir Nikishkin





  reply	other threads:[~2020-09-30 16:18 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 [this message]
2020-09-30 16:34     ` Lars Ingebrigtsen

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=CA+A2iZYgn_5HF9W0CQnJT_2c2a7Zow5by9SUfBBp729Hrimuwg@mail.gmail.com \
    --to=lockywolf@gmail.com \
    --cc=40034@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).