From: Michael Heerdegen <michael_heerdegen@web.de>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 35663@debbugs.gnu.org
Subject: bug#35663: 27.0.50; Eldoc support for apply
Date: Fri, 10 May 2019 13:41:25 +0200 [thread overview]
Message-ID: <87lfzetu3e.fsf@web.de> (raw)
In-Reply-To: <877eayk3ii.fsf@gmail.com> (Noam Postavsky's message of "Fri, 10 May 2019 06:28:05 -0400")
Noam Postavsky <npostavs@gmail.com> writes:
> Hmm, maybe I mixed this is up with stepping into funcall/apply with
> edebug.
Probably. We should also fix this. I currently use this hack as
workaround:
(advice-add
'edebug-instrument-callee :around
(defun my-edebug-instrument-callee--around-ad (f)
(condition-case nil
(funcall f)
(error
(when (y-or-n-p "edebug-instrument-callee error - select a function by name?")
(edebug-instrument-function
(intern
(completing-read
"Function to instrument: " obarray #'fboundp t
(when (looking-at "\(\\(?:funcall\\|apply\\|funcall-interactively\\) +\\(?:#?'\\)?\\(\\(?:\\sw\\|\\s_\\)+\\)[ \)]")
(match-string 1))))))))))
I guess in unambiguous cases we can even omit prompting.
Michael.
next prev parent reply other threads:[~2019-05-10 11:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-10 0:11 bug#35663: 27.0.50; Eldoc support for apply Michael Heerdegen
2019-05-10 0:58 ` Noam Postavsky
2019-05-10 10:24 ` Michael Heerdegen
2019-05-10 10:28 ` Noam Postavsky
2019-05-10 11:41 ` Michael Heerdegen [this message]
2020-08-26 10:32 ` Lars Ingebrigtsen
2020-08-26 11:11 ` João Távora
2020-08-27 13:07 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfzetu3e.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=35663@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).