unofficial mirror of 
 help / color / mirror / Atom feed
* bug#48658: Elisp lexer misreads ESC in escape sequence form
@ 2021-05-25 20:47 Ivan Sokolov
  0 siblings, 0 replies; only message in thread
From: Ivan Sokolov @ 2021-05-25 20:47 UTC (permalink / raw)
  To: 48658


I found that Elisp lexer interprets Elisp escape sequence for ESC as
something different. The backtrace I got eralier (not present here)
points to line 328 in language/elisp/lexer.scm, I think get-character is

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> emacs-version
ELISP> ?\C-a
1 (#o1, #x1, ?\C-a)
ELISP> "\C-a"
ELISP> ?\C-\[
27 (#o33, #x1b, ?\C-\[)
ELISP> "\C-["

GNU Guile 3.0.7
Copyright (C) 1995-2021 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
elisp@(guile-user)> ?\C-a
$1 = 1
elisp@(guile-user)> "\C-a"
$2 = "\x01"
elisp@(guile-user)> ?\C-\[
$3 = 67108955
elisp@(guile-user)> "\C-["
While reading expression:
In procedure integer->char: Argument 1 out of range: 67108955

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-25 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 20:47 bug#48658: Elisp lexer misreads ESC in escape sequence form Ivan Sokolov

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).