GNU bug report logs - #16497
24.3.50; `move-to-column' ignores invisible text at the beginning of the line, which create problems when using string-rectangle

Previous Next

Package: emacs;

Reported by: Bastien Guerry <bzg <at> altern.org>

Date: Sun, 19 Jan 2014 16:28:01 UTC

Severity: normal

Found in version 24.3.50

Full log


Message #11 received at 16497 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Bastien Guerry <bzg <at> altern.org>
Cc: 16497 <at> debbugs.gnu.org
Subject: Re: bug#16497: 24.3.50;
 `move-to-column' ignores invisible text at the beginning of the line,
 which create problems when using string-rectangle
Date: Sun, 19 Jan 2014 15:48:47 -0500
> `move-to-column' seems to go back to the first visibile character of
> the column, not the true first character.

Indeed.  And it's not the right choice in your case.  But I'm pretty
sure it is the right choice in other cases.

Maybe we should make move-to-column pay attention to stickiness so that
you con control where it stops by playing with text-properties's
stickiness (or overlay's insertion types).

But just changing the behavior from one side to the other will just fix
it in some cases and break it in others.


        Stefan




This bug report was last modified 11 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.