From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line Date: Fri, 18 Oct 2024 21:25:51 +0200 Message-ID: <87plnx8b7k.fsf@gmx.net> References: <86r08dmm0h.fsf@gnu.org> <86plnxmfdt.fsf@gnu.org> <87ttd98bmr.fsf@gmx.net> Reply-To: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: eliz@gnu.org, romain.ouabdelkader@gmail.com To: 73863@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 18 21:27:04 2024 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 1t1scq-00030J-7c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Oct 2024 21:27:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1scT-00031I-Qx; Fri, 18 Oct 2024 15:26:41 -0400 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 1t1scS-00030g-Dg for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 15:26:40 -0400 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 1t1scS-0001f4-1t for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 15:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=piiY1Ua/DZneyPSYvP3YKVX++kd9nbLdzON6nR6op4s=; b=KNKV1q/Uz2T9HAqyQ1fQYYxa/7bp0ZDnYAPSsrecRb+Zk9t01Pr62/n7Sv0OIVLtOVmWpz8e/RzG+4OVBw6IbTh8SZet/grPCH0RFDTAIyRKvXezZ55UjGU/G+b64N08VpF/8M7CC1b4IYEH0ZRboDeQC7IpF+z0Ibho3Q9LfkBXfjU4UiVDmqjcTxDbiIPcDodKBgi5kLMbaB7a7aZcE1mWiGkVoByeFrfPZD/FwoyCMmuCe1EWo1H0fwjJt2LLYxgxbX4D08fIh0L2++y2qOMbkjZYEy6DdwbYPN++hoX7l1fhFUY8m/xd8846MC2McZAZN4KP0NYgJj3DZQ3NDQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1sco-0008IY-L8 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 15:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2024 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73863 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Eli Zaretskii , 73863@debbugs.gnu.org, Romain Ouabdelkader Original-Received: via spool by 73863-submit@debbugs.gnu.org id=B73863.172927958531826 (code B ref 73863); Fri, 18 Oct 2024 19:27:02 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 18 Oct 2024 19:26:25 +0000 Original-Received: from localhost ([127.0.0.1]:40133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1scC-0008HG-UY for submit@debbugs.gnu.org; Fri, 18 Oct 2024 15:26:25 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:37059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1scB-0008H1-1N for 73863@debbugs.gnu.org; Fri, 18 Oct 2024 15:26:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1729279553; x=1729884353; i=stephen.berman@gmx.net; bh=piiY1Ua/DZneyPSYvP3YKVX++kd9nbLdzON6nR6op4s=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=D71t6rchw65WrCPyFsrPFMcS3xV+hMB0avxo02w3YO4MF7SIRYOgZ+8czOr4LcLF lmEOL9pNlcsgSXSPSelR8y/19hJvQNyHTmBGrodF9VI1PL48Prr8gftZitJp3F8sV CxOfzxQDf9fJFmA6/A51C9dw53yOJBxPWV6u1wmAXo/d74+QxDtLq1V6PYhoi/AB0 IOf4wzSy+LRPIXhm2Ywk3jgQdiqZ9eOP9jToq3LrJLQX8+domuNdJGEUpvjGUJtL+ cqtOByOEQwUq/eNZSLrNJVHKT+MkuJeytt3YgejrrnNX21HOwznrSrb8WwbDIsH6p jS7K4VzancvTpRlnkg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([88.130.48.47]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8hV5-1sxjsW3QBN-0011kz; Fri, 18 Oct 2024 21:25:53 +0200 In-Reply-To: <87ttd98bmr.fsf@gmx.net> (Stephen Berman via's message of "Fri, 18 Oct 2024 21:16:44 +0200") X-Provags-ID: V03:K1:4P67VoiakjBCJoJnWZwySbhhsUdZACy8Ccw73vQSz0F0KLqkhaG i5kZkliFl0oFdO//K/H6wx1EWmcOMMJoMnnWp0qZDcK28rUd3YZBC1iABa/A8cucoPK7Lao 0f7JKT//4b/mYectqMj2J4vNW+Br2jit4Z5Ob5nTaqFc5jpvNA4tEbbHH5tMFalulj8F/Hx 1d/brvPC3AWisamDJ5wGQ== UI-OutboundReport: notjunk:1;M01:P0:kddYDJKIB5E=;H0cnc4vWtn+8+fn2fAao4W3LvxG Tv4wWsUDPE8K9BT+LkjEbelaFRQ0VTr86zZ6sUgoqhkz1TUWVe7GXCns48HPZU+JSgygDqZ1q webJV4JdhO+v42n2s/3aP3izRkznBxDzVcFS8Ga9eN+zrV33WHVoT/ULKcbIDg5Ay5b4TDGLz vf3+uLT8zUdNcEyusIFqCLIAqKYt8rntAdL/1vbYPkSSvNReHojrkqVljPKl/SpwnqYRSKxQC go/XWYqgxZvTQyUUpOcHppC8LL6raacU6T3fr6m+yvvChKIaqRqn8V5gG7w5f6IUvBU5E1GVe HtL5/uLEm4X/yNby0JTrTiUKNHJs+xZtzcPcRAySDzIcybXElK3e9g1wkbEBRrRS8bk3vc1pt uRLzFiwGi9KN+CGWa6HIq4gzC1Cg3h12zkvoOkHQAnYZaDEsMtkx+K+gaQtpjO2eW/RoBpsJe IEg1Y7sqJzWt6Xr1U5FJ69k6xm86uFvHz+LdiZFhY5tcbrp2Wtl3k+3An8JbTmKVXqT4EY75V Od56vLuxZunMFy85oq0lGLPv8H+wlvxUrhIQdrTLgc4uKCy98kzZ990L2RN+5DU3gTLAbcddr lPXBZo8jOMzU+Q+zQZjbeSiNPjxOCedI7H0CCcY4YGaXl1Di4bt0TCttVE3rOhv6BX1g/pZy6 hc8rpowiDOaQQHDIxEfAbVdr6+na5Z9hDgRlZ2khIThauMTKhyxFxLTck8a1Zkzk+J4MW6dan ARnKZwEWeW89cuT7Xvb8vh3kLO7roENfLum5GJ5PQVjUMJZQ6Qsx+rVWlvE5ZS4N+7Cmp2M6 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:293816 Archived-At: On Fri, 18 Oct 2024 21:16:44 +0200 Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > On Fri, 18 Oct 2024 21:31:58 +0300 Eli Zaretskii wrote: > >>> From: Romain Ouabdelkader >>> Date: Fri, 18 Oct 2024 18:24:31 +0200 >>> Cc: 73863@debbugs.gnu.org >>> >>> I can reproduce using pyright, starting with emacs -Q: >> >> Thanks, but could you possibly reproduce without any additional >> external packages, such as pyright? > > I can reproduce the problem using the pylsp server (I don't have pyright > installed). If this is a problem that occurs only with eglot when > flymake displays diagnostics at the end of the line, is it even possible > to avoid using an external LSP server (since IIUC managing such a server > is what eglot is for and AFAIK no LSP servers are part of Emacs)? Romain's latest followup, which I saw after posting my followup, answers the question: eglot is not necessary, just flymake; I can also reproduce the issue with his emacs-lisp-mode recipe. Steve Berman