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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15609: closed (24.3.50; `debug-on-entry' default when cursor
 is on a function name)
Date: Tue, 15 Oct 2013 12:35:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 14 Oct 2013 15:55:06 -0400
with message-id <jwvk3hfockb.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a function name
has caused the debbugs.gnu.org bug report #15609,
regarding 24.3.50; `debug-on-entry' default when cursor is on a function name
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15609
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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'


[Message part 3 (message/rfc822, inline)]
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



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.