GNU bug report logs - #35663
27.0.50; Eldoc support for apply

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 10 May 2019 00:12:02 UTC

Severity: wishlist

Found in version 27.0.50

Full log


Message #8 received at 35663 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 35663 <at> debbugs.gnu.org
Subject: Re: bug#35663: 27.0.50; Eldoc support for apply
Date: Thu, 09 May 2019 20:58:30 -0400
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Hello,
>
> 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'.

Yes, I've kind of wanted something like this for a while.  

> +          ((and (memq (car current-fnsym) '(apply apply-partially))

funcall too please? :)

> We could also make the displayed text more special to show that this is
> actually an 'apply' call and handle the last argument specially but I
> think it would be overkill to add so much code for this side case.

Yeah, and I doubt any sort of eldoc display would be of much use for the
last apply arg anyway.




This bug report was last modified 4 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.