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: Stefan Monnier <monnier <at> iro.umontreal.ca>
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 19:22:51 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> It's probably due to the post-command processing which tries to move
> point outside of invisible regions and to pretend that invisible regions
> don't exist at all (and paying attention to stickiness so that it
> prefers text positions where `invisible' won't be inherited).
>
> So moving from "before a" to "before b" ends up moving to "before c"
> so that C-f from "before a" moves visually by one char (to "before c").

Thanks -- you nearly lost me here!

Should not this be considered a bug?

I don't have a real-world use case where this would happen,
but it is obviously wrong and suggests other similar errors
could bite the user.

-- 
 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.