From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31349: 27.0; Doc of `up-list' Date: Thu, 02 Sep 2021 10:21:40 +0200 Message-ID: <871r678k17.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2445"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 31349@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 02 10:22:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLhzI-0000QY-L9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 10:22:20 +0200 Original-Received: from localhost ([::1]:51844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLhzH-0003YY-7v for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 04:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLhz0-0003Mw-Jn for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 04:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLhz0-0000NH-Cf for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 04:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLhz0-00057g-8r for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 04:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Sep 2021 08:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31349 X-GNU-PR-Package: emacs Original-Received: via spool by 31349-submit@debbugs.gnu.org id=B31349.163057091419678 (code B ref 31349); Thu, 02 Sep 2021 08:22:02 +0000 Original-Received: (at 31349) by debbugs.gnu.org; 2 Sep 2021 08:21:54 +0000 Original-Received: from localhost ([127.0.0.1]:39720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhys-00057K-Ht for submit@debbugs.gnu.org; Thu, 02 Sep 2021 04:21:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhyq-000576-1w for 31349@debbugs.gnu.org; Thu, 02 Sep 2021 04:21:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XcV1N7kAdqb9yFHOonyArakUsK8a6h+xE4qJwUn6gkQ=; b=alKmcJuWi+t1mdR0os/FIyDlgg KhsL98qDAcVZCklfK41CBg8zLJED/pkQiW9W9+v3his0hXRroOhpz/YP6Y6Dt0EFcW11EmVKx7cSG LLXJHFMcUoFy+vVFOuqjQbssl4z6KTNKsCbBj1nIKVHCNcTiMJS5GkfZrFEbqBEYTygA=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLhyf-0000Ig-2k; Thu, 02 Sep 2021 10:21:45 +0200 In-Reply-To: (Drew Adams's message of "Wed, 2 May 2018 17:45:17 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213258 Archived-At: Drew Adams writes: > If NO-SYNTAX-CROSSING is non-'nil' (as it is interactively), prefer to > break out of any enclosing string instead of moving to the start of > a list broken across multiple strings. On error, location of point > is unspecified. > > Looking at the code briefly, it seems to concern not only strings but > also comments. If so, shouldn't the description mention that? > > 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? Apparently the parameters mean exactly what they say. As a test, do: "foo (bar|" "zot) yes" and eval the following two things with point at |: (up-list nil t nil) (up-list nil t t) and observe the difference. It's somewhat unclear when the nil value of NO-SYNTAX-CROSSING would be useful, though... but I see there's no calls in Emacs with a non-nil ESCAPE-STRINGS, so perhaps just added for completeness' sake? (If you're writing Lisp broken across several C strings, for instance, it might be handy to have a way to get to the end of a Lisp statement...) > (It's also not helpful or conventional to put descriptions of all args > in the same paragraph.) Now reformatted in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no