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#41531: 27.0.91; Better handle asynchronous eldoc backends Date: Tue, 07 Jul 2020 23:49:27 +0100 Message-ID: <875zazgcug.fsf@gmail.com> References: <875zckuet9.fsf@gmail.com> <87sgecssch.fsf@gmail.com> <87tuynsdp6.fsf@gmail.com> <5d768a69-3574-10c5-e80a-8ab77ec60462@yandex.ru> <87h7umop62.fsf@gmail.com> <671983cf-e4f5-f128-541b-ceac793f35e5@yandex.ru> <877dvfiofy.fsf@gmail.com> <064d8696-a62f-bae2-de26-9bea8c325cd0@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="35841"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41531@debbugs.gnu.org, Stefan Monnier , andreyk.mad@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 08 00:50:10 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 1jswPi-0009DX-KN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jul 2020 00:50:10 +0200 Original-Received: from localhost ([::1]:46212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jswPh-0006q9-6q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jul 2020 18:50:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jswPa-0006ph-3l for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2020 18:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jswPZ-00072W-Om for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2020 18:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jswPZ-0002sx-NU for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2020 18:50:01 -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: Tue, 07 Jul 2020 22:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41531 X-GNU-PR-Package: emacs Original-Received: via spool by 41531-submit@debbugs.gnu.org id=B41531.159416217911054 (code B ref 41531); Tue, 07 Jul 2020 22:50:01 +0000 Original-Received: (at 41531) by debbugs.gnu.org; 7 Jul 2020 22:49:39 +0000 Original-Received: from localhost ([127.0.0.1]:36953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jswPC-0002sE-St for submit@debbugs.gnu.org; Tue, 07 Jul 2020 18:49:39 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:37236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jswPB-0002s1-1m for 41531@debbugs.gnu.org; Tue, 07 Jul 2020 18:49:37 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id a6so46988540wrm.4 for <41531@debbugs.gnu.org>; Tue, 07 Jul 2020 15:49:36 -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=MHGJG17utx7ENa/DrQszChvQOsKf0cvqnQcl8WxZYEo=; b=EVRMO2oqgQdpJXRM725KPOOlar5np01tzv5+2651ZcWaDO20UUX6w4XXWwBGCGvsUW 8w7p5ExrNCfL0jKvRu8dDuNvrf8rKwSrjmt3cTCsdBrZDcU++IUxhXqb7CYJgNxHe00Y Tk/sZ7S2++8IMDYp3wF5rM2/GF9hxIVvT+7ApNReodgDFdY2PJ//5qJGmMggKUAurJWz +gyo6thoz/RHiR1Y1B9JwZtglpDChiSnvjFD76jzSKt0YbrrBwpzDWIBBmjTUPXOkJLE t7L55IM/hqBsVWb0qAo9KKUrbkq5QXd8Zn2xM84/oaFj0k3Ka3v0Z/Z3Pf37JP8fNvOx C5pg== 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=MHGJG17utx7ENa/DrQszChvQOsKf0cvqnQcl8WxZYEo=; b=ZbO/gCWb7FfLli5p0O/ehwnzuqhxKvD4xyFKY1jaQNXjDSJ6YsIj7SZ0u5BK0qIAPk H7jbzF12IyDemWDGAEQ7TuKnWe2E772J+qG+prrBWHIUbe+6JNechLZcntR9GRppNRfF V4YzCgMVzywliqdZ4iC2m+PZxo3WqwE0sPBkzC8KfOCH0ozYmfhQO8lcaCaOscjlhczn Dl4AbYcEvFI9TIvJsJ+uCjoTBKwqcuyz3yMi/dEPpiV9NDmgKtGo+PS5OoVo/ZpwHh88 jZQrdbWr5Ba5RrqcJtMU/9scHQ+4hQbAayr0u3bkC68vNVVtsdlAsa78ykjRqGeNT8Wn HPEw== X-Gm-Message-State: AOAM5324AUtOqJET1O/+BGaA0jnqodk1wDHDn8zRzce2JWCP1OUfYZ+z pHZVnYwty9zuJJON5fnffA0= X-Google-Smtp-Source: ABdhPJw/jAUSTrdP2aizTbi+Qt2jWXi2TIqKb8MS9oItlq341tlD0K/GsGr26CFWuw+hsIMVaRaVFA== X-Received: by 2002:adf:b198:: with SMTP id q24mr25442221wra.335.1594162171003; Tue, 07 Jul 2020 15:49:31 -0700 (PDT) Original-Received: from krug ([89.180.149.197]) by smtp.gmail.com with ESMTPSA id u186sm2937340wmu.10.2020.07.07.15.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 15:49:29 -0700 (PDT) In-Reply-To: <064d8696-a62f-bae2-de26-9bea8c325cd0@yandex.ru> (Dmitry Gutov's message of "Wed, 8 Jul 2020 01:24:27 +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:182815 Archived-At: Dmitry Gutov writes: >> But if we really, really wanted to, it's easy to get rid of the >> arguments, too, with a variation to the callback technique. I just >> don't think it's worth it: a technique is a technique. > > The variation that I showed in my little patch a month ago? No, to be clear that was not a variation to the callback technique. One way is simply to passing the callback as a special variable (and there are more ways.) The rest of your long email hints that you've misunderstood what this change to Eldoc is accomplishing. I'm afraid I've done all I can to explain it, including docstrings, NEWS entries, commit messages and going through your previous very long code review. I understand you expected a futures library would come with this change, but it does not, not for now. I've explained that is only a technique, but in this last email you conflate every issue with it again. My position is: if there really is value in them, futures will soon be in Emacs. Let's follow Stefan advice, it's good advice. I might even work a bit on futures myself. Best, Jo=C3=A3o