Jens-Ulrik Petersen <petersen(a)kurims.kyoto-u.ac.jp> writes:
Thanks, I didn't know about `symbol-file'. It will be in the
next
version. When was that introduced by the way? (Up to now I have been
using `describe-symbol-find-file' which does much the same I think.)
XEmacs 19.14. It didn't work on dumped symbols until relatively
recently.
...
sb> You'll still need to strip extensions.
(My point was that that part of the code is only run in older
XEmacsen.) Since (file-name-sans-extension ".emacs") => "", I am
not
using it yet for the main filename stripping.
As a hack you might degrade to something like:
(when (string-match "\\(.*\\)\\.elc?\\'" foo)
(substring foo (match-beginning 1) (match-end 1)))
Is this right? I think so.
...
Are you using the latest version of "find-func", Steve?
Apparently not. Where and when did you post the newest version?