From unknown Mon Jun 23 00:32:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77480 <77480@debbugs.gnu.org> To: bug#77480 <77480@debbugs.gnu.org> Subject: Status: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area Reply-To: bug#77480 <77480@debbugs.gnu.org> Date: Mon, 23 Jun 2025 07:32:13 +0000 retitle 77480 31.0.50; Flymake: impossible to show multiline diagnostics in= echo area reassign 77480 emacs submitter 77480 Nicol=C3=A1s Ojeda B=C3=A4r severity 77480 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 03 03:44:32 2025 Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 07:44:32 +0000 Received: from localhost ([127.0.0.1]:60787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0FFX-0007R4-S9 for submit@debbugs.gnu.org; Thu, 03 Apr 2025 03:44:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58544) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0FFU-0007Qo-QL for submit@debbugs.gnu.org; Thu, 03 Apr 2025 03:44:29 -0400 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 1u0FFN-0005Ud-3e for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2025 03:44:21 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0FFL-0004MK-3H for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2025 03:44:20 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-43d07ca6a80so2541255e9.1 for ; Thu, 03 Apr 2025 00:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743666255; x=1744271055; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7AdqCcCIV25PGxYngbNb3xtH5Bgnljx/Uok/xS8EVZg=; b=kh7KNeoMGvrhiainjwwQceSBZHX9axsAuvPuklcvLxeq866/cy8OYi/EMBlVnwPYvH cz0yQbhIt3rieM5VwaO1Sv4HWhELPmzStGmnHclOVYPXKgUYrxnU//yABw+dGK9unTkc 5966kD/QNQExb98YzzOtgQDY+QygLj58eh7U3JJyl+EFVaTHUXA9fjOwIWNxe2zot4Am xTdN4KKWFZSDxd0g+o4D//G2ZvQESW+hwwj2gStGsrB/DS+IWMIzLLf4fiJIiglIpj/A 0y70tRzrCI2AyubyHEtGZioKa1B3hRODcyYGOeYX8TQh1yNS3BP+nHs5J+IplZAy3zdl Zg1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743666255; x=1744271055; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7AdqCcCIV25PGxYngbNb3xtH5Bgnljx/Uok/xS8EVZg=; b=LHf4teYB9BjV7aG2zJ4fSuy7tM7MSQwqu1b1PB6dEWxDwa8+3KacdPiMGK5IvjrOeS wIg1uBP/Rna9HMJ3NVo4ucH/f2RZ8gzcBnNjSwkB4zwo2XoY0cbaCdRg7jHt1IPemKAt 722KMhlNpv9TMH8JIwk3IuDYlpvEjiVSTV4qHMMgscJEgYSsxJP/FE8Ln65b+/wilmyv 1I2B0Pw4mnAfGjJYvsiWWZPcUtblgBilTfN7qWMQEeNzDDaWDi7Sfqx/AQxm6Mne99xE zvuBFEA+oe8ts4NFuukezSA4NnJAo44RyOyXtTOoIb07bgGcB39b1v91fR7kcpysZ8Yn YXqA== X-Gm-Message-State: AOJu0YxpwIWiBoM9ddfNt3PvWkvhcwLVN/BIjphsQvDMAkReAhpGCpJP ckpSbgUBUWcA/cY2MUPK8W53pIv3DAJ4ePYd3iimBV2xixkeEh/bRo8LDO/h X-Gm-Gg: ASbGncvH1cnKJlpOyNaTMkGKyk6GH3pK9taRYPuT/bCPP8hA5FZqiDnx4l5OX1aqY+r 56I1zWnXDp6GfzbzLgZsQCv+bp4kX3xEeI4BY1AteMI605OZD0atzFgkWMd/d4+wm3DxrhwClqM KKwqNlHBmyxd0fBSvODC5LnKqu/8JgZvG69bnXiWpHEGec6SiY3MU+sguL74G8JatjzpBsNiNtb qWyfm7VUaEh/yHnij1tPR+oakB4sSOqG+VQNFMNnPF2ica+16R+xWExXPFji23OUjBh87VNVtLM q+ymPZHetMU/OL3OO76d9juxz2CEYtZA7AkDO1RZRzhuDzCytTV3AUavREIKppge/9ueow== X-Google-Smtp-Source: AGHT+IGcPS67lXZWz16qPqikCCyYFSXV8dSGQhVDGTW6ru2lH8pzPe60En4kgWkuYFYK5K5xT/588w== X-Received: by 2002:a05:600c:4ec7:b0:43d:cc9:b0a3 with SMTP id 5b1f17b1804b1-43ec14d803dmr13052215e9.22.1743666254703; Thu, 03 Apr 2025 00:44:14 -0700 (PDT) Received: from LEXIFI-L6 (89.91.65.81.rev.sfr.net. [81.65.91.89]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec366b571sm10184565e9.40.2025.04.03.00.44.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 00:44:14 -0700 (PDT) From: =?utf-8?Q?Nicol=C3=A1s_Ojeda_B=C3=A4r?= To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area X-Debbugs-Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Thu, 03 Apr 2025 09:43:43 +0200 Message-ID: <87plhtellc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=n.oje.bar@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Dear Flymake maintainers (Cc: Jo=C3=A3o T=C3=A1vora), While using Eglot and its default Flymake integration, it seems impossible to make Flymake display multi-line diagnostics in the echo area: diagnostic messages are systematically truncated and only their first line is shown. While this may work well with certain language and diagnostic styles (eg Lisp), it is wholly inadecuate for other types of languages where diagnostics are routinely multiline and the first line offers no useful information (because it is only part of sentence). This is the case of OCaml, which I am using. Furthermore, Flymake uses Eldoc to render diagnostics in the echo area, and there is a variable eldoc-echo-area-use-multiline-p that looks like it could be used to control this behaviour, but unfortunately Flymake does not honour it. Looking at the Git history, this behaviour seems to have changed or introduced recently, in commit 560950468588117b264a9f916fb578e0eb2a124a. Some possible approaches for improvement: - Do not have Flymake truncate the message and instead delegate to Eldoc (supposedly, via the eldoc-echo-area-use-multiline-p variable, but I have not been able to test this variable so am not 100% sure of what its expected semantics are). - Honour the variable eldoc-echo-area-use-multiline-p in the Flymake code (this seems strictly worse than the previous point as it would entail some code duplication). - Add a variable to Flymake to specify whether to truncate or not diagnostics shown in the echo area. This could be useful if we want a separate mechanism than Eldoc's to control how diagnostics are shown in the echo area. I am happy to prepare a patch if we can agree on a way forward. Thank you! Cheers, Nicolas From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 03 04:28:42 2025 Received: (at 77480) by debbugs.gnu.org; 3 Apr 2025 08:28:42 +0000 Received: from localhost ([127.0.0.1]:60965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0FwH-0007CE-PV for submit@debbugs.gnu.org; Thu, 03 Apr 2025 04:28:42 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:47113) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u0FwE-0007By-Qn for 77480@debbugs.gnu.org; Thu, 03 Apr 2025 04:28:39 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-39149bccb69so541483f8f.2 for <77480@debbugs.gnu.org>; Thu, 03 Apr 2025 01:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743668912; x=1744273712; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9EC4msuIKE+WWUiyGLjaBuCRdIX8wqlzcsUTRHkzDt0=; b=No+5UdiohszZeZjLV2JehZI7loG9c/o5iOCmA7CXLFnXjRdXOaM7/nmthYHbk34ovS 2T9FkJKS0GkzAyVREcTx6y8O14tKEWcQCuT3tEt+TA36Ahd9hQBB3xJe2T956Vd9coIm 5r5Ef+5+LPMnIQyRDch+YcFna2P29COd5YIDDNT5knQn1szL3ETmCaKVSupyAYtaVJje TCkNpkktJi2jqk3yYrLqZFUQWOAZT+qSX/9yfm95GinwzO6D4srkzpSnL566ihpZFtyJ B7ONyRFxPcmIZWo3ZrtMrc7S2ttapZ+Vf8g+OC3zSuG/oHMr8AlgOw+NzhcTe04elh9E Llsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743668912; x=1744273712; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=9EC4msuIKE+WWUiyGLjaBuCRdIX8wqlzcsUTRHkzDt0=; b=KNRzGlWNKkGgVLrefX/YYt6CI4KiVHj9kSw7sX1GFFz7IbCwpJzZbtxfrt2cAVfnJX brsS+pO67xjVIX9XcfdI9l6odLf0FP4KAL5rf+asJhNjweBsk7gQViB6Ch11gS58z7pd fNRId88A+jscM6Jp/8qWu8EXKwlbW+pvsHJeVvXrZFS55T3qaI0VczsQTPZsJqXCG8Mx HD+QhC0TOotyPoUpkbPoI76zubGPlMUbfciMcbhXFak5FQ/NaUvLvSFLO4sxVIuxDhRh molNv1HSeCXGOfD/jMyFJu8VDLo6MpnxbXUyAIWd4ZEpYrKr8MFnbiFSprXHviOFNpu5 0+7w== X-Gm-Message-State: AOJu0YxdboUZRZlgodj+4257XPcOiYbr1XAnxV0qCnQaQ15KM69h1m3q euRpAOGfvSb+x6l+AKvuD22a93VaPHPLvKOdpQJoUZzAxfpPBRG8BV/QDQ== X-Gm-Gg: ASbGnctb0wchEG+RhVrVGBSGHZAtF/uTDUs3DqXMjzQm3qyLUMB6JpQ/Sh9uMt/4d+o GUrcYMRVbtkdrQ3rUcdTB9BPhN0b13BcOfNMyTZ4UT5N8SPc3mNG7hiGRLYaidR1eZwL0P1hQGw hNk92rHks6jyqMnoGD2UQRMiJ35KDG6+vK/E1zFHGRYPJwkn+aiRmZ9S1xrre3axqXtZ2nC8mSp 2Ae3nypNWquVFpqYwQJzQB6+ifuejQVgR6lPtsp14z5TtR6m8dntvHUPM+ylsJ6NFJDfb01kdue +FetcgBCRVgLTMfNWEeUPIx4bE4w0PnTeQ== X-Google-Smtp-Source: AGHT+IHiS6Cx1jADAFmNS+dAylwTGYp2efFsAnXPNO8PowAtxe3abUDttiAUWngjgUZ5IyCzlMTzSQ== X-Received: by 2002:a05:6000:1887:b0:390:f9d0:5df with SMTP id ffacd0b85a97d-39c2980558emr4489801f8f.52.1743668911963; Thu, 03 Apr 2025 01:28:31 -0700 (PDT) Received: from krug ([87.196.73.56]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec16a3aefsm14803365e9.21.2025.04.03.01.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 01:28:30 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: =?utf-8?Q?Nicol=C3=A1s?= Ojeda =?utf-8?Q?B=C3=A4r?= Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area In-Reply-To: <87plhtellc.fsf@gmail.com> References: <87plhtellc.fsf@gmail.com> Date: Thu, 03 Apr 2025 09:29:02 +0100 Message-ID: <87ecy9odgx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480 Cc: 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nicol=C3=A1s Ojeda B=C3=A4r writes: > Dear Flymake maintainers (Cc: Jo=C3=A3o T=C3=A1vora), > > While using Eglot and its default Flymake integration, it seems > impossible to make Flymake display multi-line diagnostics in the echo > area: diagnostic messages are systematically truncated and only their > first line is shown. Certainly not impossible. First, Flymake has two ways of showing diagnostic in the echo area: 1 flymake-mode insinuates itself onto ElDoc eldoc-documentation-functions, which you have correctly identified, so you get at-point echo area updates as you navigate code. 2. interactive, on-demand Flymake commands such as flymake-goto-next-error=20 In approach number 1, Flymake is usually sharing a hotly contested ElDoc-managed resource with many other outlets (since you use Eglot you know what I'm talking about). I chose the "one line per backend" default rule from years of dealing with many user reports about this topic, as a means of keeping the maximum amount of users content. In approach number 2, as far as I can see, you do suffer this limitation, and the line is truncated. But this behaviour has been around since the inception of modern flymake as I rewrote it circa 2017. Changing approach number 2 to honour the `eldoc-echo-area-use-multiline-p` is very problematic for two reasons (a): it's odd to use a variable not really connected to the mechanism it uses to access that space, since it calls `message`directly. (b) it would break a lot of workflows everywhere. Perhaps I don't have to tell you that C++ diagnostics can usually span many hundred lines. So let's get to approach number 1, which is what I suppose you're using anyway. I call attention to the facts: * that C-h . always popups the *eldoc* buffer in a separate window, where you can usually see all diagnostics in full in a separate window. There are even extensions that keep this window around in some "child-frame" (search for "eldoc-box") * that you can customize approach number 1. See examples in the most up-to-date Eglot manual (linked in the Eglot home page). =20=20 https://joaotavora.github.io/eglot/#More-Customization-1 Basically, pay attention to the docstrings of eldoc-display-functions and eldoc-documentation-functions, then craft your own function to work just the way you want it. There are a good number of issues in the Eglot tracker showing how to do this and how everyone has a slightly different view on the topic. So there is, in my view, no need for changes to ElDoc or Flymake in this regard. > Looking at the Git history, this behaviour seems to have changed or > introduced recently, in commit 560950468588117b264a9f916fb578e0eb2a124a. By the way, this was 2 years ago, hardly "recently". Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 04 02:47:40 2025 Received: (at 77480) by debbugs.gnu.org; 4 Apr 2025 06:47:40 +0000 Received: from localhost ([127.0.0.1]:36843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0aq4-0006UG-CN for submit@debbugs.gnu.org; Fri, 04 Apr 2025 02:47:40 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:45489) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u0apy-0006Tx-LJ for 77480@debbugs.gnu.org; Fri, 04 Apr 2025 02:47:38 -0400 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-ac2bb7ca40bso304323666b.3 for <77480@debbugs.gnu.org>; Thu, 03 Apr 2025 23:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743749248; x=1744354048; 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=Zjrw1SSePpwBosS3fbv5hvPPHn3GeG9b370XyMdVgoM=; b=iw6bA9vHGnOJU3Y60wmecc6dQWCXx1R8m6gF093oKV0OyspncBa8u6+macEemspY1M gJbl48xcFmpCPt6txFb1P3dVqY7OaXWCgW7KqmS7KhltmCthycfki+HPDqeXV9wHH8z6 xwO6OP4WE6sqjPHpfRvtTu9uSgcZpt8/1Ay5XJFkC89xfS7cKSoAJA9yI1SY0rS0Qv4B bMLnDfHE1v6m3vmacw0B3blVFw334kerCB6p84IuI8oRnad/pI2jHxEDFe5E5LTOtrU3 MLd7kuGUlxbskhWgpkk6e+6VELwWbV3p6ZcEokRWE6k5y4iqyn8YJRDR1w6ldnrVJxoI bKaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743749248; x=1744354048; 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=Zjrw1SSePpwBosS3fbv5hvPPHn3GeG9b370XyMdVgoM=; b=f2EMw7vvS62+JY/oMy6AkgPm8jHjg70jbGnvcWwSiY4DxAgqRPBvm/da3s/p3eMa5k 6QqouFO5MwCG0Rs7VRGJ0KzcHJVgHvC6NChLRp5l7QOwJv+svExUHs2i9VEbUO/SfAFH GyTbanjFqBkOca7DhJKuuGGHwg6+w1/bANc/y3nzHXvFGXszj02j2Oz5jPfJpEjbDora fjItyhfWDylCAkUzJoZyzw/OB7cahMvaN+FnAdOgxFSH4tcInhGZno9OTuUC+EbAHn5q CJUBHuOdA4LNl4EVLnqdoBZSItVNsEicmKCgvE6MhvELoRJFDsNuwrLcpvGhMpDyVbvj YJpg== X-Gm-Message-State: AOJu0Yx/pJKRe7xQuILQL4l1DHQ0mb+NeQLjAB5zkxr0Lb0ZgokPT50V +Xh/CjNjl6c4aATAcYnykO7fq52cPgiw67OEDygTHdhy7/JdSTCZSL8rCII4v8SGUWL/ainWr29 2ZwtxxYKViZ1pIn4FIaS6fBkr62Y= X-Gm-Gg: ASbGncvNifHnOpqADO87jvhW2ST6WixB9eygyqUGCEYEgjZCnl7s5VJ8M3olU68pu+z XHTVAIzn1o7MVwP/u0GxHOhiNhpZZfzYrwtCHj8MlDuLZ91Vvc8CjNAOYtv6Y18Cf+nqtGUPwLK lLpZA9iBR6SpCeqT+qXe2qpu9j1J1u94G6BpSzvwdmddxR9Ml5N2kM0KaEmx4= X-Google-Smtp-Source: AGHT+IGRC2mGjBnJ2+XiXTTInk9NQbFU+5TYat9jVc5e30hzxqHveeErstFTIwvo3xkNydk1C/blSsCXVwOUk4Gauxo= X-Received: by 2002:a17:907:3d8f:b0:abf:7a26:c47b with SMTP id a640c23a62f3a-ac7d1c379fdmr203945066b.39.1743749248247; Thu, 03 Apr 2025 23:47:28 -0700 (PDT) MIME-Version: 1.0 References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> In-Reply-To: <87ecy9odgx.fsf@gmail.com> From: =?UTF-8?Q?Nicol=C3=A1s_Ojeda_B=C3=A4r?= Date: Fri, 4 Apr 2025 08:47:02 +0200 X-Gm-Features: ATxdqUEKql6OGUMkuou3VIO0uxGzmWNGF_pXAQBd2ywU19Ata9MDwaW4GInyriI Message-ID: Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480 Cc: 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Apr 3, 2025 at 10:28=E2=80=AFAM Jo=C3=A3o T=C3=A1vora wrote: > First, Flymake has two ways of showing > diagnostic in the echo area: > > 1 flymake-mode insinuates itself onto ElDoc > eldoc-documentation-functions, which you have correctly identified, > so you get at-point echo area updates as you navigate code. > > 2. interactive, on-demand Flymake commands such as > flymake-goto-next-error > > In approach number 1, Flymake is usually sharing a hotly contested > ElDoc-managed resource with many other outlets (since you use Eglot you > know what I'm talking about). I chose the "one line per backend" > default rule from years of dealing with many user reports about this > topic, as a means of keeping the maximum amount of users content. OK, thanks for the context. > In approach number 2, as far as I can see, you do suffer this > limitation, and the line is truncated. But this behaviour has been > around since the inception of modern flymake as I rewrote it circa 2017. Indeed, I had 2. in mind when I wrote my previous email. > Changing approach number 2 to honour the > `eldoc-echo-area-use-multiline-p` is very problematic for two reasons > (a): it's odd to use a variable not really connected to the mechanism it > uses to access that space, since it calls `message`directly. (b) it > would break a lot of workflows everywhere. OK, that's fair. > There are a good number of issues in the Eglot tracker showing how to > do this and how everyone has a slightly different view on the topic. Thanks for the pointer, I will take a look. I also tried Flycheck which by default does not truncate the diagnostics shown in the echo area. > So there is, in my view, no need for changes to ElDoc or Flymake in this > regard. OK, that's fair. > > Looking at the Git history, this behaviour seems to have changed or > > introduced recently, in commit 560950468588117b264a9f916fb578e0eb2a124a= . > > By the way, this was 2 years ago, hardly "recently". True! > Jo=C3=A3o Cheers, Nicolas From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 09:48:19 2025 Received: (at 77480) by debbugs.gnu.org; 19 Apr 2025 13:48:19 +0000 Received: from localhost ([127.0.0.1]:60355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u68YM-0004xG-2x for submit@debbugs.gnu.org; Sat, 19 Apr 2025 09:48:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55746) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u68YI-0004wO-Hj for 77480@debbugs.gnu.org; Sat, 19 Apr 2025 09:48:15 -0400 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 1u68YB-0001DT-K3; Sat, 19 Apr 2025 09:48:08 -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=LRJMh7U39zIpJC2xIywiZRl4J3YuFRvjWmE5uqYfd3s=; b=H6Izkijd2NxMTSBiTpjZ KpZPgKHnmAx6MIiKXR7AJcNT08hSV8b//yUFqHDvvzggZl0sk4VoK3l0Azh2a9t0FEG7ZSnSG7Gsk WLvdtEeEOL5TvQjZdQTHLY/jmFb/mdSyYhturS5WM3yxyfPtsseeHF1IPR1PBb92dDKnNhZbHCAt2 aOFU8/ezJtDPFh3+jQQBvnQ8dxsgOKguUQLfDM71V2McKktBXRSE6MCpUrwE506FG8c1fp3R1KMxu 6BgCQlbHcI3j8ruY2UVJ2KvHSE+6Qnie177uMWwFFHyyA/wH/GLeS3Ns+CLOaEDKTFGCtoJInEFUI QKOXa3rMapHvBQ==; Date: Sat, 19 Apr 2025 16:48:06 +0300 Message-Id: <86fri48dpl.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Nicol=C3=A1s?= Ojeda =?utf-8?Q?B=C3=A4r?= In-Reply-To: (message from =?utf-8?Q?Nicol=C3=A1s?= Ojeda =?utf-8?Q?B=C3=A4r?= on Fri, 4 Apr 2025 08:47:02 +0200) Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77480 Cc: joaotavora@gmail.com, 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Any progress with this issue? > Cc: 77480@debbugs.gnu.org > From: Nicolás Ojeda Bär > Date: Fri, 4 Apr 2025 08:47:02 +0200 > > On Thu, Apr 3, 2025 at 10:28 AM João Távora wrote: > > First, Flymake has two ways of showing > > diagnostic in the echo area: > > > > 1 flymake-mode insinuates itself onto ElDoc > > eldoc-documentation-functions, which you have correctly identified, > > so you get at-point echo area updates as you navigate code. > > > > 2. interactive, on-demand Flymake commands such as > > flymake-goto-next-error > > > > In approach number 1, Flymake is usually sharing a hotly contested > > ElDoc-managed resource with many other outlets (since you use Eglot you > > know what I'm talking about). I chose the "one line per backend" > > default rule from years of dealing with many user reports about this > > topic, as a means of keeping the maximum amount of users content. > > OK, thanks for the context. > > > In approach number 2, as far as I can see, you do suffer this > > limitation, and the line is truncated. But this behaviour has been > > around since the inception of modern flymake as I rewrote it circa 2017. > > Indeed, I had 2. in mind when I wrote my previous email. > > > Changing approach number 2 to honour the > > `eldoc-echo-area-use-multiline-p` is very problematic for two reasons > > (a): it's odd to use a variable not really connected to the mechanism it > > uses to access that space, since it calls `message`directly. (b) it > > would break a lot of workflows everywhere. > > OK, that's fair. > > > There are a good number of issues in the Eglot tracker showing how to > > do this and how everyone has a slightly different view on the topic. > > Thanks for the pointer, I will take a look. I also tried Flycheck > which by default > does not truncate the diagnostics shown in the echo area. > > > So there is, in my view, no need for changes to ElDoc or Flymake in this > > regard. > > OK, that's fair. > > > > Looking at the Git history, this behaviour seems to have changed or > > > introduced recently, in commit 560950468588117b264a9f916fb578e0eb2a124a. > > > > By the way, this was 2 years ago, hardly "recently". > > True! > > > João > > Cheers, > Nicolas > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 12:04:26 2025 Received: (at 77480) by debbugs.gnu.org; 19 Apr 2025 16:04:26 +0000 Received: from localhost ([127.0.0.1]:35823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6Ag5-0002Tp-F0 for submit@debbugs.gnu.org; Sat, 19 Apr 2025 12:04:26 -0400 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]:58697) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u6Afq-0002T8-8Q for 77480@debbugs.gnu.org; Sat, 19 Apr 2025 12:04:11 -0400 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-2c759bf1b2eso1240489fac.1 for <77480@debbugs.gnu.org>; Sat, 19 Apr 2025 09:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745078644; x=1745683444; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ab3yk7BWjhUAOgFvDzJQBGZcGZIewYfce69r20NRVzU=; b=JmCOMO2daLaPX4qdJPubbvpBwWvFtbiUibCKoezo32wq9TTmrnwMjhKDWeG2AVtO3P uS/9Vw10UgQJYIKyW2B7MWe+uz8sFY0Aj/2CSKLwvw5/MHxMoImesqA6lnmgqM3G6XPE IakxBy0fabwhP/qvnqCtwfReC0JK9SYTemE7BT/Q3/Sfbwm1k5hjQcKNOzlQqY39AKOl 1KIkSrn6y0VmPGOOPMjT5BF/EcQtizn9YWZBzmP/TmlmZwg0c6FTzsIJ1OdmIB6CzFeo Z645YYY4iaxGUF77Mz0veaKLnAwEbSGSvcvUbclaToQks7TTUf4oetMWDJyvHWLz/ZR3 q78Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745078644; x=1745683444; h=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=Ab3yk7BWjhUAOgFvDzJQBGZcGZIewYfce69r20NRVzU=; b=T8s9JKe7brUneEiXEm0pYJdmyPr4oWy/VSV9QsS/Oey11MmRVUa9WUnd/rMril8FSR O5a9S409ey4G7G8maBn4adGBz51vpmDwlzc6c5mtF6AtQolvs4OpCylbpGyHd0EUjWjr PlCBourE7Vq9BcsoxGEEK7T5wZk8d0VgzCpejm2J14O/13lDjGhVackEZXuEm3zYX3l1 SLidwF2kAF1DlEVhUDhe3SeMf46j3J9fnE9tGiZdRqMlHABasR3X3yMEjzTTAzZbWYIY o4Y+bDAM3y3W2SBWZFM3QHLsgAkT1glYrWIc+qCR4T1J2XKkDm9E4vZLUEgyu6DlEann Dp9Q== X-Forwarded-Encrypted: i=1; AJvYcCXzT/NPY732KMSlXUi2RoaNa/51WowFICn06vgFTLAZiZgyVXegSluN9wO4yO/IhNFyVgzHzw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxjTBSq+MC6umlnA7PEhMoe26wSpXF9g+pl3IsEcuhyjNxo5zX9 4ZA6VKH7/hiB1FaD80Y5I0ZAK5ipJl47PMTI7LaRXPSCbQC2Z7XHxvLl47exiE4wqrMsqeONC/9 F2IA7V3De6CNjr7KaV4u5umObnCk= X-Gm-Gg: ASbGnct6Cvk/tRDmlCIxzYs3k5otS7ZsA5o7eyAbbF8R2LK5wa+hADpqc0cuRJccb/a Oo6XaxtPFVf9CUSV49e1RKCYQ5n4LpnhhujOBkT4D8pGYFpAgJ6EwzTsE2KsFNeruGksARYhysG NyS4S+xODjCbQScCjAAm2A X-Google-Smtp-Source: AGHT+IECnIVQWZcV1v8j5fEwWg4iIMVSBH9H/JKD8OQKwhjJNY8mk9mzFFd3x8SqCrXvBgX6sezYVT55TOKJUkPSf0U= X-Received: by 2002:a05:6871:aa09:b0:2c1:6948:d57c with SMTP id 586e51a60fabf-2d526dba4bfmr3940530fac.28.1745078644081; Sat, 19 Apr 2025 09:04:04 -0700 (PDT) MIME-Version: 1.0 References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> <86fri48dpl.fsf@gnu.org> In-Reply-To: <86fri48dpl.fsf@gnu.org> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Sat, 19 Apr 2025 17:03:53 +0100 X-Gm-Features: ATxdqUH-qHu2TNgFhiEf08_KktfCkdDTT3RbWd68WEp01JRVNoXsbLOOEa1FS6c Message-ID: Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000afe76e063323c868" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480 Cc: =?UTF-8?Q?Nicol=C3=A1s_Ojeda_B=C3=A4r?= , 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000afe76e063323c868 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If it wasn't clear from my previous emails in this thread, the "impossible" in the subject is manifestly overstated. Nevertheless I'm working on some Flymake changes such should make this much easier. I'm doing this in the context of the other bug opened by Nicol=C3= =A1s around the same time, the number of which I don't have handy at the moment. Jo=C3=A3o On Sat, Apr 19, 2025, 14:48 Eli Zaretskii wrote: > Ping! Any progress with this issue? > > > Cc: 77480@debbugs.gnu.org > > From: Nicol=C3=A1s Ojeda B=C3=A4r > > Date: Fri, 4 Apr 2025 08:47:02 +0200 > > > > On Thu, Apr 3, 2025 at 10:28=E2=80=AFAM Jo=C3=A3o T=C3=A1vora > wrote: > > > First, Flymake has two ways of showing > > > diagnostic in the echo area: > > > > > > 1 flymake-mode insinuates itself onto ElDoc > > > eldoc-documentation-functions, which you have correctly identified= , > > > so you get at-point echo area updates as you navigate code. > > > > > > 2. interactive, on-demand Flymake commands such as > > > flymake-goto-next-error > > > > > > In approach number 1, Flymake is usually sharing a hotly contested > > > ElDoc-managed resource with many other outlets (since you use Eglot y= ou > > > know what I'm talking about). I chose the "one line per backend" > > > default rule from years of dealing with many user reports about this > > > topic, as a means of keeping the maximum amount of users content. > > > > OK, thanks for the context. > > > > > In approach number 2, as far as I can see, you do suffer this > > > limitation, and the line is truncated. But this behaviour has been > > > around since the inception of modern flymake as I rewrote it circa > 2017. > > > > Indeed, I had 2. in mind when I wrote my previous email. > > > > > Changing approach number 2 to honour the > > > `eldoc-echo-area-use-multiline-p` is very problematic for two reasons > > > (a): it's odd to use a variable not really connected to the mechanism > it > > > uses to access that space, since it calls `message`directly. (b) it > > > would break a lot of workflows everywhere. > > > > OK, that's fair. > > > > > There are a good number of issues in the Eglot tracker showing how = to > > > do this and how everyone has a slightly different view on the topic= . > > > > Thanks for the pointer, I will take a look. I also tried Flycheck > > which by default > > does not truncate the diagnostics shown in the echo area. > > > > > So there is, in my view, no need for changes to ElDoc or Flymake in > this > > > regard. > > > > OK, that's fair. > > > > > > Looking at the Git history, this behaviour seems to have changed or > > > > introduced recently, in commit > 560950468588117b264a9f916fb578e0eb2a124a. > > > > > > By the way, this was 2 years ago, hardly "recently". > > > > True! > > > > > Jo=C3=A3o > > > > Cheers, > > Nicolas > > > > > > > > > --000000000000afe76e063323c868 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If it wasn't clear from my previous emails in th= is thread, the "impossible" in the subject is manifestly overstat= ed.

