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#73500: eglot: diagnostic location not always shown Date: Sun, 29 Sep 2024 18:20:14 +0100 Message-ID: References: <86wmiw58r1.fsf@gnu.org> <6654a127-fb75-4b8b-86d6-267b92567429@fbengineering.ch> <87r093tr3r.fsf@gmail.com> <452a24b1-14e8-40a6-b921-a26522278a82@fbengineering.ch> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d385ad0623454d17" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73500@debbugs.gnu.org, Eli Zaretskii To: Federico Beffa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 29 19:22: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 1suxdC-0002kW-9U for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Sep 2024 19:22:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suxcv-00082t-E5; Sun, 29 Sep 2024 13:22:33 -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 1suxct-00082i-3B for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 13:22:31 -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 1suxcs-0004Jk-Qh for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 13:22:30 -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=cSP4rlGSTYyTKpXgWg3FRerQ765cZb5EbRQ3LhphdLI=; b=qrCznd4pTZCHwLTjXIxAmODiKxgi96bkWx/kUivzjydctuGhLaL+EG+NXHwcKLrZtSUVeTjPcgl5j+x1ne8DlAZm37GlftEEK7PyseWIUqt3KifbJNWuA3xprpwX9GWEgBELWoUtyCB4kXtaabf+GX5i9sdBsKRwiOyD6m4uecikYvWFvRwpIfdyzrbqi2tK2Xau6NO9s53h6k+6TLBfezbKGXAKIwcPCIrycNZrE/ESEwGxtv/BlpiZ0TnKbXA08GyZOO0CO05ap3n1DhaNKfIX6lmJfdfWMwKApVvGxRmt1nmHoYl37349Bx5NmitHsoghCi2+uWGwtEFkDGHF/w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1suxdO-0007bQ-C7 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 13:23: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, 29 Sep 2024 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73500 X-GNU-PR-Package: emacs Original-Received: via spool by 73500-submit@debbugs.gnu.org id=B73500.172763052529168 (code B ref 73500); Sun, 29 Sep 2024 17:23:02 +0000 Original-Received: (at 73500) by debbugs.gnu.org; 29 Sep 2024 17:22:05 +0000 Original-Received: from localhost ([127.0.0.1]:41347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suxcT-0007aN-48 for submit@debbugs.gnu.org; Sun, 29 Sep 2024 13:22:05 -0400 Original-Received: from mail-oa1-f44.google.com ([209.85.160.44]:46453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suxcR-0007Zl-3b for 73500@debbugs.gnu.org; Sun, 29 Sep 2024 13:22:04 -0400 Original-Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-277ef9a4d11so1446843fac.1 for <73500@debbugs.gnu.org>; Sun, 29 Sep 2024 10:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727630426; x=1728235226; 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=cSP4rlGSTYyTKpXgWg3FRerQ765cZb5EbRQ3LhphdLI=; b=ODBH2dKBnBJYXCgbXKRuzmCDavX7lYrwJz2C4pNeRqvvF9MIamt1mET74KHGEI16HU JuJvRumddfI7TMihRUiTEKRqtmV94kH9orf9LDMmh9/Xv/esipbg93ampx6ChdqeomxZ 4Xpaa/JLligBGJI4KrMjrSHm/oAcwzRr3nI8MdtadBx81riSB1j4pVZccadgEm75AqL2 g8KH3005jttu3ol01wlfbKZrxZ1cZxx03H1QKGuCuZYRxGzNGlxJaCSRjJLM0TizgKng BPgLic+T09sB4GrdkUI0iq25siBeS91I7UecSwPo6zTgLML917MCk3aIrm0vVtuP5oU2 nVsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727630426; x=1728235226; 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=cSP4rlGSTYyTKpXgWg3FRerQ765cZb5EbRQ3LhphdLI=; b=Zcez7y+kq1lqAoLJKsyn8mKReapKRE+bQBqu6fZFBg7t63VWFBRfqtmonJocVyc/X9 9LDJGA1jCnltIhnkVwOLfS9ymAr6GP20cr9O63FduobHUK2fDauwxfbvrEGmmvmQ+agk FXdBJSD7dTJ+Z7VZ0LZJkew7UDqGPML66z+xBOrxLuxRzEP9EqOYfFSU3Y8uDPLKxIA0 Yf+ab1yUXoji+ypf8fYm1d2BYv+aDb1SKGEIBKZ4Ic8u6k7Qe6zLJYbNfVdk0v1m7AlW Jfu+ReyE+gL1Q1D+JNak8cqhOod02aou6cD49jsHTm9LOlN2fTpyfhvCxoNesTGNzH8l HH7A== X-Forwarded-Encrypted: i=1; AJvYcCUcOR/U1gcKmCyF9NdDLZ51PtDgZ+WIFcuAZKRTwyMOQQIHKDjO8out1k79fmLSMp4kJ8MfiA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw3QoQlv1Lc2JKmeF68MCPIUeAk8Bc9Fv9kpKnSO7lerTAKj+gY 444IiLQUeDyspDLtm5QEojjBu2aVucp/DCK6TL9pcJIorbrhXY6nBYcdm2Qgz7wDVAI0VVhwnKA RRVPIHowk2AadkonQJks1BCojJ84= X-Google-Smtp-Source: AGHT+IHJB+7yVeJuVNcYUoENhiqlSUdPawgJ+33kPg+3R48fAQRwSAdAB+YvkcmWkdld3eqUrQ8Pa/9PcrOmzAdCqXM= X-Received: by 2002:a05:6870:d112:b0:287:4627:2974 with SMTP id 586e51a60fabf-28746272f07mr1050843fac.14.1727630425684; Sun, 29 Sep 2024 10:20:25 -0700 (PDT) In-Reply-To: <452a24b1-14e8-40a6-b921-a26522278a82@fbengineering.ch> 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:292656 Archived-At: --000000000000d385ad0623454d17 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Sep 29, 2024, 18:00 Federico Beffa wrote: > On 28/09/2024 23:18, Jo=C3=A3o T=C3=A1vora wrote: > > On Sat, Sep 28, 2024 at 4:23=E2=80=AFPM Federico Beffa > ... Anyway, I couldn't reproduce your problem simply because the Main.hs > program you provided does not seem to produce any diagnostics, according > the haskell-language-server I installed in my system, which identifies > itself as > > haskell-language-server version: 1.9.1.0 (GHC: 9.2.8) (PATH: /usr/bin/has= kell-language-server) > > > This is not the version I indicated in the `README.md` file: GHC 9.6.5 > with the supported haskell-language-server 2.8.0.0 (indicated in the > initial bug report). > Well that's the server archlinux has on its repos. Please use the indicated tool versions. > No I won't do that, sorry. Maybe you'll find someone who has time to install your specific toolkit. But you can try out my recipe and see if you get the one-char underlines I got. Jo=C3=A3o > --000000000000d385ad0623454d17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Sep 29, 2024, 18:00 Federico Beffa <federico.beffa@fbengineering.ch>= wrote:
=20 =20 =20
On 28/09/2024 23:18, Jo=C3=A3o T=C3=A1vora wrote:
On Sat, Sep 28, 2024 at 4:23=E2=80=AFPM Federico Beffa=20
... Anyway, I couldn't reproduce your problem simply because the Main.h=
s
program you provided does not seem to produce any diagnostics, according
the haskell-language-server I installed in my system, which identifies
itself as

haskell-language-server version: 1.9.1.0 (GHC: 9.2.8) (PATH: /usr/bin/haske=
ll-language-server)

This is not the version I indicated in the `README.md` file: GHC 9.6.5 with the supported haskell-language-server 2.8.0.0 (indicated in the initial bug report).

Well that's the server archlinux = has on its repos.

Please use the indicated tool versions.
<= div dir=3D"auto">
No I won't do that, sorry.= Maybe you'll find someone who has time to install your specific toolki= t. But you can try out my recipe and see if you get the one-char underlines= I got.

Jo=C3=A3o
<= div dir=3D"auto">
--000000000000d385ad0623454d17--