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: Sat, 28 Sep 2024 12:47:25 +0100 Message-ID: References: <86wmiw58r1.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="40120"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73500@debbugs.gnu.org, Federico Beffa To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 28 13:49:47 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 1suVxK-000AHl-Hz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Sep 2024 13:49:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suVx9-0003Lw-31; Sat, 28 Sep 2024 07:49:35 -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 1suVx7-0003LY-Bg for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2024 07:49:33 -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 1suVx6-00005j-1U for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2024 07:49:32 -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=vMJb4qIRNe6BFmdXtLnMPEuMJ6y2Kl2K9JiShDBRULE=; b=FYBXy/U3XhGUu/VKt9mE4OdRdkBfn907ZIScNtn18KMA6r7YMp3St0lMRAa55SqxB58Us0ngm/W7p4kiEL/k+W5y4n7bd+xfIQQLusAHUstXCFn3sIRK7mvmijycp68+D56rsr3nWeALMh7RUUrLR5OK6Gtv+0zcNJBEnHrgLhWcYFXJw5Kt1Qo9xqX//VA5DIhpP4c0SAMCb+En7rm+IBonqAV0gMOfkcYWJOKN9046l6bwc6IaMMiW6li+AV5oSYLeUqfYhEF7aTn46nG3jDANFFUq32vYgv27b3jU/AzfhOW7GHTzh2Mm7p3xEWZdAVzSz8GWczKTbe3uLpqXyg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1suVxZ-0007QK-RX for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2024 07:50:01 -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: Sat, 28 Sep 2024 11:50:01 +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.172752415528397 (code B ref 73500); Sat, 28 Sep 2024 11:50:01 +0000 Original-Received: (at 73500) by debbugs.gnu.org; 28 Sep 2024 11:49:15 +0000 Original-Received: from localhost ([127.0.0.1]:52032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVwo-0007Nx-T7 for submit@debbugs.gnu.org; Sat, 28 Sep 2024 07:49:15 -0400 Original-Received: from mail-ot1-f52.google.com ([209.85.210.52]:43171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVwm-0007Nf-Dj for 73500@debbugs.gnu.org; Sat, 28 Sep 2024 07:49:13 -0400 Original-Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-712422564aaso1996651a34.0 for <73500@debbugs.gnu.org>; Sat, 28 Sep 2024 04:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727524057; x=1728128857; 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=vMJb4qIRNe6BFmdXtLnMPEuMJ6y2Kl2K9JiShDBRULE=; b=eONyjR4InVYJzxdMhEMcY7YFdHXofWsOzNjPOgDD5Pjw7xzkUsAGnVtM/90dzAJoxo REB4xfbIfUAmXIz4/JcsMIV8YCmLOU0x8d1FXQUFuwzSokwGwiyRpc3+y8x97gUWakCY QCn6C44W3dSrIa8lcLSUdFNDnsQ4lqaHu/Ct+gPCwydWlfQLgno3tg9a/79SmURraJ14 JnU9POovmhI/kpBhPuRcBnF/LSY2CKsAwEmac5/7wUeQ+giCI9L+rZgp/hE5mdzV8H69 GjPq1+lB2HazLeKHGYDe8RqJMjOuMRM0Ntcf80g9S8uOkUi7fgVplwNpbdjSPVcbvTH6 mpzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727524057; x=1728128857; 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=vMJb4qIRNe6BFmdXtLnMPEuMJ6y2Kl2K9JiShDBRULE=; b=IQ7sySB/CyDR6wt4y3CI3nO6ZHy/4I1CTwh0hDfG9oa2hq8qZDCJbESiXYo8DS3MPN t+EzE4NxEYI5YjkSVgTBH50Jn/mJjfOIhrYPCDObjPcP/qmFQcei8755jk90/KMtjCZu tmN6GNBsOsLqQdyE3sKWeZ1/3pqJ2LuWE+emCmNWhfujR0/4Km0EcIfVNwK/cdSY8Lsz t3aXdqnEkE4hzoinLyR3ZXcZjp9OwnsRhiqFajFh92N2kchrXvX8gcx3GQzJ8oax1JTG 8Gz+08IkdhloP9An/hkBsCwrdFGkBJzNESqlLsh90fjxQRZWhsy4shHc4yDhpAWsDyKo pN7w== X-Forwarded-Encrypted: i=1; AJvYcCUWY8XbJagMZ6ZAQjNJPnK0brufNKwHIMjr+aEKr3oYXaqPkfiyoVBASqGHPXJdmpoiog7BzQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzI+f5zI4hcvG2i0DbXO+2HidGtKopDmUUXwEuFFyPrsi7n2OFJ LOQplVF7+plKju/SQrDrLmEpSv/zbr8QVi7ybWqzSQ/mWTIC+WyeeSi7Wpq9yClTxjN2Kc4Pt/y 5NQ7Fq+Qmb0kzHoKT8q8GVc4VSzQ= X-Google-Smtp-Source: AGHT+IFVA8EWljOdPwZ1yUbFlAmohiQw1ZIS447lCXvfDWyQQrduk1v//8IhMbARxGwMlvQRiIl4cE/IgAmILUT0uTg= X-Received: by 2002:a05:6870:4710:b0:27b:a693:fa11 with SMTP id 586e51a60fabf-286f9b12b2dmr4795382fac.19.1727524056665; Sat, 28 Sep 2024 04:47:36 -0700 (PDT) In-Reply-To: <86wmiw58r1.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:292573 Archived-At: I would expect a 1-character long underline for the first one too. There might be a off-by-one error somewhere, but I doubt it. I just tried with clangd a a diagnostic like this: {"code":"unknown_typename","message":"Unknown type name 'a'", "range":{"end":{"character":1,"line":34},"start":{"character":0,"line":34}= }, "severity":1,"source":"clang"} gets its own small underline. So, maybe look closer and if you still don't see it, follow the steps in https://joaotavora.github.io/eglot/#Reporting-bugs and construct a full error recipe so that we can (not) see it, too. Jo=C3=A3o