all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Drew Adams <drew.adams@oracle.com>
Cc: 15609-done@debbugs.gnu.org
Subject: bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a function name
Date: Mon, 14 Oct 2013 15:55:06 -0400	[thread overview]
Message-ID: <jwvk3hfockb.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <13a419f9-b3ca-444a-99fc-9b144cdd0bde@default> (Drew Adams's message of "Mon, 14 Oct 2013 09:36:23 -0700 (PDT)")

> (defun foo (arg) "..." 42)
> M-x debug-on-entry RET M-n
> This is pretty much brain-dead behavior.  The default should be `foo',

The default *is* `foo' (at least if `foo' is defined as a function).
In your recipe, the default is `defun' which is arguably not very
useful, but note that you can't use `foo' because debug-on-entry can
only be used for functions that are already defined, so `foo' would not
be a better default.


        Stefan






  reply	other threads:[~2013-10-14 19:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 16:36 bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a function name Drew Adams
2013-10-14 19:55 ` Stefan Monnier [this message]
2013-10-15 14:22   ` Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk3hfockb.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15609-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.