unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: moving point and invisible text
Date: Mon, 20 Feb 2006 17:07:52 -0500	[thread overview]
Message-ID: <jwvmzgl6647.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1FBFze-00032W-49@fencepost.gnu.org> (Richard M. Stallman's message of "Mon, 20 Feb 2006 13:42:42 -0500")

> It looks like the your code to move point out of invisible text is not
> behaving consistently.  The previous invisible/intangible code, which
> your code replaced, worked consistently.

AFAIK my code did not replace it.  Both codes are still with us.

> Here is what martin rudalics <rudalics@gmx.at> said:

>     Stefan then told me that

>        The behavior depends on many things: whether the invisible text is
>        replaced by ellipsis, whether the invisible property is
>        front-sticky and/or rear-sticky, whether the command made changes
>        to the buffer, ...

>> Further experimentation shows that this case works the way the
>> manual previously said: it allows position 5 but does not allow
>> position 17.

>     Not really: It rarely ever moves "point forward past the first visible
>     character that follows the invisible text", that is, position 18.  (It
>     does so only with `line-move-ignore-invisible' nil.)

> It needs to consistently allow one of the two possible point positions
> next to invisible text--either just before it, or just after it--and
> not allow the other.

> Would you please work on fixing this?

This keep coming up and the answer is still the same: no, I won't work on
it, because I'm deeply convinced it cannot be done without introducing
worse problems.  Such consistency is actually pretty low in the list
of priorities.  Much more important is e.g. to ensure that repeated movement
commands do not get stuck.

I have neither time nor inclination to get into more details again.
Check past discussions about it,


        Stefan

  reply	other threads:[~2006-02-20 22:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 18:42 moving point and invisible text Richard M. Stallman
2006-02-20 22:07 ` Stefan Monnier [this message]
2006-02-21 20:56   ` Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-02-08  9:23 martin rudalics
2006-02-08 12:56 ` Stefan Monnier
2006-02-14  0:40 ` Richard M. Stallman
2006-02-14  7:25   ` martin rudalics
2006-02-14 22:18     ` Richard M. Stallman
2006-02-15 10:13       ` martin rudalics

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=jwvmzgl6647.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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).