From: Michael Heerdegen <michael_heerdegen@web.de>
To: 30132@debbugs.gnu.org
Subject: bug#30132: 27.0.50; scan-sexps and ##
Date: Mon, 15 Jan 2018 19:09:43 +0100 [thread overview]
Message-ID: <87y3kzat94.fsf@web.de> (raw)
Hello,
Insert into *scratch*
(list ##)
and put point at the beginning of "##". Then eval M-:
(goto-char (scan-sexps (point) 1))
and you get
| Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 154 155)
| scan-sexps(152 1)
| (goto-char (scan-sexps (point) 1))
| eval((goto-char (scan-sexps (point) 1)) t)
| eval-expression((goto-char (scan-sexps (point) 1)) nil nil 127)
| funcall-interactively(eval-expression (goto-char (scan-sexps (point) 1)) nil nil 127)
| call-interactively(eval-expression nil nil)
| command-execute(eval-expression)
Expected is that the scan doesn't fail.
## is the rarely used representation of an interned symbol named with
the empty string. My problem is that where it is used (like in
"org-list.el"), el-search.el gets into trouble.
Thanks in advance,
Michael.
In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
of 2018-01-15 built on drachen
Repository revision: 55a83102629d597eb172e91698578930ff193c5d
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
System Description: Debian GNU/Linux testing (buster)
next reply other threads:[~2018-01-15 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-15 18:09 Michael Heerdegen [this message]
2018-02-12 16:12 ` bug#30132: 27.0.50; scan-sexps and ## Michael Heerdegen
-- strict thread matches above, loose matches on Subject: below --
2013-11-29 14:45 bug#15998: 24.3; forward-sexp (scan-sexps) doesn't do well with some SEXPs Shigeru Fukaya
2013-11-29 17:12 ` Stefan Monnier
2013-12-01 20:08 ` Shigeru Fukaya
2013-12-01 20:44 ` Stefan Monnier
2013-12-03 9:47 ` Shigeru Fukaya
2013-12-03 17:09 ` Stefan Monnier
2019-06-26 15:23 ` Lars Ingebrigtsen
2019-06-26 17:06 ` Stefan Monnier
2019-07-07 2:08 ` Noam Postavsky
2022-05-06 15:50 ` bug#30132: 27.0.50; scan-sexps and ## Lars Ingebrigtsen
2022-05-06 16:30 ` bug#15998: " Lars Ingebrigtsen
2022-05-07 0:08 ` Michael Heerdegen
2022-05-07 4:05 ` bug#15998: " Michael Heerdegen
2022-05-07 10:17 ` 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=87y3kzat94.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=30132@debbugs.gnu.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).