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


View this message in rfc822 format

From: Bastien <bzg <at> altern.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16497 <at> debbugs.gnu.org
Subject: 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: Mon, 20 Jan 2014 10:22:02 +0100
Hi Eli,

Eli Zaretskii <eliz <at> gnu.org> writes:

> Is it possible to concoct a simple test case that explicitly uses
> move-to-column, and doesn't require Org?

emacs -Q
M-: (insert "abc") RET
C-a
M-: (put-text-property (point) (1+ (point)) 'invisible t) RET
M-: (move-to-column 0)

The point is between the invisible character and "b", which
feels wrong even in terms of interactively inserting text.

It is also wrong when you C-x r t SPC RET, as the rectangle
will be inserted after the real first (invisible) character
of the line.

Hope this clarifies,

-- 
 Bastien




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

Previous Next


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