GNU bug report logs - #25393
FEATURE REQUEST: *Backtrace* -- C source code def highlight + jump to def.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Sun, 8 Jan 2017 08:31:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Gemini Lasswell <gazally <at> runbox.com>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 25393 <at> debbugs.gnu.org,
 Clément Pit-Claudel <cpitclaudel <at> gmail.com>
Subject: Re: bug#25393: FEATURE REQUEST: *Backtrace* -- C source code def
 highlight + jump to def.
Date: Wed, 08 Aug 2018 17:11:21 -0700
[Message part 1 (text/plain, inline)]
Hi Keith,

The new backtrace mode, in the master branch as of da0054c307, makes
links for built-in functions.

The attached patch improves on current master by making links to C
functions work even when those functions are advised. See
http://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00025.html for
Clément's report of that problem.

[0001-Fix-links-in-backtraces-to-work-on-advised-built-ins.patch (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
Keith David Bershatsky <esq <at> lawlist.com> writes:

> A check should probably be included to see whether the
> `find-function-C-source-directory' contains C source code files before
> creating highlighting/buttons for jumping:

I chose not to do this. I think it's better to make the buttons
and give an error message when they are pressed if
'find-function-C-source-directory' is misconfigured, because then the
error message lets the user know that there is a configuration problem
so that she or he can try to fix it.

Let me know if you are able to give this a try and how it works for you.

Thanks,
Gemini

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

Previous Next


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