GNU bug report logs - #27397
[PATCH] New commands for bulk tracing of elisp functions

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Fri, 16 Jun 2017 13:34:02 UTC

Severity: wishlist

Tags: moreinfo, patch

Merged with 1343, 6464

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Phil Sainty <psainty <at> orcon.net.nz>, 27397 <at> debbugs.gnu.org
Subject: Re: bug#27397: [PATCH] New commands for bulk tracing of elisp
 functions
Date: Mon, 19 Jun 2017 15:07:25 +0200
Dmitry Gutov <dgutov <at> 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.




This bug report was last modified 2 years and 278 days ago.

Previous Next


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