[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: errors after a patch




No, you cannot require w3m unconditionally because that will
cause an emacspeak build to fail on machines with no w3m
installed.

emacspeak-gnus does require 'gnus because gnus *is* part of
Emacs.

See the use of condition-case in the codebase to learn how to
conditionally require w3m.

>>>>> "Robert" == Robert D Crawford <rdc1x@xxxxxxxxxxx> writes:
    Robert> Hello Tim, Tim Cross <tcross@xxxxxxxxxxx> writes:
    Robert> 
    >> have you got a (require 'w3m) at the top of your source
    >> file?
    Robert> 
    Robert> Good question.  I went and looked at the requires and
    Robert> here is what I found:
    Robert> 
    Robert> ;;{{{ required modules
    Robert> 
    Robert> (require 'emacspeak-preamble) (require 'emacspeak-w3)
    Robert> (require 'easymenu)
    Robert> 
    Robert> (eval-when (load) (require 'w3m-util) (require
    Robert> 'w3m-form))
    Robert> 
    Robert> ;;}}}
    Robert> 
    Robert> Here is what happens when requiring w3m as well:
    Robert> 
    Robert> ;;command line snipped Loading
    Robert> /home/rdc/libexec/emacs/21.4/i686-pc-linux-gnu/fns-21.4.1.el
    Robert> (source)...  Wrote
    Robert> /home/rdc/sourceforge/cvs-emacspeak/emacspeak/lisp/emacspeak-w3m.elc
    Robert> Done
    Robert> 
    Robert> Seems that fixed the problem, right?
    Robert> 
    Robert> Thanks for all the help,
    Robert> 
    Robert> rdc
    Robert> 
    Robert> --
    Robert> <=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=>
    Robert> Robert D. Crawford rdc1x@xxxxxxxxxxx
    Robert> 
    Robert> Give thought to your reputation.  Consider changing
    Robert> name and moving to a new town.
    Robert> <=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=>
    Robert> 
    Robert> -----------------------------------------------------------------------------
    Robert> To unsubscribe from the emacspeak list or change your
    Robert> address on the emacspeak list send mail to
    Robert> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Robert> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search