From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#32649: 27.0.50; up-list stops inside comment Date: Sat, 08 Sep 2018 19:54:11 +0200 Message-ID: <87worv3mf0.fsf@igel.home> References: <46ca0bb9-0f24-2936-4aab-cd0d60997d48@easy-emacs.de> <9d9f5bd6-4112-509e-2333-8d27532147b5@easy-emacs.de> <87a7otk7sg.fsf@igel.home> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1536429191 32738 195.159.176.226 (8 Sep 2018 17:53:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 17:53:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Leo Liu , 32649@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 19:53:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyhPu-0008Qf-Qt for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2018 19:53:06 +0200 Original-Received: from localhost ([::1]:43997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyhS0-0005WX-V8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2018 13:55:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyhRr-0005V6-DP for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 13:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyhRm-0002bA-Ds for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 13:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyhRm-0002ab-8r for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fyhRl-0000oQ-Tu for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 13:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Sep 2018 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32649 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32649-submit@debbugs.gnu.org id=B32649.15364292573065 (code B ref 32649); Sat, 08 Sep 2018 17:55:01 +0000 Original-Received: (at 32649) by debbugs.gnu.org; 8 Sep 2018 17:54:17 +0000 Original-Received: from localhost ([127.0.0.1]:50582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyhR3-0000nN-6F for submit@debbugs.gnu.org; Sat, 08 Sep 2018 13:54:17 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:49569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyhQz-0000nD-Np for 32649@debbugs.gnu.org; Sat, 08 Sep 2018 13:54:14 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42724N5474z1qvSr; Sat, 8 Sep 2018 19:54:12 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42724N3Vlfz1qql1; Sat, 8 Sep 2018 19:54:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Om_CMNmqGnq1; Sat, 8 Sep 2018 19:54:11 +0200 (CEST) X-Auth-Info: WHMPK3BPm1ox6t/wxpCKVX5GlTgNRT4HVTPZagCJpIYVrJeI/T1Ia1wMxCkAsymd Original-Received: from igel.home (ppp-188-174-155-54.dynamic.mnet-online.de [188.174.155.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 8 Sep 2018 19:54:11 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 10F072C105B; Sat, 8 Sep 2018 19:54:11 +0200 (CEST) X-Yow: I once decorated my apartment entirely in ten foot salad forks!! In-Reply-To: ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Sat, 8 Sep 2018 19:15:13 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150135 Archived-At: On Sep 08 2018, Andreas Röhler wrote: > On 07.09.2018 10:53, Andreas Schwab wrote: >> On Sep 07 2018, Andreas Röhler 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, and has nothing to do with the Lisp reader. Moreover, you can run eval-last-sexp also inside a comment. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."