unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* The symbol `@' and sexp scanning
@ 2016-09-25 15:23 Michael Heerdegen
  2016-10-12 14:00 ` Andreas Politz
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2016-09-25 15:23 UTC (permalink / raw)
  To: Emacs Development

Hi,

the following breaks my "el-search" package when searching in
"skeleton.el".  Am I doing something unkosher, or is this just a bug?

Insert

    (eq element '@)

in an elisp mode buffer.  Put point at the quote or the "@".  Eval

    (goto-char (scan-sexps (point) 1))

and you get an error:


Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 15 16)
  scan-sexps(13 1)
  (goto-char (scan-sexps (point) 1))
  eval((goto-char (scan-sexps (point) 1)) nil)
  eval-expression((goto-char (scan-sexps (point) 1)) nil)
  funcall-interactively(eval-expression (goto-char (scan-sexps (point) 1)) nil)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)


But if you add one more sexp to the list after "'@", there is no such
error.


TIA,

Michael.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-13 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25 15:23 The symbol `@' and sexp scanning Michael Heerdegen
2016-10-12 14:00 ` Andreas Politz
2016-10-13  3:56   ` Michael Heerdegen
2016-10-13 10:19     ` Andreas Politz
2016-10-13 12:48       ` Stefan Monnier

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