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, 27 Oct 2024 12:56:35 +0200 Message-ID: <865xpdak64.fsf@gnu.org> References: <86r08dmm0h.fsf@gnu.org> <86plnxmfdt.fsf@gnu.org> <86y12kjks0.fsf@gnu.org> <86a5ezjkx8.fsf@gnu.org> <86zfmzhvdb.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="22200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73863@debbugs.gnu.org, joaotavora@gmail.com, romain.ouabdelkader@gmail.com To: sbaugh@janestreet.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 11:57:34 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 1t50xi-0005cB-1L for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 11:57:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t50xc-0008NS-P9; Sun, 27 Oct 2024 06:57:28 -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 1t50xb-0008NK-Hf for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:57:27 -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 1t50xb-0007p1-9O for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:57:27 -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=3vj1KIWTV6jzPWqv7+tJiz2oJCrnXsaI1u8WqLmmw6g=; b=i7EJbZkw52bHBzwtEj6Oxnb9wbTTtVFVevyeWg0tIDMxhK4GPSMEYIPMhgC6w1ttMP5xMkOZ0MaBiIoebW7Fy+YX5Zi2ZaDZKSpMWQXQkv2ZKaTK2o/FAaQDbWuGKM433W7kiCYtPToFo6irhLYQqqbitd/V3VTsuq1dhiMlgXG7wWSyxile5SqJwDgWqxQpgMBFWEAn+tmmuszbM6XNWqptPgXW7f07+49oAhVjGnpAIrm7dxV+gIK2mbH2zCbPgH0bdTVxXrkpQ7KfCOPwpRdzlY31P1q0inB1QB6J8pIVKh/H6EFSflTkT1VBdbzr3HuT71uT9ivzreu755PcxA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t50y9-0007g3-PL for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:58: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, 27 Oct 2024 10:58: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.173002664029422 (code B ref 73863); Sun, 27 Oct 2024 10:58:01 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 27 Oct 2024 10:57:20 +0000 Original-Received: from localhost ([127.0.0.1]:44036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50xT-0007eU-VU for submit@debbugs.gnu.org; Sun, 27 Oct 2024 06:57:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50xS-0007e8-70 for 73863@debbugs.gnu.org; Sun, 27 Oct 2024 06:57:18 -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 1t50wn-0007ke-LT; Sun, 27 Oct 2024 06:56:37 -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=3vj1KIWTV6jzPWqv7+tJiz2oJCrnXsaI1u8WqLmmw6g=; b=bExK/c53RT8SRk5aRRkR iEvSrxPES+r5DhhYhclu/mL/NcBK7HdlkFB3ovjKHpYC4J5upq+sY+Tgj3KYxdwA/dIKDK8nkvL2T HrCK2f2OOFa66XV4VNW0cOu0qVYI6nbwCmtsS+nRzxKwuvWkXeFf39knALOJCkmXF7lTe/cvq28ps 9r4PvLYlUjyinzPBu2x8hzeB9aEIjGfpC0pEFtXBclATbk4ozFBfF+JnPhH22uXsmhoJ7qMKVnbFz o7xA/KAwZqR9nupNstR7YUyOHMAq8IyXlKqJGfhjC04CLlozl5lW8NSp+GSkLk/quTJYrNYnz44i+ U4zdPoAyFTA4zA==; In-Reply-To: <86zfmzhvdb.fsf@gnu.org> (message from Eli Zaretskii on Sun, 20 Oct 2024 14:22:24 +0300) 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:294337 Archived-At: Ping! > Cc: 73863@debbugs.gnu.org, romain.ouabdelkader@gmail.com > Date: Sun, 20 Oct 2024 14:22:24 +0300 > From: Eli Zaretskii > > > From: João Távora > > Date: Sun, 20 Oct 2024 10:28:50 +0100 > > Cc: Romain Ouabdelkader , 73863@debbugs.gnu.org > > > > Flymake queries should be directed to Spencer Baugh > > Sorry, I keep forgetting that. > > > But if this fixes the user's problem and doesn't hurt anyone who does > > have wide enough windows and on top of that sufficient testing is done, > > I don't object to this solution. I don't know what that problem is. Does > > the user want their cursor to show at the end of the intangible overlay? > > If so, that's odd: I designed this feature to be as little intrusive as possible > > i.e. so that turning it on has no other effect than some text appearing > > at the end of line -- and only at the end of line. If there is little space, I > > would say the right thing to do is to truncate, not wrap to the next line > > When the diagnostic overlay wraps to the next screen line, it is > strange to see the cursor at the beginning of the diagnostic after > C-n, since users generally expect C-n to move to the next screen line. > > But if we decide that the current behavior is more reasonable, and > this is just a matter of users getting used to it, I don't mind > leaving the current behavior alone. > > > To try and answer your question, I don't think it is used by other Flymake > > parts (the function name hints at it: flymake--eol- means "end of line"). > > However, I advise to give it testing (with multiple diagnostics on one > > line, for example). I remember trying many variations on these things > > and each had its drawbacks. But possibly (probably?) I didn't test > > this one. Anyway, do test this out with other flymake eol users and > > consider the impact to users with wide enough windows: if there's no > > impact I don't see why this wouldn't be acceptable. But that is for > > Spencer or you to decide. > > Thanks. > > Spencer, what say you? > > > >