[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HowTo: Avoid packages like TPU
From: |
T. V. Raman |
Subject: |
Re: HowTo: Avoid packages like TPU |
Date: |
Wed, 8 Aug 2007 02:50:09 -0700 |
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 <address@hidden> 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 <address@hidden>
>>>>>> 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> address@hidden
Kevin> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
tvr>
tvr> -- Best Regards, --raman
tvr>
tvr>
tvr> Email: address@hidden WWW:
tvr> http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk:
tvr> address@hidden 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 address@hidden
tvr> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
--
Best Regards,
--raman
Email: address@hidden
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: address@hidden
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs