From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67470: 29.1; move-end-of-line behaves badly with eglot type annotations Date: Mon, 27 Nov 2023 16:03:57 +0200 Message-ID: <83sf4r8f8y.fsf@gnu.org> References: <8534wsxf1b.fsf@gmail.com> <837cm39xxu.fsf@gnu.org> <83v89n8he0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: matthewktromp@gmail.com, 67470@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 27 15:05:14 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r7cEb-00094m-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Nov 2023 15:05:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7cEW-0006a0-P4; Mon, 27 Nov 2023 09:05:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7cEL-0006Vo-Ae for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 09:05:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7cEK-0002M7-Sk for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 09:04:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7cEQ-0000Xi-41 for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 09:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2023 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67470 X-GNU-PR-Package: emacs Original-Received: via spool by 67470-submit@debbugs.gnu.org id=B67470.17010938672043 (code B ref 67470); Mon, 27 Nov 2023 14:05:02 +0000 Original-Received: (at 67470) by debbugs.gnu.org; 27 Nov 2023 14:04:27 +0000 Original-Received: from localhost ([127.0.0.1]:43569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7cDr-0000Wt-6g for submit@debbugs.gnu.org; Mon, 27 Nov 2023 09:04:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7cDp-0000Wf-7m for 67470@debbugs.gnu.org; Mon, 27 Nov 2023 09:04:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7cDd-0002BJ-II; Mon, 27 Nov 2023 09:04:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=oaT090l1FF6iF7SXLPNlUX0HJVoy+Zi8I3beMtWrepo=; b=M2Evyt8mn9GmEdzITTDP 9kOVTpRpoCd9gMJl0NcLkqUIifTuLKKCIazSvkMTmQK/SBxwnzv2cmeNgHSfASVUWJiCIqaSltffw irnvqoS+1vOGR0Neov0skS+3TZ876lwvX+bKdwjp7trHRabdxJDZxsg8DtCaIRQfPT+Tiqyjf2O65 6AH0idPwZVwMy9EmHgWK+5pK2+tGQbomimZH6H057cdkBFRcCnphYnxhD/FqAL0zAAlGbfDbcAEw6 LNzKX6s6k/rOZUCacmLEMPvdQpxiFWjOhxkkd6AMBGsMK/HvYw0sUy/4RvFDhkiOLOEZdrS/nLsYT xdWnKYb+T0HyBQ==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Mon, 27 Nov 2023 13:42:32 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275130 Archived-At: > From: João Távora > 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 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...