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:59:18 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> If the list is enclosed in a string, does it mean this will return the
>> string, not the list?  IOW, what will it return in these two cases:
>>
>>   (foo "bar baz" quux)
>>   "foo (bar baz) guux"
>
> It looks like it prefers the innermost thing, whether it's a list or a
> string.  Is that correct?  If so, why/when/where is this kind of
> "thing" useful in practice?

It's useful to just click inside either a list or string,
and choose "Select>List" or "Select>String" from the context menu,
and it will select the right thing, either a list when clicked inside list,
or string when clicked inside a string.



reply via email to

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