From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#62029: 29.0.60; Allow users to customize eldoc buffer separator Date: Wed, 29 Mar 2023 22:22:23 -0700 Message-ID: References: <0C40D168-54D5-47E9-8BD8-77CFCD70B895@gmail.com> <87355vdufe.fsf@gmail.com> <87h6uacadx.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) 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="864"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62029@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 07:23:22 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 1phkks-000AeT-LA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 07:23:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phkkZ-0005rg-9t; Thu, 30 Mar 2023 01:23:03 -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 1phkkY-0005rS-JC for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 01:23: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 1phkkY-0006l9-BJ for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 01:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phkkY-00038c-0h for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 01:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Mar 2023 05:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62029 X-GNU-PR-Package: emacs Original-Received: via spool by 62029-submit@debbugs.gnu.org id=B62029.168015376512036 (code B ref 62029); Thu, 30 Mar 2023 05:23:01 +0000 Original-Received: (at 62029) by debbugs.gnu.org; 30 Mar 2023 05:22:45 +0000 Original-Received: from localhost ([127.0.0.1]:55405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phkkG-000383-Jb for submit@debbugs.gnu.org; Thu, 30 Mar 2023 01:22:44 -0400 Original-Received: from mail-pg1-f177.google.com ([209.85.215.177]:35695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phkkE-00037q-6j for 62029@debbugs.gnu.org; Thu, 30 Mar 2023 01:22:42 -0400 Original-Received: by mail-pg1-f177.google.com with SMTP id d22so10643974pgw.2 for <62029@debbugs.gnu.org>; Wed, 29 Mar 2023 22:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680153756; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5HeMCgdCHcZe5qKRFV20BEx0RJcIxotwr6ICZpSC0fc=; b=LeWVNGeishR4WQv/Os2O98GZ1NTRTQnzM/Fgka6rXLtyFToQCStnUzEvQn9RtI+sKr SoWB/mV431TC6QYqiavuh1cFZ1rgUcmP6pouNRtpolsus/Qv3Q8saLFIV3CzPwdDEa87 BUDB4qT3HGJ99A1eZmxz5P07UOQC6QPbOuxeCI/WbtnorUO1bG9+Zutukhh1a+165dup 4AMmAPLb1LdEDBdpN9lLOfHPBmLS8N18WfAC0gpUQ+iZ+iHAF1iqqpsNpH/e4/89AmGi BSRei6OjfMycJfygfbT3heJ3yM7R7/Yo2LW6I1x9r0SLnewcIbVaYLOPAEN2REKhmKYa zADg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680153756; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5HeMCgdCHcZe5qKRFV20BEx0RJcIxotwr6ICZpSC0fc=; b=SgrxddgJahIY+loPCucoJzWNi+zaevFcqKwI6S1IyZeZ/6GqKGyIUcBIWejmml6q1Y OomS8eegIvg8ksN+baBOVrgY6MZyhaW72dzPtdNIXmwd1Tv1X72YbrFrDlheViUF4xGl 5SbjA6mQmyOXJ5EUiRKrByO08rozMmJ3NBjvCH3ypWbUBzges7ydysy/LAjP1cHNzSm3 /rcXT5I2yv5tSUCxmgjj0NddzN1MKzjwsiT49O6iJoi4UA2q7G/96MrQmCz9W8XiBk26 P407ZtNHaVmDC6a7Fs8alkK2g9vtxdVTBiXwSXHdTTj6Be+T36eyZGT7RPkRArrshb9W kqhA== X-Gm-Message-State: AAQBX9eJP814eBFXb1iP/KaxeiHkeb0OYD4E8vOqpuC8vQw0VK5+Lon1 KQco/q+owOvl4vmyIUBqJi+2V9Oi/yY= X-Google-Smtp-Source: AKy350YPmstiP/T3YlwZp+k4d47r0Y4UhDCJPUUwMq0lGG1CknBoqEmxzzJ/NZB9cpC6Tozs5j8Hwg== X-Received: by 2002:a62:7905:0:b0:61d:f243:e817 with SMTP id u5-20020a627905000000b0061df243e817mr20319307pfc.16.1680153755882; Wed, 29 Mar 2023 22:22:35 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id l21-20020a656815000000b004eecc3080f8sm22674369pgt.29.2023.03.29.22.22.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Mar 2023 22:22:35 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3731.400.51.1.1) 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:258883 Archived-At: >>=20 >> Looks good to me (except for the =E2=80=9Cdocumentatiok=E2=80=9D ;-) = eldoc-box can also benefit from this (right now if you use it in = emacs-lisp-mode, it just shows a thin strip of text, not very exciting). >>=20 >> I=E2=80=99ll experiment with the title thing in eldoc-box. Does eglot = and flymake already pass a :source cookie? Those two displaying stuff = together is the most possible case I can think of. >=20 >=20 >> it just shows a thin strip of text, not very exciting). >=20 > Indeed. I'll present my patch soon in emacs-devel. > There's one thing I don't like about it which is that > is re-does a lot of complicated parsing for both *Help* > and *eldoc* forms. Could be slow, or could be meaningless. > Another aspect is that function documentation looks great > because there is this nifty describe-function-1 helper, but > variable documentation looks poor because there is > no such thing. Cool! The whole help system would benefit from some renovation, but I = don=E2=80=99t think anyone is excited to do it ;-) >=20 >> Does eglot and flymake already pass a :source cookie? >=20 > You mean ':origin', not ':source'. Though the latter name is > acceptable and there's plently of time to change to it if you > think it's better or more consistent with other parts of Emacs. >=20 > Yes they do. This cookie is automatic. Maybe I should state that > in the documentatiok. Yeah, I think it=E2=80=99ll be good to mentioned them in the = documentatiok. >=20 >> Those two displaying stuff together is the most possible case >> I can think of. >=20 > In Eglot it's very usual to have three sources, and in Emacs > Lisp you can also have three (function, variable and flymake). >=20 > You do need to set eldoc-documentation-strategy to > eldoc-documentation-compose though (this should really > be the default). Huh, I wonder why I can see both flymake + eglot in the eldoc doc buffer = when my eldoc-documentation-strategy is the default value? Yuan=