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: Documentation by function beyond elisp Date: Fri, 10 Mar 2023 14:43:56 +0000 Message-ID: References: <4Rj4EZNhsddTjHzoYuycFzMpjNTJjjwmdDcAgyuMcSFsBePmPBTtlxUENKjf4W1xOVcdDeZIFfHJxD9uRInDURGMdmiIPJ_BB1BvgQ8ylJI=@protonmail.com> <87lek5ynm6.fsf@localhost> 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="36438"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , goncholden , "emacs-devel@gnu.org" To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 10 15:44:54 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 1padzH-0009CV-SQ for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Mar 2023 15:44:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1padyj-0002Ox-GI; Fri, 10 Mar 2023 09:44:17 -0500 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 1padyd-0002ON-Id for emacs-devel@gnu.org; Fri, 10 Mar 2023 09:44:11 -0500 Original-Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1padyc-0002gw-3T for emacs-devel@gnu.org; Fri, 10 Mar 2023 09:44:11 -0500 Original-Received: by mail-oo1-xc2d.google.com with SMTP id p8-20020a4a3c48000000b0052527a9d5f0so817485oof.1 for ; Fri, 10 Mar 2023 06:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678459447; 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=uTiEF/7/YFcNbBMZX6Pu+ECmEiBP748C4sqL0sz68Bg=; b=JkCq06zm5dIIUEHw1hfZHxePHTj1RJjc2BTmOZrYyhgr/BC/S1D5c/yItZibz3u8BZ 3P5WXyK1jujQ/9vNnUr5Mal2T0f8/dVTwoTxxkBfJcQP90xqfQbnPuz3CBN5wNRJWllt So3Ww5wOra3Tr3CTCj+RuvRn9EmF16zbqH7OKPCArP3l7tpQSbSN7CBjFqS5OrfSsr7e 0f1UItTLp50n/8JvnOw0ZTkaQDMg0YDGMmOJxCT9Ad6IIxnLGfnrIHAeoieTvl4DvnOO WxCbOzqCzv1DJu7nrTuLzD+LEiE9plaXhRfR0gv+YIlGwSlNtazfh0MKHaT+Q2aFCW0Y LxOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678459447; 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=uTiEF/7/YFcNbBMZX6Pu+ECmEiBP748C4sqL0sz68Bg=; b=gUT354Cr2132+O9K8kZloGnyJxz1ZnYtVYDSfxQXl0TzkefNVxw/DpXUDkRwT+2UsF jP7l2wGU9eSjW/m9nTjZYsaMxTpUioBTJbSJt5CAQIp4T8v4l88yFmOMMPkL0UOdGwii ankPDXfa/LHeHLIt3Kg5EQIGa0Fy22v9+jjs4kgT6ltpFUzSn2rauwxB99nmcNukJPGx 4D0h97w0smZe/9NHkQKxUWWbtn4kBivvSy6Z/YNSjHI0EOCM2WrAK6HcwNlT2gr0p1st eJvYbINZToQr9cM5FhK1MjVnuOM/JhxlZm8UPnEeMrG84P6aWaO7QLL87DRq9E+iSaTG GhQg== X-Gm-Message-State: AO0yUKWn809ZjyCf5Q/iyUMyoKr+6g/3tPaepY8fptg2Wey/8Wj36G7s pa9seJbhU6108dYfh1y39I12YLE+MKgsBFeXZBY= X-Google-Smtp-Source: AK7set9bfZRjnJ8bPSqYwWJHe+xzEeZWWV9NEhlVK+iUVWJEwFiPnZTCfKCRf5afvaZ8H05R+7X8ZNGbNV2BWQU5KIY= X-Received: by 2002:a4a:ae84:0:b0:525:499e:ce2f with SMTP id u4-20020a4aae84000000b00525499ece2fmr8766196oon.1.1678459447607; Fri, 10 Mar 2023 06:44:07 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::c2d; envelope-from=joaotavora@gmail.com; helo=mail-oo1-xc2d.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:304246 Archived-At: On Fri, Mar 10, 2023 at 10:24=E2=80=AFAM Yuri Khan = wrote: > > On Fri, 10 Mar 2023 at 16:12, Ihor Radchenko wrote: > > > > Yuri Khan writes: > > > > > For languages other than Elisp, this is handled by the language > > > server. Eglot arranges for language-server-provided function help to > > > be displayed by ElDoc. > > > > What about an equivalent of the *Help* buffer? > > Well, what about it? You move the point to an identifier. Its > signature and a few lines of documentation are shown in the echo area. > You invoke (eldoc-doc-buffer) and see the whole documentation. > > It may be a bit inconvenient that the content of that buffer changes > as you move point to a different identifier. But that can be worked > around with (clone-buffer). That's true. I'm working on some changes (will soon open a separate bug for it), so that each member of 'eldoc-display-functions' uses its own "outlet" (buffer, child frame, echo-area) independently, which is not the case. This should also allow users to obtain a buffer that is "pinned" when they interactively invoke M-x eldoc. That pinned buffer should be "an equivalent of the *Help* buffer" for all (or most) intents and purposes. Jo=C3=A3o