unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true
@ 2014-07-02 17:36 Drew Adams
  2014-07-02 17:41 ` Drew Adams
  2014-07-08 18:25 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2014-07-02 17:36 UTC (permalink / raw)
  To: 17902

Subject line says it all.  And it's a WARNING, no less (should never
have been a warning).

     *Warning:* if you redefine a function after using `debug-on-entry'
     on it, the code to enter the debugger is discarded by the
     redefinition.  In effect, redefining the function cancels the
     break-on-entry feature for that function.

This feature was intentionally removed in Emacs 24.  Invoking the
function  still opens the debugger, even after you redefine the
function, until you use `cancel-debug-on-entry' for it.


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm@gnu.org-20140628015517-eku6hj8mpgcvfnso
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true
  2014-07-02 17:36 bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true Drew Adams
@ 2014-07-02 17:41 ` Drew Adams
  2014-07-02 17:54   ` Drew Adams
  2014-07-08 18:25 ` Stefan Monnier
  1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-07-02 17:41 UTC (permalink / raw)
  To: 17902

I guess this text too needs updating (?), in node `Debugger Commands':

`l'
     Display a list of functions that will invoke the debugger when
     called.  This is a list of functions that are set to break on
     entry by means of `debug-on-entry'.  *Warning:* if you redefine
     such a function and thus cancel the effect of `debug-on-entry', it
     may erroneously show up in this list.

And again, the last sentence (which might need updating) should not be
shown as a WARNING. There is no danger to warn of.  It is simply a note.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true
  2014-07-02 17:41 ` Drew Adams
@ 2014-07-02 17:54   ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2014-07-02 17:54 UTC (permalink / raw)
  To: 17902

Uh, no, this should NOT have been merged with 13061.

This report does not ask to revert the change in behavior or to at least make the behavior user-configurable. This report just points out that the behavior is not what the doc says it is.

This is a doc bug report. #13061 is a product behavior report.  They should not be merged.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true
  2014-07-02 17:36 bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true Drew Adams
  2014-07-02 17:41 ` Drew Adams
@ 2014-07-08 18:25 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2014-07-08 18:25 UTC (permalink / raw)
  To: Drew Adams; +Cc: 17902-done

> Subject line says it all.  And it's a WARNING, no less (should never
> have been a warning).

Thanks, I removed the now incorrect text.


        Stefan





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-08 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 17:36 bug#17902: 24.4.50; (elisp) `Function Debugging' still says redefining a function cancels `debug-on-entry', which is no longer true Drew Adams
2014-07-02 17:41 ` Drew Adams
2014-07-02 17:54   ` Drew Adams
2014-07-08 18:25 ` Stefan Monnier

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).