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#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc Date: Sat, 08 Apr 2023 20:47:41 +0100 Message-ID: <87cz4egnqa.fsf@gmail.com> References: <875yaanfuv.fsf@posteo.de> <87fs9bmg1j.fsf@posteo.de> 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="1358"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62687@debbugs.gnu.org To: Mekeor Melire Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 21:46:24 2023 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 1plEW0-00009c-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 21:46:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plEVg-0006yy-BX; Sat, 08 Apr 2023 15:46:04 -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 1plEVe-0006yZ-Oi for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 15:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plEVe-0003WR-Gn for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 15:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plEVe-0002Qh-7j for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 15:46: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: Sat, 08 Apr 2023 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62687 X-GNU-PR-Package: emacs Original-Received: via spool by 62687-submit@debbugs.gnu.org id=B62687.16809831467675 (code B ref 62687); Sat, 08 Apr 2023 19:46:02 +0000 Original-Received: (at 62687) by debbugs.gnu.org; 8 Apr 2023 19:45:46 +0000 Original-Received: from localhost ([127.0.0.1]:59622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plEVO-0001zC-8H for submit@debbugs.gnu.org; Sat, 08 Apr 2023 15:45:46 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:45974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plEVM-0001ko-Ok for 62687@debbugs.gnu.org; Sat, 08 Apr 2023 15:45:45 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id gw11-20020a05600c850b00b003f07d305b32so1953198wmb.4 for <62687@debbugs.gnu.org>; Sat, 08 Apr 2023 12:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680983138; 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=/uky2P1LHT8LsLIwuG0UWXZ9S2ONX1eXVuVdanLqwig=; b=nncRfuaq7mFzgR3gP/YET+wNJ+NXvXbYfaP7ahRjtcCs/MAbAlmpMxdCMLokaFRW3w t4yPrSaJtqwGh0Tbj4iTurNCgDbYvTUuJdkxd6am+VxzcwHyPnL9F59h6uxpVhjEQDU0 Ljb4HjinL0Zi3zZeK/pFH0ZWEvYBTMVAm7er9UeK3qpdXX5pjN/qcit/r173cI2GjTbu NQhQQ/QBaaT6tY74C2c8Sh6nRW9BCQL9a9f8R+7xDXm0pLsm65VUguSCquEMtIhAJiau EEtxzGr/Aym+1eTr7ESfPvVM/rrhnMkjkTAq2N+UeEFc46WtquVykbpr49n2YJRmNlN7 2cKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680983138; 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=/uky2P1LHT8LsLIwuG0UWXZ9S2ONX1eXVuVdanLqwig=; b=1yezFkkTfGdjOlJLry7Ut5d1vhCOmXTGBpedewpBrGNmuFLq6dcHrsZPHi9BmQ8M/I vPG0G7pshwRieoNULCOhyy6Jb46u+s12BE+daFFiyJsXnFEcLmb1fyLXU8EeBk7ny3DU RJlffztYgrY41p1jmniJpkbaXpDn0nFhzJx6sPSurp/35R2usKiaspDU7N5F9wmYoJiW YZdO4CHu0utlZUMAJnrp/Pc6tdT8/aPHL17aVnTv0xILtQWiBvp3sHa6vQ1xErCcnPCn PLFgiKSnVsIwDSFUzCIPN82Qqd9wiuf/QGe8pdmnh9myw23E8i8EqLTpGKwSx+JvVzLB uIYQ== X-Gm-Message-State: AAQBX9eKt4eVxxUMqFOu2txIKf5gjc6hbp0/0ptzBU9ngecFEuY1jh5y vcuIOQkC3llhCPQtsKjtamy6ejaYvXc= X-Google-Smtp-Source: AKy350Zk0Xd5iTvGo25vbC9rEad3lgCmDdM9ShU+CsJuMoLOsz50VXv77REQ+BJAMBxM6L7aVSj1SA== X-Received: by 2002:a05:600c:b44:b0:3df:eecc:de2b with SMTP id k4-20020a05600c0b4400b003dfeeccde2bmr4709032wmr.11.1680983138455; Sat, 08 Apr 2023 12:45:38 -0700 (PDT) Original-Received: from krug ([87.196.73.56]) by smtp.gmail.com with ESMTPSA id r13-20020a05600c458d00b003f07ddfc3dfsm5779567wmo.3.2023.04.08.12.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 12:45:37 -0700 (PDT) In-Reply-To: (Mekeor Melire's message of "Sat, 08 Apr 2023 14:35:40 +0000") 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:259494 Archived-At: Mekeor Melire writes: >>You wrote 5 long messages back to back in this bug, reporting >>multiple issues and bugs and wishes. I'm not one to request >>TL;DR or executive summaries usually, but here I must, as I >>am a single threaded person. >> >>Can you try to summarize the main issue in less than 20 lines? >>Else, I'm going to find it very hard to be able to help you. > > The main issue is that Eglot won't show the "SignatureInformation"'s > "documentation" field if it is of type MarkupContent. OK I see it, I understand it, and I've done some changes to master. Please have a look at commit 685435cb52eaa6f61b7088398f1f53e69d76e63e. Note that the general principle here is that the echo area gets as few lines as possible, and the *eldoc* buffer gets much more. So it's a good idea to have the *eldoc* buffer showing somewhere (which you can summon with 'C-h .'). > If you want, I can create separate bug reports for the other bugs I > found in the eglot--sig-info function.=20 Let's focus on this "main issue" before we move on to others. > But I think my last e-mail was quite concise. The problem is you wrote 5 of them :-) Should I just focus on your last email and ignore the others, then? If so what exactly is the debbugs link for this last "concise" email? Jo=C3=A3o