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#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line Date: Sun, 20 Oct 2024 20:50:59 +0300 Message-ID: <868quiiry4.fsf@gnu.org> References: <86r08dmm0h.fsf@gnu.org> <86plnxmfdt.fsf@gnu.org> <86y12kjks0.fsf@gnu.org> <86a5ezjkx8.fsf@gnu.org> <86zfmzhvdb.fsf@gnu.org> <86wmi3hu4o.fsf@gnu.org> <86iktmiyeb.fsf@gnu.org> <86a5eyivo8.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="12415"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 73863@debbugs.gnu.org, romain.ouabdelkader@gmail.com 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 Sun Oct 20 19:51:53 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 1t2a5n-0002yk-5U for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 19:51:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2a5c-00020i-EO; Sun, 20 Oct 2024 13:51:40 -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 1t2a5Z-00020G-Qi for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:51:38 -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 1t2a5Z-0007mR-Ik for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:51:37 -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:References:In-Reply-To:From:Date:To:Subject; bh=/zvl6cnQt/57XC/ozUOMl6RQfajucKfKIb59+kdMlgI=; b=Rr4HlA/8GurVzUwT+A/gwE0qVnWs2YGt9D6A7vRlhKK+bVp/lhvsXXMYvEfuiFN3j6v0W/3F/m4P/VVR3FPCN0n0n56QETy6+2O1ptKsue4HiO/ZKlriwkFTgLdO0Io8r/chTeSeHMuVpHjr1/ULT9Yfed2ma6NXwmdYb7XHI3kQSisgSojSNtfnj8ktdLtNvy+i88O9V9r1LKCmH+/kIUCDPPp+2pzwCqEK6ETDRRY1QbU3UaGg/XzfJXRn2ZVpoZGqUSZcvRohnzEVAFAGQTmHHyOb+6AAVkljRM5TUqUAYzOD/vlz874VvsSDfhJqeUBjnL/Kr0gt4lgNKG6MMA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2a5x-0004Ke-TM for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2024 17:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73863 X-GNU-PR-Package: emacs Original-Received: via spool by 73863-submit@debbugs.gnu.org id=B73863.172944669616610 (code B ref 73863); Sun, 20 Oct 2024 17:52:01 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 20 Oct 2024 17:51:36 +0000 Original-Received: from localhost ([127.0.0.1]:48381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2a5X-0004Jp-NB for submit@debbugs.gnu.org; Sun, 20 Oct 2024 13:51:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2a5V-0004JZ-Mz for 73863@debbugs.gnu.org; Sun, 20 Oct 2024 13:51:35 -0400 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 1t2a50-0007jv-IX; Sun, 20 Oct 2024 13:51:02 -0400 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=/zvl6cnQt/57XC/ozUOMl6RQfajucKfKIb59+kdMlgI=; b=hdBTW36SwzXiPsOJeSTz u9jQ0U8b6h1Y8sPBCuJKFdemNdVfifRDAaRN1jqd27v8/0kpLJbcloDT/8Xi534WbEGlnrfR70iZG 93bkxDcpL2N49MaTdusNvmK0TdJLLW9uX4FRgMYFmSCCeOXP+CvlsB2DzBL++6eTTY6PxYrLtfPCl 8kiff2EJtwXyz4aIC2jMCIEjuMyJvuoWaEZo9V5ZTcK5ad24aFv+udeVaBs0tBYSXQ5Np4LcXnhE3 T6Zkn7nCdPjwhJHyDG8OmvqCCgQJIr9rYOv4gLqQ2xtvmCO+daBEFcsq8jNGPNipENZu8dLuqgal/ 4KG+wNNP0yjidw==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Sun, 20 Oct 2024 17:58:41 +0100) 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:293991 Archived-At: > From: João Távora > Date: Sun, 20 Oct 2024 17:58:41 +0100 > Cc: sbaugh@janestreet.com, romain.ouabdelkader@gmail.com, > 73863@debbugs.gnu.org > > On Sun, Oct 20, 2024 at 5:30 PM Eli Zaretskii wrote: > > > Another alternative is to display the diagnostic as buffer text, but > > make it read-only. This should solve the cursor-movement issues, I > > think. Do you see any obstacles for this alternative? > > So would you change the buffer contents for displaying > diagnostics, then somehow quickly undo and redo that on save > and whenever the buffer text is needed, say, for sending to LSP? Something like that, yes.