Nevertheless I'm= working on some Flymake changes such should make this much easier. I'm= doing this in the context of the other bug opened by Nicol=C3=A1s around t= he same time, the number of which I don't have handy at the moment.

Jo=C3=A3o

On Sat, Apr 19, 2025, 14:48 Eli Zaretskii <eliz@gnu.org> wrote:
Ping!=C2=A0 Any progress with this issue?

> Cc: 77480@debbugs.gnu.org
> From: Nicol=C3=A1s Ojeda B=C3=A4r <n.oje.bar@gmail.com>
> Date: Fri, 4 Apr 2025 08:47:02 +0200
>
> On Thu, Apr 3, 2025 at 10:28=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <jo= aotavora@gmail.com> wrote:
> > First, Flymake has two ways of showing
> > diagnostic in the echo area:
> >
> > 1 flymake-mode insinuates itself onto ElDoc
> >=C2=A0 =C2=A0 eldoc-documentation-functions, which you have correc= tly identified,
> >=C2=A0 =C2=A0 so you get at-point echo area updates as you navigat= e code.
> >
> > 2. interactive, on-demand Flymake commands such as
> >=C2=A0 =C2=A0 flymake-goto-next-error
> >
> > In approach number 1, Flymake is usually sharing a hotly conteste= d
> > ElDoc-managed resource with many other outlets (since you use Egl= ot you
> > know what I'm talking about).=C2=A0 I chose the "one lin= e per backend"
> > default rule from years of dealing with many user reports about t= his
> > topic, as a means of keeping the maximum amount of users content.=
>
> OK, thanks for the context.
>
> > In approach number 2, as far as I can see, you do suffer this
> > limitation, and the line is truncated.=C2=A0 But this behaviour h= as been
> > around since the inception of modern flymake as I rewrote it circ= a 2017.
>
> Indeed, I had 2. in mind when I wrote my previous email.
>
> > Changing approach number 2 to honour the
> > `eldoc-echo-area-use-multiline-p` is very problematic for two rea= sons
> > (a): it's odd to use a variable not really connected to the m= echanism it
> > uses to access that space, since it calls `message`directly. (b) = it
> > would break a lot of workflows everywhere.
>
> OK, that's fair.
>
> >=C2=A0 =C2=A0There are a good number of issues in the Eglot tracke= r showing how to
> >=C2=A0 =C2=A0do this and how everyone has a slightly different vie= w on the topic.
>
> Thanks for the pointer, I will take a look. I also tried Flycheck
> which by default
> does not truncate the diagnostics shown in the echo area.
>
> > So there is, in my view, no need for changes to ElDoc or Flymake = in this
> > regard.
>
> OK, that's fair.
>
> > > Looking at the Git history, this behaviour seems to have cha= nged or
> > > introduced recently, in commit 560950468588117b264a9f916fb57= 8e0eb2a124a.
> >
> > By the way, this was 2 years ago, hardly "recently". >
> True!
>
> > Jo=C3=A3o
>
> Cheers,
> Nicolas
>
>
>
>
--000000000000afe76e063323c868-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 12:31:05 2025 Received: (at 77480) by debbugs.gnu.org; 19 Apr 2025 16:31:06 +0000 Received: from localhost ([127.0.0.1]:36082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6B5q-0004gL-GA for submit@debbugs.gnu.org; Sat, 19 Apr 2025 12:31:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34006) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6B5j-0004e5-KV for 77480@debbugs.gnu.org; Sat, 19 Apr 2025 12:30:59 -0400 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 1u6B5e-0005sc-65; Sat, 19 Apr 2025 12:30:50 -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=3yMEF8YW6GufKPpWjUA6Awenw/AwpjTtA3i0mRMV0CA=; b=R1jUG3Ut1Tatbj3/KSD3 LaObvYTuKdQJkoeHd2d3DTO3/yd3sxApgGWbncO1PWMElq25GXzb1/4GL9hCySs5c9hLg1nbi48YF ejUmZOvPrBNIpc7MMj4lsk3PKtd29W7/aDGVozAI8qUN3QrJGZjanJrfoSQGK4tv2v0NqTV0pYjrS Jney/198S+O64kY7pb84EmO6LEyNhQduUfPIFC5kkQOWo2cTZxKvkvTbDkMz1E4xvgDR7n9Nm04sQ K1WcAsfJLJumEOUk5VXkU/0ZawnL8wCErBD4Tf5/g6cwxky71UQEoTbPvbL0TgyxaKHaSLYLJWV9/ EI9TO2WIV65vCg==; Date: Sat, 19 Apr 2025 19:30:41 +0300 Message-Id: <86r01o6rm6.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Sat, 19 Apr 2025 17:03:53 +0100) Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> <86fri48dpl.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77480 Cc: n.oje.bar@gmail.com, 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: João Távora > Date: Sat, 19 Apr 2025 17:03:53 +0100 > Cc: Nicolás Ojeda Bär , > 77480@debbugs.gnu.org > > If it wasn't clear from my previous emails in this thread, the "impossible" in the subject is manifestly > overstated. > > Nevertheless I'm working on some Flymake changes such should make this much easier. I'm doing this in the > context of the other bug opened by Nicolás around the same time, the number of which I don't have handy > at the moment. Thanks! From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 21 04:02:39 2025 Received: (at 77480) by debbugs.gnu.org; 21 Apr 2025 08:02:40 +0000 Received: from localhost ([127.0.0.1]:59938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6m6x-0004Uy-5W for submit@debbugs.gnu.org; Mon, 21 Apr 2025 04:02:39 -0400 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]:46138) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u6m6t-0004Tz-WF for 77480@debbugs.gnu.org; Mon, 21 Apr 2025 04:02:36 -0400 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-2d0920ce388so751879fac.0 for <77480@debbugs.gnu.org>; Mon, 21 Apr 2025 01:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745222550; x=1745827350; 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=qKbpWsh/WZWlCDQKlC/BuOqpWP768y2sTgJW5cONcPs=; b=aVj6raEgJAq3lgEVsj3ZhcNRSD1oKab7evNEQbowvlE4TwjM0cgyfkC8YtbBdP5iB5 FTmdf92AcG3cRaVc9Fn797pK03RmXilA/LHe9kyA0RT/Rc7FpkwNEXKFxB0kR9344qI5 zfxoDOBgoaudM8vpl4Fz601QqY9LBIv6eX8TR4SlhrMD+CC+cD+9oS4/Pk2RNN8tjfEy j+0VJOBZy1VKGSxA2icNq26NlHTnSR/nJvwsnPguGEAQE3yKsc687n44w1n7WqsV2E9e sIExegYvXQ2tLRrldeMvntvH3RCa5IqaGWlWp4Yzr8OrL43uSJyeDsHi6JW57aMwXL0h iTug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745222550; x=1745827350; 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=qKbpWsh/WZWlCDQKlC/BuOqpWP768y2sTgJW5cONcPs=; b=afGrcDzVk09UZzP46YFZN026elCwQ52UIdRFSGoUXt0JVcdhahjlcea8qXow6o+iZ4 rqDw1Ci0yFyE2+3XTBSeYOdL5IsfAd0lTq+b04lvSu8zuwAAR9PW8tpUSfAcWdgnGe/Y l82WX/BaJdG9O6g3255+56m7+KnGPe875YJqxe/SrsY7RXKcekFN959dMR9YHUz4z5O4 uICRyhvPAfIr9WRk/XYmj+pegQvFtiAeZigGghrx72x3p+41uMj/o6ZXZJ3W8IxxbTuc XK1PcpwC5FWQEiBfrTZCFqPIoPv0WffKS5p+taXgoIM8sSwx7mIFufXp5j9FJ6yCOpfG ZLRg== X-Forwarded-Encrypted: i=1; AJvYcCVX0m7hg5dOks6nNh5vO/H7AS+yfJKjnQT5CWQMtn3u+GEsMf0fwR0rQKBhg1q9WO49efSm/w==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw14XJIzcWMj9DkDIoO4/+i1bs/Kan7AqEbTNrB2+nEIpIZF4im nczHSZAQXrc4d9pVjvZkzbeR3gmcZvfCE3HwI7He3y3fF/j18IP6/mK1W+kyw9mtB9gRQio4HiH hibnWdb9SHhfTqvoS5V1KS+7bcqg= X-Gm-Gg: ASbGncsZnHzWefCUYUQ3VvoG9f+4XMbTnQ/ObRrnWhTYq8Agrw1CnRDm66z++MFwsYO s77ZlKHn47+Tbu4wV4c0LYmdioaV8pHfsmzpsTk1IRX35o4X7ouEsxAl1+ZlD4sJgNC3VpJvIZU iZ+EEBS5ZS78C+/ns/I8sNbw== X-Google-Smtp-Source: AGHT+IHMVrxjnjNbr9Xdd0/peClA0mSlKgR7BsXwi868/aPYFA7iXixUOr/4Ng7oQbWnH0C62YK+ov7R0+S7HFUJfQU= X-Received: by 2002:a05:6870:9624:b0:2d5:a360:7df9 with SMTP id 586e51a60fabf-2d5a3608413mr755088fac.5.1745222549994; Mon, 21 Apr 2025 01:02:29 -0700 (PDT) MIME-Version: 1.0 References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> <86fri48dpl.fsf@gnu.org> <86r01o6rm6.fsf@gnu.org> In-Reply-To: <86r01o6rm6.fsf@gnu.org> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Mon, 21 Apr 2025 09:02:56 +0100 X-Gm-Features: ATxdqUHzcetlgfM5p3PqT9fPfHjr_KzBZyrEtKxqnuj0hWcr3mE2vDGhAUDZzRk Message-ID: Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480 Cc: n.oje.bar@gmail.com, 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I've pushed these changes to master. They should also be available shortly in Flymake 1.4.0 from GNU ELPA. Please test and then this bug can be closed. Jo=C3=A3o On Sat, Apr 19, 2025 at 5:30=E2=80=AFPM Eli Zaretskii wrote: > > > From: Jo=C3=A3o T=C3=A1vora > > Date: Sat, 19 Apr 2025 17:03:53 +0100 > > Cc: Nicol=C3=A1s Ojeda B=C3=A4r , > > 77480@debbugs.gnu.org > > > > If it wasn't clear from my previous emails in this thread, the "impossi= ble" in the subject is manifestly > > overstated. > > > > Nevertheless I'm working on some Flymake changes such should make this = much easier. I'm doing this in the > > context of the other bug opened by Nicol=C3=A1s around the same time, t= he number of which I don't have handy > > at the moment. > > Thanks! --=20 Jo=C3=A3o T=C3=A1vora From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 04:00:56 2025 Received: (at 77480) by debbugs.gnu.org; 24 Apr 2025 08:00:56 +0000 Received: from localhost ([127.0.0.1]:35245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7rVv-0001XF-WD for submit@debbugs.gnu.org; Thu, 24 Apr 2025 04:00:56 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:43026) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u7rVt-0001X0-Ri for 77480@debbugs.gnu.org; Thu, 24 Apr 2025 04:00:54 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-acb615228a4so311281966b.0 for <77480@debbugs.gnu.org>; Thu, 24 Apr 2025 01:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745481647; x=1746086447; 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=iqdes+6sELmoYeT1pO0mwk0VFU7m9rmXuLBNuyPYOJg=; b=VvG5pgmH2SUlLr63T5PUUY8psDaaDdM83RINa7XyuF7ogEzeZ1ziG3t/SXLKiUxkIp eo6tUF9mhc34adyh9I45QiVKYbWNbqvMFMDCJ20aDXcLsEokHaEZPG0F7KnwWnWGnD0l 3CiUyzUARfZtCa+TyQ5mOPKOgQqZW75xyCSp+qy73p38RasBXXydsF3zorAKhJUCPU1n 46dHKT85+VSmxqwFUmjacoFgiOyvP2Ovk8lx3LdbgHxhiU1/HnflMLs587OYPbbwGQdS ckjL5Xof5EQXLLYWJ3s4Eh363oFC8wwwpDsFPtP3/b5NTH97a4p853fdO3pDVdwsPdFN f5EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745481647; x=1746086447; 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=iqdes+6sELmoYeT1pO0mwk0VFU7m9rmXuLBNuyPYOJg=; b=AdIevd9W+8Xe5hSZ5yhmGkDhiCbuttfpSGYmwHrFZc7ugZ/2udcGs1A6WYkuZSUhYE Sl5yAnMIpXhMYKPnx2XBZrutUiSLITacq4u7A6MPAUFlyhnGk+FcuMd6i40s0wwvYssP WkqqlEVk0I9oSYr36MpTZxyJ5ZRwJAZY/qqwn8fnq4eiKNgTKna27H5i82NZxp7n7mx8 KHZtLisiatSlwkFVYsEciRfMJ+Z8JUAjIW8jsQYq5VwvZhN1kPg/wdQiNdcGYOFks/pq DxHs4oHWf9ecED8JeO7xxVny/TtDn1GMZAv3Q85uRruIW18N4TIZQf6HOcE/+/d60zjQ YczQ== X-Forwarded-Encrypted: i=1; AJvYcCX9VY7A432EVB3rfBjbOMk+XCHfuVqub/SgVGzcgjjnLnbUzdZ2ovEF9UfluvW4CwzOM4DHGA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy3MNqBih9dtgJl8/zNNDpjj1xrg7IORUIQhfl9kxhUIuo99Mz+ HsMugMNsEm0hA+4BE59ftcTGSTCHl3WooDi/rl3YKtdv1JiFI29aDmXwIgwB3XwkQDWCVEuf4im SkfTGJY4BITiMibP9cdEkPwSkjGI= X-Gm-Gg: ASbGncsXGiq7xzTkWjDOx+DBnPyNJWGc3oyO7dfXpPXj6ASCj48HcszUUMNbCgNzfFH OGjzPJLugpVMmqxWAxUCGk5WLnQowTDVBOJknDT5/jhbK8GZRmtLTDGaVxwFZc5RbDELJjrImYA oSrtc0+0YE22aFinOzfTGV4GcnshR5sG6ZtrX4BWQBe+Q9ZeNsY1Z5ey0= X-Google-Smtp-Source: AGHT+IGP/OXqvWZbjUpZ+iXgAZIruS8nZ1+rj3OOfZh87kdm+l1AL/Ld1ZUJBwxJWKC1c6sX0ty8JGZpj9P49TxTZkM= X-Received: by 2002:a17:907:3e05:b0:acb:3acd:2845 with SMTP id a640c23a62f3a-ace5a482bb3mr100661466b.25.1745481647357; Thu, 24 Apr 2025 01:00:47 -0700 (PDT) MIME-Version: 1.0 References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> <86fri48dpl.fsf@gnu.org> <86r01o6rm6.fsf@gnu.org> In-Reply-To: From: =?UTF-8?Q?Nicol=C3=A1s_Ojeda_B=C3=A4r?= Date: Thu, 24 Apr 2025 10:00:24 +0200 X-Gm-Features: ATxdqUGvAw7UmK8Xr7EReYsWW_iij39mmdG07gBRnSzdW6Tz9I0vkmXaZX3OpSs Message-ID: Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480 Cc: Eli Zaretskii , 77480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, On Mon, Apr 21, 2025 at 10:02=E2=80=AFAM Jo=C3=A3o T=C3=A1vora wrote: > > I've pushed these changes to master. They should also be available short= ly > in Flymake 1.4.0 from GNU ELPA. > > Please test and then this bug can be closed. Tested. I confirm it fixes the bug. Thanks! Cheers, Nicolas > Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 04:09:44 2025 Received: (at 77480-done) by debbugs.gnu.org; 24 Apr 2025 08:09:44 +0000 Received: from localhost ([127.0.0.1]:35324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7reS-0002CW-4S for submit@debbugs.gnu.org; Thu, 24 Apr 2025 04:09:44 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:49655) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u7reO-0002Bs-CF for 77480-done@debbugs.gnu.org; Thu, 24 Apr 2025 04:09:41 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-acbb85ce788so148002766b.3 for <77480-done@debbugs.gnu.org>; Thu, 24 Apr 2025 01:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745482173; x=1746086973; 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=GbxOhy3QQ8vCzAmwrEACgjKkO4JCt91y5TXcD3uTiQM=; b=nncOavG1uBhnHt7jtplfbadxGQkEXhj728vcPRFkkE4PcssJrjjuo/zjRwFi+j3Oub /bKCvwA22rbBTJjxgUY8Vpqtft1Oo0Ar1mWUQEqXg4rGK0k4VeAKdJiHP0gCyJqtS2II uU21GpuNYn0Tvc8dcl9WWGUsSrXPRidv2TIVd37NaKRMeLxpbxniqf5mnXIufcFgCf1q yD95IJ5vLzfR8Zc+mmZN7ZX9HB0myKG4MHgsb/fVen6IZOvDYMddz2iKmsJFX7bSCS70 wAy5yvufDgV6kvzm9anv6Sq8l2fim7HSLK+3KEATfksglSCnOhjH7bwUAZBmyDyxv5U0 mYBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745482173; x=1746086973; 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=GbxOhy3QQ8vCzAmwrEACgjKkO4JCt91y5TXcD3uTiQM=; b=HmbZn2YhYXt4NdKD/i7/vZzAocOkC1WBPVWi6pbFG28Z49uOKytn2fEw3lM9QAz5b/ iir/Vy0vhEiqKBrCM22rQ+BIc2gnXUSVWMaxomwuySs97x/NqcohzhjDa8cqyOYrDPdK vq3bjC6phkxnk6sXAxSlTNIt+WZ+JjnFYoFJ7VhjByUdWNFOrPUvDlyM9otZNenZ2HCq WL1dGNlsfWuqvmoRmN9ki5FPZwBvn5WXKhwY0OGZxI7f65IC4QogtFRHqrAtkfPYqdxv ktN5/K8NGSpB2EbqBl07MHbmcvggjNmOufmy8XrBpIwJlWdbDQBfLrVGmeWgoP2zYImE vXCg== X-Forwarded-Encrypted: i=1; AJvYcCWNlwtxutwIfVwoCe+vvIMJMZxDyxZ2lLC4wFSamITKlqH/9pXb4/tfZSREdgvAqivE3q1ULnXFa+Ms@debbugs.gnu.org X-Gm-Message-State: AOJu0YyRmGdJSR8nMSsc+ehqVYa3/RThzajm0K/oAJV2Wlw9MUiSUlrk hvRqYwhnMjqAa3P93d7fKN8a99HKXS6uAGMFeHxiIqR9ImqBPPSLfzGJbcLr6G5OHLqchpqIDyb 9PPhojoR6hhIeOdqZIMFoZ7a6XTU= X-Gm-Gg: ASbGncvRqmZ0fxdHR5skx/gn9SPGunUUEHFECDFWbZKhbagNr9TDj4PJKz3CL+B0R8Q HGmuU82BhcNKXRd72wjaNi2aKbW273sw6iBDZ34LCU3QQ7FyL/VEocldevCO9Immxj5JWgkRHfx E8bgZkMIeO1yI+H62VlB1ax1sSu8hqguyly0ttieFvDe3q1/S8Ih92WeM= X-Google-Smtp-Source: AGHT+IHTqKIsLfWM64rYEiLjvMD8OTFkaAJAN9zMHEikfCuP9fevNuq8fXTmc29z+wEJ1mLRZq5AnyL/EGTQFglLVII= X-Received: by 2002:a17:907:2689:b0:abf:6ec7:65e9 with SMTP id a640c23a62f3a-ace573a7236mr166198566b.43.1745482173336; Thu, 24 Apr 2025 01:09:33 -0700 (PDT) MIME-Version: 1.0 References: <87plhtellc.fsf@gmail.com> <87ecy9odgx.fsf@gmail.com> <86fri48dpl.fsf@gnu.org> <86r01o6rm6.fsf@gnu.org> In-Reply-To: From: =?UTF-8?Q?Nicol=C3=A1s_Ojeda_B=C3=A4r?= Date: Thu, 24 Apr 2025 10:09:10 +0200 X-Gm-Features: ATxdqUEp5Pvz5VSvZK-G0oZ65t1eQLGwt6JVuEd5zlPq-e0_7NMG1DfCZmfiYuM Message-ID: Subject: Re: bug#77480: 31.0.50; Flymake: impossible to show multiline diagnostics in echo area To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77480-done Cc: Eli Zaretskii , 77480-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Closing bug. Nicolas On Thu, Apr 24, 2025 at 10:00=E2=80=AFAM Nicol=C3=A1s Ojeda B=C3=A4r wrote: > > Hello, > > On Mon, Apr 21, 2025 at 10:02=E2=80=AFAM Jo=C3=A3o T=C3=A1vora wrote: > > > > I've pushed these changes to master. They should also be available sho= rtly > > in Flymake 1.4.0 from GNU ELPA. > > > > Please test and then this bug can be closed. > > Tested. I confirm it fixes the bug. Thanks! > > Cheers, > Nicolas > > > Jo=C3=A3o From unknown Mon Jun 23 00:32:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 May 2025 11:24:19 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator