emacs-devel
[Top][All Lists]
Advanced

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

Re: master 370d403: Explain in the manual how to make `cursor-intangible


From: Lars Ingebrigtsen
Subject: Re: master 370d403: Explain in the manual how to make `cursor-intangible' work
Date: Sun, 14 Nov 2021 19:39:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Note that in your example of 5 X where you want the cursor to be able to
> jump from "just before XXXXX" to "just after XXXXX", your 5 X are not
> "intangible" since you can jump from before to after (you might call
> them "atomic" maybe, but "intangible" doesn't seem quite right).

I don't think I was the one who called this `cursor-intangible', was it?
People use it to make the cursor skip in fun ways, but `intangible' is
an odd name for it.

> That's why the code behaves as it does: If you have " XXXX " and want to
> make "XXXX" intangible (i.e. make it so the cursor pretends that "XXXX"
> isn't there, i.e. it takes two `C-f` to move from beginning to end),
> then you place `cursor-intangible` on those "XXXX" and nothing more.
> No special "extra char" or stickness involved.

Yes there is.  See bug#51095 for somebody who's understandably confused
about what it all means.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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