unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: master 370d403: Explain in the manual how to make `cursor-intangible' work
Date: Sun, 14 Nov 2021 19:39:35 +0100	[thread overview]
Message-ID: <87bl2m4m54.fsf@gnus.org> (raw)
In-Reply-To: <jwv8rxqtxbi.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 14 Nov 2021 13:24:50 -0500")

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	other threads:[~2021-11-14 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211114021443.12484.87085@vcs0.savannah.gnu.org>
     [not found] ` <20211114021444.BD421209C6@vcs0.savannah.gnu.org>
2021-11-14 16:05   ` master 370d403: Explain in the manual how to make `cursor-intangible' work Stefan Monnier
2021-11-14 16:09     ` Lars Ingebrigtsen
2021-11-14 18:08       ` Stefan Monnier
2021-11-14 18:13         ` Lars Ingebrigtsen
2021-11-14 18:24           ` Stefan Monnier
2021-11-14 18:39             ` Lars Ingebrigtsen [this message]
2021-11-14 22:33               ` Stefan Monnier
2021-11-15  5:51                 ` 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=87bl2m4m54.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).