GNU bug report logs - #15609
24.3.50; `debug-on-entry' default when cursor is on a function name

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 14 Oct 2013 16:38:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15609 in the body.
You can then email your comments to 15609 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15609; Package emacs. (Mon, 14 Oct 2013 16:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 14 Oct 2013 16:38:04 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; `debug-on-entry' default when cursor is on a function name
Date: Mon, 14 Oct 2013 09:36:23 -0700 (PDT)
emacs -Q

Put the cursor on any function name in the defun for that function.
E.g., put the cursor on foo here:

(defun foo (arg) "..." 42)

M-x debug-on-entry RET M-n

This is pretty much brain-dead behavior.  The default should be `foo',
not `defun'.  At the very least, `foo' should be one of the "suggestions"
available via `M-n'.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-10-09 on LEG570
Bzr revision: 114596 jan.h.d <at> swipnet.se-20131009185014-vynfyw4o8p5fge54
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'




Reply sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
You have taken responsibility. (Tue, 15 Oct 2013 12:35:05 GMT) Full text and rfc822 format available.

Notification sent to Drew Adams <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Tue, 15 Oct 2013 12:35:05 GMT) Full text and rfc822 format available.

Message #10 received at 15609-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15609-done <at> debbugs.gnu.org
Subject: Re: 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
> (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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15609; Package emacs. (Tue, 15 Oct 2013 14:23:02 GMT) Full text and rfc822 format available.

Message #13 received at 15609-done <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15609-done <at> debbugs.gnu.org
Subject: RE: bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a
 function name
Date: Tue, 15 Oct 2013 07:22:37 -0700 (PDT)
> 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.

Oops.  Sorry about that.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Nov 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 221 days ago.

Previous Next


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