GNU bug report logs - #67470
29.1; move-end-of-line behaves badly with eglot type annotations

Previous Next

Package: emacs;

Reported by: matthewktromp <at> gmail.com

Date: Sun, 26 Nov 2023 23:38:02 UTC

Severity: normal

Found in version 29.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: matthewktromp <at> gmail.com, 67470 <at> debbugs.gnu.org
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 <at> gmail.com>
> Date: Mon, 27 Nov 2023 13:42:32 +0000
> Cc: matthewktromp <at> gmail.com, 67470 <at> debbugs.gnu.org
> 
> On Mon, Nov 27, 2023 at 1:38 PM João Távora <joaotavora <at> 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...




This bug report was last modified 1 year and 255 days ago.

Previous Next


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