emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The symbol `@' and sexp scanning


From: Michael Heerdegen
Subject: The symbol `@' and sexp scanning
Date: Sun, 25 Sep 2016 17:23:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]