From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= 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 17:58:41 +0100 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32953"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 73863@debbugs.gnu.org, romain.ouabdelkader@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 20 19:00:54 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 1t2ZIT-0008Lf-D7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 19:00:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2ZIE-0003El-HX; Sun, 20 Oct 2024 13:00: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 1t2ZID-0003EL-9b for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:00: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 1t2ZIC-00031W-TK for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:00:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=GE0aAn55uDQ35hpuCd9sW0RQZ9HtlrXDWvb25v9g3sg=; b=mUiajfP1owKNKdnbVYGUA+GJxIlgzrOe0MnJ/xnFop9EgRa1H52hT/xozBsNZrESCsE1+Mv06X8B22Khd2yLNCOR71XNGParSpci877hHAMtPMq1y0iu/tg/jyuvK7v+CBa17VMDAFe5FxmnO7bhAqP9pB9s8ijkZJq8S9lqrDt6dwGqPcnpMZGq4oARJKdy3ANJklsWBV1+PLxbr7hwLczixur0+PJCcgwz4iv2TtoOPstY6kbrfKuL5bTUheGZiT9wRi/7gAxkT3Qpggj3Q850V0/KpukyApCJ8v9iciusVR2hd8Ywgm/k/zJ0R/0wrRUe0w8t4wjPIXXPKvFewA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2ZIc-0001zH-5V for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2024 17:01: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.17294436267209 (code B ref 73863); Sun, 20 Oct 2024 17:01:02 +0000 Original-Received: (at 73863) by debbugs.gnu.org; 20 Oct 2024 17:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:48317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2ZI2-0001sC-3n for submit@debbugs.gnu.org; Sun, 20 Oct 2024 13:00:26 -0400 Original-Received: from mail-oo1-f49.google.com ([209.85.161.49]:45205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2ZHz-0001ru-EV for 73863@debbugs.gnu.org; Sun, 20 Oct 2024 13:00:24 -0400 Original-Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-5ebc04d4777so159672eaf.2 for <73863@debbugs.gnu.org>; Sun, 20 Oct 2024 09:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729443532; x=1730048332; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GE0aAn55uDQ35hpuCd9sW0RQZ9HtlrXDWvb25v9g3sg=; b=l0PNmZpY+I+3wVMnBNXaXOgwMtLM4AOgmMQPD3dKFGdHsSdcp/cmi7NJ8Cnw/SzTbU TA808jPESvv/oyW9OJbm3lq1IkVBQNSXkP2oZyIJP6JkXNE90WxxP4al4aYKPTQDOjtn 5WrGDhEHgY4pZ4nAvVwmsyKWjdZWB1J72hpeFyN/uymSt74ZEx1DQeQUJ3x3VJTbJ7XE hFPPOIwajSVau85b03tu9sdCnMcctKTg6B94Ye1Sa8YNjd4Lh9hehOnnujWxB3I6rG5I pg0U5ocvAIlwXF6WiFUBTWS6xyLzN++YaOziiVKETrgaU7ITM9Hj99NiIvkhVKeZfNBx ipgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729443532; x=1730048332; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GE0aAn55uDQ35hpuCd9sW0RQZ9HtlrXDWvb25v9g3sg=; b=nAQwTN4zi5xNNmEvgBxayn8f/SKg/HtWNTaKaeluB5I0ABG45yqqDXXQAOLld4cBwM T75+VA6uZ/U8mMGbzMFgIqc0Uqs4HwonYkUrH81cnEgAYSF+PnfqI5ZZxJ7TZIreHCML tC0GvvDYXkkcifKys2ZZQXQqRUFe5usizIdWOw7E55LcTzFzC3oAhrVYq7MVjjUFEAWA iS8OCfs5YkM8W2bkh0H9bf9uG+idWFVqPOwyxh3/EO8mSdVf4UL1i8ENzBUapD/8MJn+ zyoTy/d8V4H6/X/adBKUgwU19piLpCad1INgkH3SD5wcfWo/9dgjnNLrIi5tO68QIOZQ BO3Q== X-Forwarded-Encrypted: i=1; AJvYcCVOX/9wjZUmrC7vuScggkHhCYfVYHTEi1CMCAymmTg2mIxhZqdm1QyN7V5IBfElX6PXNAK6zw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyZixJDFE/qDLb85GZAWp7TJ62FQnoJuuG0jQMPBA6cwEpnU+mD /tZGDrgjiT7b8zLvBixEkcCrWjxUzYM/u+ky6nO4KiwVzEWWNuqFN/5YQSWtSeR8R/B1luGb7xt bXLbJswCCPtITJe7RVUUWySVd72M= X-Google-Smtp-Source: AGHT+IEOHcmY098hU/Dwxflt4FP5+aGZnaPfHJsRCE7qr+BCGFd5xx5OXgkvNcAiENO4iEe6xj5d+tFxka9wLLxjDks= X-Received: by 2002:a05:6820:822:b0:5e5:7086:ebed with SMTP id 006d021491bc7-5eb8b6cb95fmr5193482eaf.7.1729443532335; Sun, 20 Oct 2024 09:58:52 -0700 (PDT) In-Reply-To: <86a5eyivo8.fsf@gnu.org> 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:293989 Archived-At: On Sun, Oct 20, 2024 at 5:30=E2=80=AFPM Eli Zaretskii wrote: > 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? No idea, but if I were to guess I think it has a completely different display engine that allows text-mode tooltips that behave like our window system tooptips (and likely get truncated) > 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?