|
From: | Lennart Borgman (gmail) |
Subject: | Re: Property list key names |
Date: | Sat, 09 Aug 2008 19:18:44 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Johan Bockgård wrote:
"Lennart Borgman (gmail)" <address@hidden> writes:If there for example is something like this (defstruct ert-stats (selector (assert nil))) then a defstruct selector function `ert-stats-selector' is defined. It would be nice to go to that function directly from the link in describe-function', but currently the position in the file is not found.Indeed, defstruct should put a `definition-name' property on the names it constructs. Like (put 'ert-stats-selector 'definition-name 'ert-stats)
Yes, something like that. Is 'definition-name special in some way or could/should it be something else?
Beside that `ert-stats' does not get any information about where it is defined. Is there any reason not to add that information, either to load-history (preffered) or to the symbol itself?
[Prev in Thread] | Current Thread | [Next in Thread] |