unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: tiga.arenz@web.de
Cc: 43587@debbugs.gnu.org
Subject: bug#43587: move-to-column behaves differently when text has invisible property
Date: Wed, 30 Sep 2020 17:35:40 +0300	[thread overview]
Message-ID: <83tuvfib7n.fsf@gnu.org> (raw)
In-Reply-To: <83blhojtmf.fsf@gnu.org> (message from Eli Zaretskii on Tue, 29 Sep 2020 22:00:24 +0300)

> Date: Tue, 29 Sep 2020 22:00:24 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 43587@debbugs.gnu.org
> 
> It's a deficiency in the algorithm used by move-to-column that
> determines whether the goal column is in the middle of a TAB.  It
> assumes that in such a case the TAB is the previous character that
> ends at the column where the movement ended, but that is not so when
> invisible text immediately follows the TAB, because moving over the
> TAB will in that case also skip all of the following invisible text.
> 
> I will see how this can be fixed without making the function too slow
> (because it needs to consider overlays as well, not just text
> properties).

I think I fixed this now on the master branch.





  reply	other threads:[~2020-09-30 14:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 10:23 bug#43587: 27.1; Org is breaking links Christoph Arenz
2020-09-29 15:56 ` bug#43587: move-to-column behaves differently when text has invisible property Christoph Arenz
2020-09-29 16:22   ` Eli Zaretskii
     [not found]     ` <f6f19f79-702b-9e98-b297-234a7b2d9f20@web.de>
2020-09-29 16:50       ` Eli Zaretskii
2020-09-29 19:00   ` Eli Zaretskii
2020-09-30 14:35     ` Eli Zaretskii [this message]
2020-10-06 16:01       ` Christoph Arenz
2020-10-06 16:11         ` Eli Zaretskii

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=83tuvfib7n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=43587@debbugs.gnu.org \
    --cc=tiga.arenz@web.de \
    /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).