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

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

bug#27397: [PATCH] New commands for bulk tracing of elisp functions


From: Michael Albinus
Subject: bug#27397: [PATCH] New commands for bulk tracing of elisp functions
Date: Mon, 19 Jun 2017 15:07:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

Hi Dmitry,

> I'm not sure I understand. This find the library to which a function
> belongs. How do we find the file corresponding to a package name this
> way?

Forget it. Phil has a simpler approach, based on `load-history'.

> This question aside, I'm not sure we'll always want to ignore
> "tramp-sh" when tracing "tramp". IOW, that this will be every user's
> preference.

Sure. There's still (trace-regexp "^tramp-"), no problem.

> For instance, someone might try to trace-package "cedet", and expect
> every function belonging to CEDET to be traced, subpackages and all.

How do you define you a "subpackage"? In Tramp, I don't know what makes
tramp-sh.el a subpackage of tramp.el, except my knowledge as maintainer.

> And likewise for multi-file ELPA packages. In that case, it's
> understood that a "package" can be spread over several files.

Again, `tramp-regexp' is your friend.

Best regards, Michael.





reply via email to

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