unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: 23469@debbugs.gnu.org
Subject: bug#23469: Feature request: automatically instrument forms when setting Edebug breakpoint
Date: Sun, 20 Oct 2019 12:26:14 +0200	[thread overview]
Message-ID: <87o8ybhfw9.fsf@gnus.org> (raw)
In-Reply-To: <CAG7BparmpohWM5rPG1Y=V4XzKJmxBwh0jTBQD8KE5kZ-zk4Juw@mail.gmail.com> (Paul Pogonyshev's message of "Fri, 6 May 2016 19:16:39 +0200")

Paul Pogonyshev <pogonyshev@gmail.com> writes:

> If you issue M-x edebug-set-breakpoint inside a random function
> definition, you will get "Not inside instrumented form" error. So, you
> need to C-u C-M-x it first manually. In addition to being annoying, it
> can also lead to accidental breakpoint loss, since you can't easily
> tell if a form is already instrumented and has breakpoints.
>
> Request: instead of signalling an error, Emacs should just
> automatically instrument function if I set a breakpoint in it.

Good idea.  I've now done this in Emacs 27.

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





  reply	other threads:[~2019-10-20 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06 17:16 bug#23469: Feature request: automatically instrument forms when setting Edebug breakpoint Paul Pogonyshev
2019-10-20 10:26 ` Lars Ingebrigtsen [this message]
2019-11-01 16:29 ` bug#23469: no change Paul Pogonyshev
2019-11-01 16:43   ` 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=87o8ybhfw9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=23469@debbugs.gnu.org \
    --cc=pogonyshev@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).