From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#35663: 27.0.50; Eldoc support for apply Date: Wed, 26 Aug 2020 12:32:36 +0200 Message-ID: <87y2m11yuz.fsf@gnus.org> References: <871s17uq15.fsf@web.de> 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="837"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 35663@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 12:33:08 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 1kAsjs-000Adl-CB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 12:33:08 +0200 Original-Received: from localhost ([::1]:40134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAsjr-0007I6-88 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 06:33:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAsjl-0007Hy-Un for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 06:33:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAsjl-0007aw-Le for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 06:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAsjl-0002TH-I0 for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 06:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 10:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35663 X-GNU-PR-Package: emacs Original-Received: via spool by 35663-submit@debbugs.gnu.org id=B35663.15984379699467 (code B ref 35663); Wed, 26 Aug 2020 10:33:01 +0000 Original-Received: (at 35663) by debbugs.gnu.org; 26 Aug 2020 10:32:49 +0000 Original-Received: from localhost ([127.0.0.1]:37484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAsjY-0002Sc-Tk for submit@debbugs.gnu.org; Wed, 26 Aug 2020 06:32:49 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAsjX-0002NI-0Q for 35663@debbugs.gnu.org; Wed, 26 Aug 2020 06:32:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=RGI40EJ/j0dF+XFl3td2jjJiyHGBKMb6V9EBk4RPrXY=; b=Fulu6354SBaWrrCO48vSmAdL4R fsys4TIl3DIrlf2QtOsKbD4W/+ovwIHHbF3AsFgKZt7GaCstz27Q+fXWycQ5yybRqMMs6Dp7JGaib b1g9nKY2YWaXVnDrDb4p5stm7DM6MhW7oEBr5gR0q7G3UxpKvYV0TFCbXAOIKbRPolog=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAsjO-0004Ic-6s; Wed, 26 Aug 2020 12:32:40 +0200 X-Now-Playing: Various's _Kaleidoscope (2)_: "Nat Birchall - Ancient World" In-Reply-To: <871s17uq15.fsf@web.de> (Michael Heerdegen's message of "Fri, 10 May 2019 02:11:34 +0200") 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:186415 Archived-At: Michael Heerdegen writes: > when editing something like > > (apply #'call-process > (car command) > nil > (if stderr-file (list t stderr-file) t) > nil > (append (cdr command) (list archive name))) > > eldoc support would be useful to see the argument names of > 'call-process' instead of the signature of 'apply'. Yeah, that would be really nice... Some people might want to know what the signature to apply is, though, but probably a lot fewer. > @@ -1356,6 +1356,16 @@ elisp-eldoc-documentation-function > ((eq current-symbol (car current-fnsym)) > (or (apply #'elisp-get-fnsym-args-string current-fnsym) > (elisp-get-var-docstring current-symbol))) > + ((and (memq (car current-fnsym) '(apply apply-partially)) > + (< 1 (cadr current-fnsym)) > + (let ((args (save-excursion [...] The patch no longer applies, because eldoc has been rewritten substantially over the last year. Is there any interest in resurrecting this patch and getting it applied? I've added Jo=C3=A3o to the Cc. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no