[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17744: 24.3.91; Cursor drawn at EOL while it's at BOL
From: |
Eli Zaretskii |
Subject: |
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@gnu.org>
> Cc: 17744@debbugs.gnu.org
>
> > From: Stefan <monnier@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.