--- Begin Message ---
Subject: |
a weakness in help.el? |
Date: |
Mon, 20 Nov 2000 14:14:53 -0800 (PST) |
Under Emacs 20.7 `help-follow' fails.
How to reproduce:
1. Make a test file say "test.el" which content is:
;; test.el begins here
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'advice)
(require 'tabify)
(defadvice untabify (around advised-untabify last activate compile)
ad-do-it
(message "executed original `untabify'"))
(defmacro test-advice (func)
(`
(defadvice (, func) (around advised-tabify last activate compile)
ad-do-it
(message "executed original `tabify'"))))
(test-advice tabify)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; test.el ends here
2. Start a fresh Emacs by "emacs -q -no-site-file".
3. M-x describe-function "tabify"
4. help-follow (hit RET) on the file name on the first line.
5. Get an error "Cannot find definition of `tabify' in library ..."
While
6. M-x describe-function "untabify"
7. help-follow (hit RET) on the file name on the first line.
8. test.el opens in a buffer and point goes to where `untabify' is
advised.
Is this an expected limitation in help.el? How difficult is it to
find an advice made by a macro?
-Tak
--- End Message ---
--- Begin Message ---
Subject: |
Re: a weakness in help.el? |
Date: |
22 Nov 2000 22:27:36 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.92 |
Things are somewhat different in the current development code, but
there are known problem with the load history and advice. We didn't
think they were important enough to work on, but we'd be happy to see
someone else contribute a clean solution.
--- End Message ---