GNU bug report logs - #1428
backtrace from edebug does not have links

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Tue, 25 Nov 2008 16:50:02 UTC

Severity: wishlist

Tags: fixed

Merged with 7393

Fixed in version 27.1

Done: Gemini Lasswell <gazally <at> runbox.com>

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 1428 in the body.
You can then email your comments to 1428 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1428; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: backtrace from edebug does not have links
Date: Tue, 25 Nov 2008 07:59:32 -0800 (PST)
In edebug when using d to show the backtrace, the *Backtrace* buffer
does not have links to the functions that you get in the *Backtrace*
buffer when using debug-on-error.  
It would be nice if the links would work for the edebug case too.





Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sun, 30 Nov 2008 02:30:03 GMT) Full text and rfc822 format available.

Forcibly Merged 1428 7393. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 14 Nov 2010 01:12:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1428; Package emacs. (Mon, 13 Feb 2012 23:46:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 1428 <at> emacsbugs.donarmstrong.com
Subject: Re: bug#1428: backtrace from edebug does not have links
Date: Tue, 14 Feb 2012 00:44:55 +0100
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> In edebug when using d to show the backtrace, the *Backtrace* buffer
> does not have links to the functions that you get in the *Backtrace*
> buffer when using debug-on-error.  
> It would be nice if the links would work for the edebug case too.

Maybe nobody implements that because `edebug-backtrace' is planned to be
rewritten so that it gets better than "Better than nothing..." (see
docstring)?

However, until that happens, maybe this problem should be solved.


Can't we just append some code like this:

  (goto-char (point-min))
  (while (progn
  	 (goto-char (+ (point) 2))
           (skip-syntax-forward "^w_")
           (not (eobp)))
    (let* ((beg (point))
           (end (progn (skip-syntax-forward "w_") (point)))
           (sym (intern-soft (buffer-substring-no-properties
                              beg end)))
           (file (and sym (symbol-file sym 'defun))))
      (when file
        (goto-char beg)
        ;; help-xref-button needs to operate on something matched
        ;; by a regexp, so set that up for it.
        (re-search-forward "\\(\\sw\\|\\s_\\)+")
        (help-xref-button 0 'help-function-def sym file)))
    (forward-line 1))

to `edebug-backtrace' (the code is from `debugger-make-xrefs')?


Thanks,

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1428; Package emacs. (Wed, 21 Mar 2012 18:46:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: michael_heerdegen <at> web.de
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 1428 <at> emacsbugs.donarmstrong.com
Subject: Re: bug#1428: backtrace from edebug does not have links
Date: Wed, 21 Mar 2012 14:14:28 -0400
>> In edebug when using d to show the backtrace, the *Backtrace* buffer
>> does not have links to the functions that you get in the *Backtrace*
>> buffer when using debug-on-error.  
>> It would be nice if the links would work for the edebug case too.

> Maybe nobody implements that because `edebug-backtrace' is planned to be
> rewritten so that it gets better than "Better than nothing..." (see
> docstring)?
> However, until that happens, maybe this problem should be solved.

(defalias 'edebug-debug 'debug) might be a good replacement in the mean time.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1428; Package emacs. (Fri, 03 Aug 2018 18:37:02 GMT) Full text and rfc822 format available.

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

From: Gemini Lasswell <gazally <at> runbox.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 1428 <at> emacsbugs.donarmstrong.com,
 1428 <at> debbugs.gnu.org
Subject: Re: bug#1428: backtrace from edebug does not have links
Date: Fri, 03 Aug 2018 11:36:17 -0700
tags 1428 fixed
close 1428 27.1
thanks

Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Dan Nicolaescu <dann <at> ics.uci.edu> writes:
>
>> In edebug when using d to show the backtrace, the *Backtrace* buffer
>> does not have links to the functions that you get in the *Backtrace*
>> buffer when using debug-on-error.  
>> It would be nice if the links would work for the edebug case too.
>
> Maybe nobody implements that because `edebug-backtrace' is planned to be
> rewritten so that it gets better than "Better than nothing..." (see
> docstring)?

I've just pushed to Emacs master that long-anticipated rewrite of
edebug-backtrace, which includes making links to functions.

Gemini




Added tag(s) fixed. Request was from Gemini Lasswell <gazally <at> runbox.com> to control <at> debbugs.gnu.org. (Fri, 03 Aug 2018 18:37:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 1428 <at> debbugs.gnu.org and Dan Nicolaescu <dann <at> ics.uci.edu> Request was from Gemini Lasswell <gazally <at> runbox.com> to control <at> debbugs.gnu.org. (Fri, 03 Aug 2018 18:37:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1428; Package emacs. (Sat, 04 Aug 2018 01:57:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Gemini Lasswell <gazally <at> runbox.com>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 1428 <at> emacsbugs.donarmstrong.com,
 1428 <at> debbugs.gnu.org
Subject: Re: bug#1428: backtrace from edebug does not have links
Date: Sat, 04 Aug 2018 03:56:14 +0200
Gemini Lasswell <gazally <at> runbox.com> writes:

> I've just pushed to Emacs master that long-anticipated rewrite of
> edebug-backtrace, which includes making links to functions.

Yet I only read the documentation additions of your merge, but that all
sounds very nice, thank you!


Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Sep 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 352 days ago.

Previous Next


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