bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6893: evaluating `'#'(lambda (b) b)8 ; => 8 with `eval-last-sexp' "C


From: Stefan Monnier
Subject: bug#6893: evaluating `'#'(lambda (b) b)8 ; => 8 with `eval-last-sexp' "C-x C-e" in `emacs-lisp-mode'
Date: Mon, 23 Aug 2010 00:49:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> So what about these?

> `'#'8
>  ;=> (quote (function 8))

What about it?  C-M-b indeed shows that '#'8 is the sexp.

>  `#'?\x27?\x23
>  ;=> (function 39)

> Where did 35 go?

That's a known shortcoming of syntax tables which aren't able to
describe correctly the syntax of Elisp char constants.  But again C-M-b
shows you correctly what C-x C-e considers as "the last sexp".


        Stefan







reply via email to

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