From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: eglot-test-diagnostic-tags-unnecessary-code fails with certain clangd versions Date: Wed, 22 Mar 2023 09:45:26 +0000 Message-ID: References: <87edq7ztks.fsf.ref@yahoo.com> <87o7oru7i1.fsf@gmail.com> <87ttyj3i3u.fsf@yahoo.com> <87a6071xxt.fsf@yahoo.com> <87bkknr7io.fsf@gmail.com> <87355zqzbh.fsf@gmail.com> <87pm92pmtn.fsf@gmail.com> <87lejqp7zc.fsf_-_@gmail.com> <87h6uep63a.fsf@gmail.com> <87fs9yqhk4.fsf@gmx.de> <87355yqfsb.fsf@gmx.de> <87y1nqp09x.fsf@gmx.de> <875yauoyfo.fsf@gmail.com> <87ttydnn58.fsf@gmail.com> 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="18374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: chad , Michael Albinus , Po Lu , emacs-devel To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 22 10:44:16 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pev0y-0004bx-2r for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Mar 2023 10:44:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pev0Q-00011G-5p; Wed, 22 Mar 2023 05:43:42 -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 1pev0O-00010T-5N for emacs-devel@gnu.org; Wed, 22 Mar 2023 05:43:40 -0400 Original-Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pev0M-0001RL-IZ for emacs-devel@gnu.org; Wed, 22 Mar 2023 05:43:39 -0400 Original-Received: by mail-oi1-x233.google.com with SMTP id b19so238307oib.7 for ; Wed, 22 Mar 2023 02:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679478216; 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=tZZNktdFyjLos7xfCmRiUosy5GTv1Wo1L6U44GaySyk=; b=CPhEL0jlu21z+xAMSrGBW6oeBkMYzVx2PlHKhC+nRAtieRygDAOp/nTf7PO8BccUXJ 6rEKuO2lK6Jdcx8EexCSgeBOAczIElWuon0ar7trJeSQp0jvAUSYHZj6e4u0Rx0sX9bF cXOW0K40QAgmi6y+TGC3KwfCCiv6tQj73gsKeRllh4WUxNNq0RLIp+J64Y2Y28cOXijK euvUeEOJJhiNBodVA+Wxd5pUFDLWytxDVA9cojXey98dzD4yVIxNJxJLRFOVyw5adyga T2hpK/R+SjXut3l8ehB0kvPiWy1ZLvuBiKsGDplFW6nK9cje4eeJ3bPEPJAWD45l/HXE Lujw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679478216; 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=tZZNktdFyjLos7xfCmRiUosy5GTv1Wo1L6U44GaySyk=; b=Vysv8nRnNoxO7OzHcKoR6bTuck25MyhvcRhHI4urKqpieHnVzKHmnAo09YWFJrPs8u 6HZwBsOcz/Nvp9LukWewJnPJHBpM56EYfYvoptaV6B6v/7B2Qf1cPjt5+uDKvgA+JipZ vXflNWGqkqDACoIZxhFxXwGhtpMFLaRTdBuCmiKL4Ugerx+lFYRv4nc5Q1L6RNsFLFTZ ZHb/35PxiqLpQE9nJK2gmpkSP8xgzvWH5Rj5LDT1WRdk+iInmpPy30ynNYDy05UW8u0Q mWcWFlnH5SFSKrWbEonJ418oxKT1IJQ6VE1bGsmRAcI8A2UL5BBzMEXz6mYobmvAjVgB gtuw== X-Gm-Message-State: AO0yUKWo4vpasm7/DK9pdyLPCVmetGJDT/Zr98yZVEmcpykqjyUZ8kPZ X6uK901kU1X/sILEPi6D5jNvhrPs3fPYotCMj34= X-Google-Smtp-Source: AK7set8kDGwyyemSGBUiDF/W/eOCUVwSRzz2kkZnJ/c/KsSabPVdKJqK1OSUzKddKE3jRxepgQWY392QLrdpAlKU1PM= X-Received: by 2002:aca:910:0:b0:378:30dc:ae5b with SMTP id 16-20020aca0910000000b0037830dcae5bmr832447oij.5.1679478215899; Wed, 22 Mar 2023 02:43:35 -0700 (PDT) In-Reply-To: <87ttydnn58.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x233.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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304698 Archived-At: On Wed, Mar 22, 2023 at 9:36=E2=80=AFAM Robert Pluim w= rote: > > >>>>> On Tue, 21 Mar 2023 18:47:46 +0000, Jo=C3=A3o T=C3=A1vora said: > > Jo=C3=A3o> On Tue, Mar 21, 2023 at 6:27=E2=80=AFPM chad wrote: > >> > >> FWIW, Debian stable has clangd-13 as an option, but not v14 or lat= er: > >> > >>> clangd-13/stable 1:13.0.1-6~deb11u1 amd64 > >>> Language server that provides IDE-like features to editors > > Jo=C3=A3o> Thanks, that's close. > > Jo=C3=A3o> I really wonder if installing a newer package of that pull= s in > Jo=C3=A3o> that many more dependencies, but I have no way to check. > > # apt install clangd-13 > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > The following additional packages will be installed: > libclang-common-13-dev libclang-cpp13 libllvm13 > The following NEW packages will be installed: > clangd-13 libclang-common-13-dev libclang-cpp13 libllvm13 > 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. > Need to get 39.0 MB of archives. > After this operation, 249 MB of additional disk space will be > used. > Do you want to continue? [Y/n] > > So it=CA=BCs not that many packages, but the point is moot because clangd > 13 also fails. What I meant rather, was trying to install version 14 from one of those sources I listed earlier. Perhaps all that we'll see is that instead of: clangd-13 libclang-common-13-dev libclang-cpp13 libllvm13 we'll see clangd-14 libclang-common-14-dev libclang-cpp14 libllvm14 If the former is acceptable so should be the latter, especially if the installation of the support libraries is motivated by clangd alone. > Jo=C3=A3o> Anyway, I now pushed a version-checking patch to master. > > Thanks, that test is skipped for me now (aside: is there any way to > get ert to not spew the diagnostic output from commands such as clangd > to the terminal?) As far as I understand the output you mean, when running `make check` all this output goes to a separate file. The output is very useful for debugging test failures. But maybe I'm not following: what command are you running exactly? Jo=C3=A3o