bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25393: FEATURE REQUEST: *Backtrace* -- C source code def highlight +


From: Gemini Lasswell
Subject: bug#25393: FEATURE REQUEST: *Backtrace* -- C source code def highlight + jump to def.
Date: Wed, 08 Aug 2018 17:11:21 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

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.

Attachment: 0001-Fix-links-in-backtraces-to-work-on-advised-built-ins.patch
Description: Text document

Keith David Bershatsky <esq@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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]