unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 31349@debbugs.gnu.org
Subject: bug#31349: 27.0; Doc of `up-list'
Date: Thu, 03 May 2018 20:40:31 +0300	[thread overview]
Message-ID: <83fu38prhs.fsf@gnu.org> (raw)
In-Reply-To: <d22d4952-1780-45bf-b826-e0693d57c2db@default> (message from Drew Adams on Wed, 2 May 2018 17:45:17 -0700 (PDT))

> Date: Wed, 2 May 2018 17:45:17 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> This is the description of the second new arg:
> 
>  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.

I agree that the doc string could use some clarifications, especially
in the "prefer to break" part and the "list broken across multiple
strings" part.

Also, it seems there's a copy-paste error: both up-list and
backward-up-list talks about going to start of a list, whereas one of
them (up-list, AFAIU) should talk about end of a list.

> Why were these args added?

See this discussion:

  http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00110.html





  parent reply	other threads:[~2018-05-03 17:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03  0:45 bug#31349: 27.0; Doc of `up-list' Drew Adams
2018-05-03  0:57 ` Noam Postavsky
2018-05-03 17:41   ` Eli Zaretskii
2018-05-03 18:15   ` Drew Adams
2018-05-03 17:40 ` Eli Zaretskii [this message]
2021-09-02  8:21 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fu38prhs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=31349@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).