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#43609: 28.0.50; eldoc-documentation-function [vs new eldoc-display-functions] Date: Sat, 24 Oct 2020 18:09:16 +0100 Message-ID: <87lffvr1oj.fsf@gmail.com> References: <2e610c3f-6e5f-c7dd-af2e-aeb5e20d8664@gmx.at> <87r1qjjppu.fsf@gmail.com> <3fa6b315-7fc0-06ee-81e9-b68d164aec1b@gmx.at> <87a6x7jf9a.fsf@gmail.com> <874knbi0jc.fsf_-_@gmail.com> <4923EB8C-1C2F-4802-BECB-A2AAD7F1EBCA@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="14623"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43609@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 24 19:12:14 2020 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 1kWN5S-0003iP-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 19:12:14 +0200 Original-Received: from localhost ([::1]:53308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWN5R-0002qy-FT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 13:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWN3K-0000dr-UV for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:10:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWN3K-0006Tt-8S for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWN3K-0004tN-3M for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:10: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, 24 Oct 2020 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43609 X-GNU-PR-Package: emacs Original-Received: via spool by 43609-submit@debbugs.gnu.org id=B43609.160355936618753 (code B ref 43609); Sat, 24 Oct 2020 17:10:02 +0000 Original-Received: (at 43609) by debbugs.gnu.org; 24 Oct 2020 17:09:26 +0000 Original-Received: from localhost ([127.0.0.1]:35058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWN2j-0004sO-SL for submit@debbugs.gnu.org; Sat, 24 Oct 2020 13:09:26 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:46499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWN2i-0004sC-2y for 43609@debbugs.gnu.org; Sat, 24 Oct 2020 13:09:25 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id n6so6451199wrm.13 for <43609@debbugs.gnu.org>; Sat, 24 Oct 2020 10:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=29v6EpD4DfVkm8z41VxXXNyMwxZt21WGjlVqSN2Dh18=; b=WStApDax07ueOhw4DPu9pq5wzYkHsx2ArL+mDmcLS3qBqR8XDZnZJ+HGtltkstjhqz OxaqDu881ID9AzDtRKOO7FB5gCR9iMb1UWhbNU2l6aR5s2prx3YrbA50TFEu7hIAqwOI l3YzjCjImOUvTtG7QkKqltjfsRvmA6zFnGg6JBhcz7XEFJIpcroMDWIxY9VyOv1gOOzD hc+evQ+UbW3WqWg1y3vy3uE0+Xy/JJ/kg6bwxpZx0ak3X9LrmSaPOB+/Dna27e1PN+rI G6ctCFadnQr0uBg6LamxWoXiaFd1//BL6JtN4uJVAzfcwm8r5afBJ0YDMEOyXF5ogcZu CkPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=29v6EpD4DfVkm8z41VxXXNyMwxZt21WGjlVqSN2Dh18=; b=Ohds8pp05+cXuZgX5igiuYWjSG9EncX3ieqSmbzazSs0KeectMPuHuzwHOp3Cz77cG pvwkAzz+bvPQxEbnwbaymfQbGCRc7UXh7mMvIGnpeCGap/17JmRmN8H/ym15gxByL3De gSaSQrXsRkIGo563tl9Qa1JNKx+eN85J4c0VWu1o9DbB72TOpsaDTvDgdU6yJRoz3sGU YSh/smtUsYbuWTNo0s507E6tSwObvsQADB3fibMiaFKh5MXvrFfXkVAD0tMXf7RIs1zp 75tcopryqX/irUZNVZ8WovagFhUrsZolLnSdZwfs+X9rmPn9+K3DvoxTGPRnYcquwq9u kVVA== X-Gm-Message-State: AOAM531fXze6Kacq3TuzujcQEDG+6Lqb5ARU/4N4Tck9SvcW4W/RKMkm bvK2qTWkPt7GlA5cpiTq9iXTLAWCcP0= X-Google-Smtp-Source: ABdhPJyHZOLIxK+GEEQuynmGCuhlQkleduovVUxj6DysRl5FO/ryGDZqoJOOcCXnUxOSHCx9l4EL/w== X-Received: by 2002:adf:fd07:: with SMTP id e7mr8193008wrr.377.1603559357918; Sat, 24 Oct 2020 10:09:17 -0700 (PDT) Original-Received: from krug ([89.180.147.56]) by smtp.gmail.com with ESMTPSA id o4sm11456980wrv.8.2020.10.24.10.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Oct 2020 10:09:17 -0700 (PDT) In-Reply-To: <4923EB8C-1C2F-4802-BECB-A2AAD7F1EBCA@gmail.com> (Yuan Fu's message of "Thu, 22 Oct 2020 22:37:53 -0400") 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" Xref: news.gmane.io gmane.emacs.bugs:191439 Archived-At: Yuan Fu writes: > Hi Joao, Hi Yuan, I've now pushed the branch with eldoc-display-functions to master. It is version 1.11.0 of the ElDoc library and should be in GNU ELPA soon. > > If there are multiple display functions, how does Emacs decide which > one to use? It uses all of them after calculating the documentation that should be displayed. The default value of eldoc-display-functions has two elements: - eldoc-display-in-echo-area which displays the documentation in the echo area, as is usual in Emacs. - eldoc-display-in-doc-buffer which puts the documentation in a dedicated buffer. However it does not display that buffer, unless 'M-x eldoc' is being called interactively (which normally it isn't, but now you can do that). > Do you have ideas now about what :thing should be? I've improved the documentation (after applying your typos patch: thanks!). If should be clear from the docstring. Tell me if it's not. Anyway, you don't _have_ to provide :thing when writing new members for eldoc-documentation-functions and you don't _have_ to interpret it when writing members for eldoc-display-functions. Jo=C3=A3o