emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confusing doc string of list-or-string at point


From: Juri Linkov
Subject: Re: Confusing doc string of list-or-string at point
Date: Thu, 23 Sep 2021 20:55:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I understand the documentation of NO-SYNTAX-CROSSING, which talks
> about "breaking out of string".  But I still don't understand what you
> meant by "prefer to find of string".

I meant that if point is inside a string that is inside a list
then it will prefer to find boundaries of the string, not the list.

> If the list is enclosed in a string, does it mean this will return the
> string, not the list?

For a string enclosed in a list it returns the string.  For a list
enclosed in a string it returns the list.

> IOW, what will it return in these two cases:
>
>   (foo "bar baz" quux)
>   "foo (bar baz) guux"

You can type 'C-M-u' (backward-up-list) on different positions
(in a prog mode where strings are highlighted) to see its effect.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]