GNU bug report logs - #11094
Wrong cursor positioning with display+invisible

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 26 Mar 2012 04:40:01 UTC

Severity: normal

Found in version 24.0.94

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 11094 <at> debbugs.gnu.org
Subject: bug#11094: Wrong cursor positioning with display+invisible
Date: Tue, 03 Apr 2012 00:06:51 +0300
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Cc: 11094 <at> debbugs.gnu.org
> Date: Mon, 02 Apr 2012 16:15:17 -0400
> 
>   emacs -Q
>   (put-text-property (point-min) (+ 2 (point-min)) 'invisible t)
>   (put-text-property (+ 2 (point-min)) (+ 4 (point-min)) 'display "<>")
>   (goto-char (point-min))
> 
> where I'd expect the cursor to be drawn to the left of "<>" rather than
> to the right.

Isn't this an issue with point adjustments?  If I set
global-disable-point-adjustment non-nil, I get the cursor where you
want it.




This bug report was last modified 13 years and 103 days ago.

Previous Next


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