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


Thanks for catching this.
The (setq ...) should be replaced by 
(add-hook ...)

>>>>> "Koichi" == Koichi INOUE <inoue@argv.org> writes:

    Koichi> Hi, Dr. Raman and listers, I'm working on
    Koichi> Bilingual Emacspeak Project and found a conflict
    Koichi> of emacspeak code and another elisp package.
    Koichi> The problem may be the part of
    Koichi> emacspeak-advice.el:

    Koichi> (declaim (special minibuffer-setup-hook)) (setq
    Koichi> minibuffer-setup-hook
    Koichi> 'emacspeak-minibuffer-setup-hook)

    Koichi> The second line seems to bind a function
    Koichi> emacspeak-minibuffer-setup-hook to
    Koichi> minibuffer-setup-hook.

    Koichi> The conflicted package has the code like this in
    Koichi> the function body: (setq url (let
    Koichi> ((minibuffer-setup-hook (append
    Koichi> minibuffer-setup-hook '(beginning-of-line))))
    Koichi> (completing-read (or prompt (if default "URL: "
    Koichi> (format "URL (default %s): " w3m-home-page)))
    Koichi> candidates nil nil default
    Koichi> 'w3m-input-url-history)))

    Koichi> In this form, emacspeak-minibuffer-setup-hook
    Koichi> causes an error of append() function: it must be
    Koichi> a sequence.

    Koichi> minibuffer-setup-hook may be a list so I
    Koichi> suggest: (setq minibuffer-setup-hook
    Koichi> '(emacspeak-minibuffer-setup-hook))

    Koichi> Best regards

    Koichi> -- Koichi Inoue, ARGV E-Mail: inoue@argv.org ICQ
    Koichi> UIN: 74900690

    Koichi> -----------------------------------------------------------------------------
    Koichi> To unsubscribe from the emacspeak list or change
    Koichi> your address on the emacspeak list send mail to
    Koichi> "emacspeak-request@cs.vassar.edu" with a subject
    Koichi> of "unsubscribe" or "help"

Best Regards,

Email:  raman@cs.cornell.edu
WWW: http://www.cs.cornell.edu/home/raman/             
PGP:    http://www.cs.cornell.edu/home/raman/raman.asc 

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

Emacspeak Files | Subscribe | Unsubscribe | Search