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 19:30:31 +0300 Message-ID: <86a5eyivo8.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> 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="2666"; 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 18:31:51 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 1t2YqM-0000ZE-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 18:31:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2Yq9-0000SL-Vd; Sun, 20 Oct 2024 12:31:38 -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 1t2Yq9-0000SB-89 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 12:31: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 1t2Yq8-0000LK-Vd for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 12:31: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=tEo29r/m8V/GAkrc6N6zmJ4WRqYAPg4n91KrppMniPU=; b=Ifs7785A98gwYXGGFDw9Hqhebf5VUW1ribD9c7DQ4SNdtw4v/sCsB+2ocVMGUuB88AUIiaNisN96m9pwY73nTIjFU1cTOTtnZasqsopNtKwGDy/Lx4pjdJwyQkdjwVKie2Wl4U53OybjAwOnyUanICwWY6KBbnxosDzOQNZw3728IJAbcRRKlFjR7VcqPlxK3nDsaeIhSxG74mWWsU0XWh5VHShw9HOtjLo3PlpuBpDGVBeV04NIqEhV+kJIt3rzxyshaj0X5c2FA10nDQdAmIT/8lxofeoAlAPXqRIdi/w441MrCx3QmUedpNiU078+bwYNe57WwHA1CTqWYMDeaw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2YqY-0000ZD-5V for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 12:32: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 16:32: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.17294418682100 (code B ref 73863); Sun, 20 Oct 2024 16:32:02 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 20 Oct 2024 16:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:48259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2Ypg-0000Xo-7V for submit@debbugs.gnu.org; Sun, 20 Oct 2024 12:31:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2Ype-0000XF-J2 for 73863@debbugs.gnu.org; Sun, 20 Oct 2024 12:31:06 -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 1t2Yp8-0000Hm-UL; Sun, 20 Oct 2024 12:30:34 -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=tEo29r/m8V/GAkrc6N6zmJ4WRqYAPg4n91KrppMniPU=; b=iEQx4Vv15H9riBkdlA1a iMWQ1/pqdukig0NXZGq59r83mNbYaR9FvkYs2kG3rI91U5KTqxNRqK47C23ZNCLBLDvp0DV0+CSjQ o++vH6+LOCWbKVoZCo5XN8ozB9nF79e6RCmUdxDlMyDtG0HUsTmxBiO6/LQFOyBwQUyoJFd8okY7/ FD/yYyx+qE2gEdMYkyjc90zMiHWrHoRN/7snjoJMMZ0sO4PgF3wFGaAHwxpJa4pw74BZj7hEX/vmB xh4a3WmOVcOlx7+tctFfegPwAbQ000oos41NShW8ydcBGUGCC8zi3FJ9dm8JUPHB/iCLhXmOsaRhG UpoHsi4/2onUaA==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Sun, 20 Oct 2024 16:39:02 +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:293986 Archived-At: > From: João Távora > Date: Sun, 20 Oct 2024 16:39:02 +0100 > Cc: sbaugh@janestreet.com, romain.ouabdelkader@gmail.com, > 73863@debbugs.gnu.org > > On Sun, Oct 20, 2024 at 4:31 PM Eli Zaretskii wrote: > > > So it's a difficult situation. Was displaying the diagnostic in a > > tooltip ever considered as the alternative to this past-EOL display? > > No, not as a viable alternative since it doesn't work in non-GUI emacs > afaik. i was really trying to emulate what I think is originally a neovim > feature (that seems to work exactly like a tooltip but in text mode). The advantage of a tooltip is that its width is not limited by the window. If neovim shows this in text mode, how does it deal with too-long diagnostics? 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?