GNU bug report logs - #17744
24.3.91; Cursor drawn at EOL while it's at BOL

Previous Next

Package: emacs;

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

Date: Tue, 10 Jun 2014 05:48:02 UTC

Severity: normal

Found in version 24.3.91

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

Bug is archived. No further changes may be made.

Full log


Message #13 received at 17744-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: monnier <at> iro.umontreal.ca
Cc: 17744-done <at> debbugs.gnu.org
Subject: Re: bug#17744: 24.3.91; Cursor drawn at EOL while it's at BOL
Date: Wed, 11 Jun 2014 19:14:16 +0300
> Date: Tue, 10 Jun 2014 19:37:46 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 17744 <at> debbugs.gnu.org
> 
> > From: Stefan <monnier <at> iro.umontreal.ca>
> > Date: Tue, 10 Jun 2014 01:18:20 -0400
> > 
> > 
> >    emacs -Q
> > 
> >    (progn (goto-char (point-min)) (forward-line 1)
> >      (let ((ol (make-overlay (point) (point)))
> >            (str "TOTO"))
> >        (put-text-property 0 1 'cursor 1 str)
> >        (overlay-put ol 'after-string str)))
> > 
> > Then do:
> > 
> >    M-<
> >    C-n
> > 
> > Notice that the cursor is drawn at EOL whereas it should be drawn at BOL.
> 
> The patch below fixes this.

Committed as r117233 on the emacs-24 branch.




This bug report was last modified 10 years and 350 days ago.

Previous Next


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