all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: matthewktromp@gmail.com, 67470@debbugs.gnu.org
Subject: bug#67470: 29.1; move-end-of-line behaves badly with eglot type annotations
Date: Mon, 27 Nov 2023 13:42:32 +0000	[thread overview]
Message-ID: <CALDnm51yazOqfjsDZ+fJEecPSfc_AVikd9WYO3dz1ODC8R5D3g@mail.gmail.com> (raw)
In-Reply-To: <CALDnm52cGyO3knk6Jyqh8dJVsNyid1fPm9P2sYDXuvGcuN2Pcw@mail.gmail.com>

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)))





  reply	other threads:[~2023-11-27 13:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-26 23:37 bug#67470: 29.1; move-end-of-line behaves badly with eglot type annotations matthewktromp
2023-11-27 12:34 ` Eli Zaretskii
2023-11-27 13:02   ` João Távora
2023-11-27 13:17     ` Eli Zaretskii
2023-11-27 13:38       ` João Távora
2023-11-27 13:42         ` João Távora [this message]
2023-11-27 14:03           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALDnm51yazOqfjsDZ+fJEecPSfc_AVikd9WYO3dz1ODC8R5D3g@mail.gmail.com \
    --to=joaotavora@gmail.com \
    --cc=67470@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=matthewktromp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.