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 21:28:22 +0300 Message-ID: <864j56iq7t.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> <868quiiry4.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="34410"; 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 20:28: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 1t2afd-0008ob-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 20:28:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2afP-0006Ka-QQ; Sun, 20 Oct 2024 14:28:39 -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 1t2afN-0006K8-I1 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 14:28:37 -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 1t2afN-00036g-3A for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 14:28: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=bTspffm1j+xvw0NAWM0SCjKKqlfwhK/o0RrWmRloIqY=; b=Fp/CYmspFajEKMjjsHMtND8jsyf805nVMzqJK3dJtmXwBv90/wKXn75fv5D3EbI9K0tl5wGZJvzkRG3XJAImoYRiwHKrdYGexed0DfTlhwFBFnC1wDMTXzZdD8cqzOyqeDcGlAdpWEAzzeBwPLC0oOlDqC8XOgEA+avI5GL6U7rnVxfrH5nMdGqhdbu8jEo7S341GVqNWqJZTuiQkn0KWZXdCy0YB8lAxbEcJKLDwNBryvVZ91S4VMeflCXqBn3MZTIk7FH9TWHUblmLIyjj9I/YCAh9Yif/Gd11I8NRvKKpKG+M9MrMlcH1K4RGEEquOhWAZOz3DJS24VSH/x5Qeg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2afm-00065d-Fa for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 14:29:02 -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 18:29:02 +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.172944894023402 (code B ref 73863); Sun, 20 Oct 2024 18:29:02 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 20 Oct 2024 18:29:00 +0000 Original-Received: from localhost ([127.0.0.1]:48442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2afk-00065N-Ej for submit@debbugs.gnu.org; Sun, 20 Oct 2024 14:29:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2afi-000658-7S for 73863@debbugs.gnu.org; Sun, 20 Oct 2024 14:28:58 -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 1t2afD-00034X-4o; Sun, 20 Oct 2024 14:28:27 -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=bTspffm1j+xvw0NAWM0SCjKKqlfwhK/o0RrWmRloIqY=; b=Kh1pgMPHbgI2EywKVqKm f+8tTTTvk6NDEUdM6qu0wxtxRmwpUhJ//oT35RfPRNMQakcf7NWO1umfS9ueMQeGTFYUqwfT3Eh6k /GKZpvAiSS8OX5MQyOybzAOD5bGDedDyV8E18SpoKZC2BuS6vfDVQ9rqWtlgUMYfnWusCltIyUU4Q 0vX8rMYai92FhGgauyfbEFtAzWK/PdnJ40vi9sYniUjrdsqwSTU6QQH1Wi2pAv1iZgkvvMqTuLcb4 +CBBt4OaQ11pgWFnFBOepPgisd51r+1fN3LhIuRidZBZndq5BM9K0G+o8GCHDWtIADc2DY90jM9W+ oXFGbQ81nLQCvQ==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Sun, 20 Oct 2024 19:05:56 +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:293999 Archived-At: > From: João Távora > Date: Sun, 20 Oct 2024 19:05:56 +0100 > Cc: sbaugh@janestreet.com, romain.ouabdelkader@gmail.com, > 73863@debbugs.gnu.org > > On Sun, Oct 20, 2024 at 6:51 PM Eli Zaretskii wrote: > > > Something like that, yes. > > Sounds absolutely hellish to implement. I wouldn't be so sure. The infrastructure for, for example, removing portions of buffer text when saving to a file already exists, and we use it in some modes. > Even the most basic isearch need to be aware of that somehow. I'm not sure. Why shouldn't Isearch find matches in the diagnostics? Searching an Office document does find matches in comments, for example. > Anything that works with buffer text in Emacs would have to somehow > cause that undo/redo. Not anything, IMO. Anyway, I'm not going to work on this, so it's an idea, no more, no less. My point is that all the tricky display issues are completely gone once we use buffer text. So an additional effort in Lisp programming could be justified.