bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35663: 27.0.50; Eldoc support for apply


From: Lars Ingebrigtsen
Subject: bug#35663: 27.0.50; Eldoc support for apply
Date: Wed, 26 Aug 2020 12:32:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> 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ão to the Cc.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]