[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67470: 29.1; move-end-of-line behaves badly with eglot type annotati
From: |
Eli Zaretskii |
Subject: |
bug#67470: 29.1; move-end-of-line behaves badly with eglot type annotations |
Date: |
Mon, 27 Nov 2023 16:03:57 +0200 |
> From: João Távora <joaotavora@gmail.com>
> Date: Mon, 27 Nov 2023 13:42:32 +0000
> Cc: matthewktromp@gmail.com, 67470@debbugs.gnu.org
>
> On Mon, Nov 27, 2023 at 1:38 PM João Távora <joaotavora@gmail.com> wrote:
>
> > You can try in the scratch buffer with your own overlay at the
> > end of the line with a before-string property that has the 'cursor'
> > property set to 1 at the first character.
>
> If you need some Elisp code, this seems to do it in the usual
> starting scratch buffer contents:
>
> (let ((o (make-overlay (line-end-position) (1+ (line-end-position)))))
> (overlay-put o 'before-string (propertize "HEYHO" 'cursor 1)))
Thanks, I think I see the problem. Hmm...