I think I finally got this right (I hope) someone please confirm
--
(I check (functionp (indirect-function sym))
before I do anything like calling interactive-form --
incidentally calling interactive-form was also automatically
loading files.
While debugging this, I also noticed that there is a problem with
cal-bahai.el (not a module I need to load anymore given that I
dont load anything unecessarily)--
but the problem if users of cal-bahai care is that functions like
insert-yearly-diary-entry for that module have some bizarre
naming problem.
>>>>> "tvr" == T V Raman <[EMAIL PROTECTED]> writes:
tvr> But here is the problem though: How do I find out after
tvr> having called (functionp sym) and getting back T if the
tvr> function is already loaded? I was using symbol-function
tvr> as a guard to make sure I only called (interactive-form
tvr> on true functions
tvr>
>>>>>> "Kevin" == Kevin Rodgers <[EMAIL PROTECTED]>
>>>>>> writes:
Kevin> Stefan Monnier wrote:
>>>> 1) In using reflection, it ends up loading tpu-extras.el
>>>> (even though I have no intention of using tpu)
>>>
>>> This is a problem in Emacspeak: it should not itself load
>>> packages.
Kevin>
Kevin> Indeed. Raman, compare the results of
Kevin>
Kevin> (functionp 'tpu-edt) (functionp (symbol-function
Kevin> 'tpu-edt)) (functionp (indirect-function 'tpu-edt))
Kevin>
Kevin> -- Kevin Rodgers Denver, Colorado, USA
Kevin>
Kevin>
Kevin>
Kevin> _______________________________________________
Kevin> emacs-pretest-bug mailing list
Kevin> [email protected]
Kevin> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
tvr>
tvr> -- Best Regards, --raman
tvr>
tvr>
tvr> Email: [EMAIL PROTECTED] WWW:
tvr> http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk:
tvr> [EMAIL PROTECTED] PGP:
tvr> http://emacspeak.sf.net/raman/raman-almaden.asc Google:
tvr> tv+raman IRC: irc://irc.freenode.net/#emacs
tvr>
tvr>
tvr> _______________________________________________
tvr> emacs-pretest-bug mailing list [email protected]
tvr> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
--
Best Regards,
--raman
Email: [EMAIL PROTECTED]
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: [EMAIL PROTECTED]
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug