Richard Stallman <[EMAIL PROTECTED]> writes:

>     > does it have any real impact?
>
>     It can be confusing for new users of the debugger: Hey, what's
>     that doing in my function?  Did I put that there?
>
> The user probably rembemers having set "debug on entry" for the
> function, and has just been reminded by entering the debugger, so
> that ought to help him understand.

True.

>     > If the aesthetic aspect is just more serious now that we
>     > replace (debug 'debug) with (if (or inhibit-debug-on-entry
>     > debugger-jumping-flag) nil (debug 'debug)), we can define a
>     > function named e.g. `debug-entering' that will do the checking
>     > of inhibit-debug-on-entry and debugger-jumping-flag.
>
>     That would be somewhat better.
>
> Using the name implement-debug-on-entry will help the user figure
> out why it is there.

Ok, I'll implement this.

Lute.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to