From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31349: 27.0; Doc of `up-list' Date: Thu, 3 May 2018 11:15:05 -0700 (PDT) Message-ID: <2a94650b-5de3-4ec4-8674-125a378d0c74@default> References: <874ljpo8s3.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525371254 24603 195.159.176.226 (3 May 2018 18:14:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 18:14:14 +0000 (UTC) Cc: 31349@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 03 20:14:10 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 1fEIk4-0006Gs-IB for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 20:14:08 +0200 Original-Received: from localhost ([::1]:58139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEImB-0007yB-Fv for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 14:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEIly-0007wM-AG for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 14:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEIlu-0005kB-5k for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 14:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEIlu-0005k1-11 for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEIlt-0000c2-Rv for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 May 2018 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31349-submit@debbugs.gnu.org id=B31349.15253713162295 (code B ref 31349); Thu, 03 May 2018 18:16:01 +0000 Original-Received: (at 31349) by debbugs.gnu.org; 3 May 2018 18:15:16 +0000 Original-Received: from localhost ([127.0.0.1]:48510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIl9-0000aw-OO for submit@debbugs.gnu.org; Thu, 03 May 2018 14:15:15 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:59778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIl8-0000aj-An for 31349@debbugs.gnu.org; Thu, 03 May 2018 14:15:14 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w43IBwWG004876; Thu, 3 May 2018 18:15:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=9WPp0L6h3aUdybpaf7b3Wu5WcWGWRB5ldF9U0DvUZvw=; b=WdLo1Zn1r60FO+umTceNnoOBfhRbj6XFh6pJ8kEZXQlrVlofiYQaQgrckgcHJD9HZEjC X0cmbZ3M6E9FrT1jGWRMGNaPUWs8Cy+NHHvzZByZnG/FH0cjy5qcmSbhltQDPfCOCDpu 5YeK+pRKdPigJyEdWeT+GFdaVWbVWxr/dalxbbfw+AWcSouIrolSW9H2Tmtwb4oG8X0d w/IRSCKW7m8K+eTQRmBzipznl0IAq12uTAc4C86ppJQKuGnbxksUjX0xH/DoT6SxxAUU NDQZP24/KwZgGpz7jP1TB3NW5Lecvq2q0qfXwWtQmx/rMW4nYydEy9Y0RfGyJ6TSDnNS hQ== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2hmgdju290-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 03 May 2018 18:15:08 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w43IF7gn006544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 18:15:07 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w43IF7iI032321; Thu, 3 May 2018 18:15:07 GMT In-Reply-To: <874ljpo8s3.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8882 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030156 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:145984 Archived-At: > > At any rate, I don't follow the description. Can you elaborate, > > perhaps giving an example? If I understand the behavior then > > perhaps I can help clarify the doc. Why were these args added? > > What use cases do they serve? >=20 > In *scratch*, put cursor inside a string literal, e.g., >=20 > "point here->.<--" >=20 > doing C-M-u will bring you ouside the string in Emacs 25+. In previous > versions, you get >=20 > up-list: Scan error: "Unbalanced parentheses", 205, 1 Thanks. (But I guess you meant `C-M-^'.) But what does moving to the beginning (or end) of a string, even in the absence of any list, have to do with moving _up a list_ level? Why does `up-list' do this now? OK, from Eli's msg I see that this was discussed. I guess I missed that discussion. Stefan said that this change was "long overdue", but I don't see why and what this has to do with moving up list levels. In the example you gave, Noam, there's no list involved at all. (It seems odd, BTW, that Daniel said in that discussion, about Stefan's suggestion, "Your proposed behavior is a departure from what we have today." So is Daniel's proposal and patch a departure. And we departed...) Anyway I was, and still am, really asking about the _second_ new arg added, NO-SYNTAX-CROSSING. I can guess that the command now (incompatibly) "moves out of enclosing strings", based on what is said about new arg ESCAPE-STRINGS (though it's too bad that we use "escape" in this sense, since it is usually used to mean escaping chars etc.). But what is the doc trying to say about arg NO-SYNTAX-CROSSING? And why is it that the design gives these two _optional_ args NON-nil values? That's not very conventional. (It can happen, but it's not typical.) And why this incompatible change, instead of creating a _new_ command that does what was aimed at (which is,=20 apparently, to either move up N list levels or move to a string/comment beginning/end, plus whatever behavior is due to NO-SYNTAX-CROSSING? Even after reading that discussion I don't understand why was this incompatible change was made. I don't see what problem it tries to solve. And the purpose of NO-SYNTAX-CROSSING is unclear to me. And why wasn't this change even called out in NEWS? (I couldn't find it there, at least.)