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#43103: 28.0.50; Default ElDoc composition strategy in Elisp mode (eldoc-documentation-strategy) Date: Mon, 31 Aug 2020 23:50:12 +0100 Message-ID: <87sgc2ig63.fsf@gmail.com> References: <87h7sla2gc.fsf@gmail.com> <83wo1hxx4c.fsf@gnu.org> <87r1rpigff.fsf@gmail.com> <83tuwlxqow.fsf@gnu.org> <87k0xhi51w.fsf@gmail.com> <83blisxl9o.fsf@gnu.org> <878sdwi2ra.fsf@gmail.com> <87sgc3gqh0.fsf@gmail.com> <60560e93-40e8-b7bf-1339-fbd48c792588@yandex.ru> <873642k1fg.fsf@gmail.com> <59d878fc-98e0-26c3-e568-239638f54962@yandex.ru> <87wo1eikpi.fsf@gmail.com> <84b1d158-8f97-3b79-91cf-22ab2cb58e9c@yandex.ru> 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="17267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43103@debbugs.gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 01 00:51:09 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 1kCsdp-0004Oi-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Sep 2020 00:51:09 +0200 Original-Received: from localhost ([::1]:51246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCsdo-0000Or-Cf for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Aug 2020 18:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCsdi-0000Ob-E8 for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 18:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCsdi-0003bH-5b for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 18:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kCsdi-0008J9-4j for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 18:51: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: Mon, 31 Aug 2020 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43103 X-GNU-PR-Package: emacs Original-Received: via spool by 43103-submit@debbugs.gnu.org id=B43103.159891422531855 (code B ref 43103); Mon, 31 Aug 2020 22:51:02 +0000 Original-Received: (at 43103) by debbugs.gnu.org; 31 Aug 2020 22:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:54043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCsd7-0008Hi-Cg for submit@debbugs.gnu.org; Mon, 31 Aug 2020 18:50:25 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:51664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCsd4-0008HO-5H for 43103@debbugs.gnu.org; Mon, 31 Aug 2020 18:50:24 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id w2so972103wmi.1 for <43103@debbugs.gnu.org>; Mon, 31 Aug 2020 15:50:22 -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=t0q8D0IrrBG0v+G7RzKjfHMqGeeEII78LQJTLp8RXxk=; b=hFAPB4z/EHhQOyJnNogI3l22M94DYZAHkmyM2kgy72aUKnS2tfA6DzkIPS15FBSdJz vP7LxTqQbIKWbNHrAw8T1x4PaHb/pTC3GfWjKBkHI7CQzUnXwDgwOyK25NO3/BKerE5j y3plTRK7Ko8gGscLiUoC1Be4eFEMu+YXIFQqjfF2Z7OId58ydHR8uCGtk7ppRxj6kWZQ POx6ETflDitCEEv/EIyzzSrsWuMzuFy2glpjSf6wI0SoNG0ogAsYBDIHSpm8k0jvsTej Yo7hyj0OiI3YkmSWf4n8hFFms7OB3APpO8XODUNDmR/PD94GB9rNjKNvOJa+cB1rpW8y 56Sw== 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=t0q8D0IrrBG0v+G7RzKjfHMqGeeEII78LQJTLp8RXxk=; b=PKORyIok0m6WIoTSMk1NzytYgbcJJ1e4+LnV+JOjj9Ur7lBvO4xLfi4n4cY3tq+bTp 77s0LELDZfNhZa9KMbu7kvKbvBA3u0qWXtxfzSTEI34I2i4dOtNH4HRiez12SphMjW1L RuibowK5RDKahpVi3j/dwCbhqrF0ehCEt3Jp9r9nsMJBtwfOFag82OxsUf7hU49X3/c2 DS0RKbpAc5KMV4r4zSYUavuffveJ+mDkr4bg1dX1SCBLgEY5M/HEX1YUy/rSwPmQdjrS jvLAN1w3iJJ+M63RgB2T4JIf1xwrVGopBBsdsULx8HZ5yzkfIb66uUwqY9mt0KQjOc4S p4kw== X-Gm-Message-State: AOAM531zrw7LbhVs3BvmRze3GUCX9t9nSLqm/0h+l8e+v0AhufOgctSe S9e6RMKEfFZUfAtYdK+4C1k= X-Google-Smtp-Source: ABdhPJxKn1bN8ixBUj5zF943Anv6odxC0uruaR5N584m5NC7TIV5bo2qpQ1+6hZlzoOiWSnd+g6uCw== X-Received: by 2002:a7b:c0c8:: with SMTP id s8mr1399005wmh.4.1598914216181; Mon, 31 Aug 2020 15:50:16 -0700 (PDT) Original-Received: from krug (214.221.137.78.rev.vodafone.pt. [78.137.221.214]) by smtp.gmail.com with ESMTPSA id o4sm11256783wrv.86.2020.08.31.15.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 15:50:14 -0700 (PDT) In-Reply-To: <84b1d158-8f97-3b79-91cf-22ab2cb58e9c@yandex.ru> (Dmitry Gutov's message of "Tue, 1 Sep 2020 00:20:59 +0300") 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:186809 Archived-At: Dmitry Gutov writes: > On 01.09.2020 00:12, Jo=C3=A3o T=C3=A1vora wrote: >> Dmitry Gutov writes: >>=20 >>> On 31.08.2020 23:25, Jo=C3=A3o T=C3=A1vora wrote: >>> >>>>>>> These is definite wisdom in that. >>>>>> I see only signs of rudimentary intial design which predates >>>>>> eldoc-...-multiline-p, composition, Flymake... >>>>> That doesn't mean the initial design didn't get something right. >>>>> If it didn't, this aspect would have likely changed by now. >>>> It couldn't change because there weren't the tools for it to change. >>>> There are now. >>> I don't think so. It still uses the echo area. >> The echo area is not one of the new tools. > You're making my point here. If you say so, I really have no clue what your point is. The echo area has been there from ElDoc's first design, it is not one of the new tools that ElDoc offers now. For your benefit, and to wrap up this exchange, here's a summary of what I propose: In Elisp mode, I've experimented with the `eldoc-documentation-compose` strategy and I like the results: it's useful to have Elisp function signatures, Elisp variable documentation and Elisp diagnostics displayed somewhere, constantly updated. I think other people would like these things, hence my proposal. I don't mind the echo area jumping in height one or two lines once in a while, but if others do, there are tools to control it, which we can leverage to good effect. That's it. >>> One particular way it's unfortunate, is I actually *would* like a >>> generic "show documentation" feature with an existing key >>> binding. Shame it doesn't really work for that purpose. >> Try M-x eldoc and global-set-key and tell us what's missing. > > Already told you. I'm not sure how many different ways I can explain > things, if you keep snipping those explanations out. You said you wished for a command to "show documentation" and I pointed you to M-x eldoc, a new command which seems to do what you want, and that you might not be aware of since it wasn't discussed. If you don't wish to pursue this suggestion, fine. I am in no obligation to waste my time replying to every new off-topic point you bring up, I do so only where I think I can add value. Bickering with you is not one of those things. Jo=C3=A3o