unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Confusing doc string of list-or-string at point
Date: Thu, 23 Sep 2021 20:11:45 +0300	[thread overview]
Message-ID: <87sfxv2p4e.fsf@mail.linkov.net> (raw)
In-Reply-To: <83a6k3uspt.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 Sep 2021 20:06:38 +0300")

> The doc string says:
>
>   Like `thing-at-point-bounds-of-list-at-point', but also
>   prefer to find of any enclosing string."
>
> "Prefer to find of" is clearly a typo of sorts, but I don't have a
> clear idea what you wanted to say there.  The same problem is with the
> NEWS entry.

I tried to copy the meaning of the arg NO-SYNTAX-CROSSING of 'up-list'
that uses such words in the docstring:

  If NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer
  to break out of any enclosing string instead of moving to the
  end of a list broken across multiple strings.

The idea is that when this arg is non-nil, and point is inside a string,
then 'up-list' prefers to move out of string, instead of moving out
of parentheses.



  reply	other threads:[~2021-09-23 17:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 17:06 Confusing doc string of list-or-string at point Eli Zaretskii
2021-09-23 17:11 ` Juri Linkov [this message]
2021-09-23 17:33   ` Eli Zaretskii
2021-09-23 17:55     ` Juri Linkov
2021-09-23 17:56     ` Eli Zaretskii
2021-09-23 17:59       ` Juri Linkov
2021-09-23 18:43         ` Eli Zaretskii
2021-09-23 18:58           ` Eli Zaretskii
2021-09-23 19:44           ` Juri Linkov
2021-09-24  6:32             ` Juri Linkov
2021-09-24  7:14               ` Eli Zaretskii
2021-09-24 17:14               ` [External] : " Drew Adams
2021-09-24 17:59                 ` Stefan Kangas
2021-09-24 17:41               ` Stefan Monnier
2021-09-25 19:03                 ` Juri Linkov
2021-09-27 16:56                   ` Stefan Monnier

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=87sfxv2p4e.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).