|
From: | Andreas Röhler |
Subject: | bug#32649: 27.0.50; up-list stops inside comment |
Date: | Sat, 8 Sep 2018 21:26:11 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 08.09.2018 19:54, Andreas Schwab wrote:
On Sep 08 2018, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:On 07.09.2018 10:53, Andreas Schwab wrote:On Sep 07 2018, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:On 07.09.2018 06:46, Leo Liu wrote:On 2018-09-06 21:04 +0200, Andreas Röhler wrote:In scratch-buffer, cursor at "d" towards end of line 1 (foo\n(a ;(b c d) e) bar) M-- M-x up-list --called with negative argument-- stops at opening paren inside comment.I am not following. What is the issue here?A list can't start resp. end inside a commented section.Sure it can. Just because it's behind a comment char doesn't mean it's not a list. Andreas.From Elisp Info 2.2 Comments ============ A "comment" is text that is written in a program only for the sake of humans that read the program, and that has no effect on the meaning of the program. [...] The Lisp reader discards comments; they do not become part of the Lisp objects which represent the program within the Lisp system.The concept of a list is independent of any programming language, andhas nothing to do with the Lisp reader.
Hmm, didn't expect that and don't believe it. We speak about lists in emacs-lisp here, it is defined what a list is. They affect there meaning of a program and therefor can't exist inside a comment.
Moreover, you can run
eval-last-sexp also inside a comment.
Thanks, just another bug. As the info above tells contents of a comment having no effect WRT meaning of a program, result of evaluation in this case comes from the deepness of nothing? ;)
[Prev in Thread] | Current Thread | [Next in Thread] |