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

problem using emacspeak-websearch-dispatch with eww



Peter, I would suspect you have xsltproc gone missing -- the
reason why emacspeak shows you a clean list of results with both
W3 and EWW is xslt.
>>>>> "prayner" == prayner  <prayner@xxxxxxxxxxx> writes:
    prayner> I'm cutting over to emacs 24.4.50 to use eww. I'm
    prayner> getting the single line unmatched '. (there's an
    prayner> apostrophe there) wen trying to use
    prayner> emacspeak-websearch-dispatch of google via ctrl-e ?
    prayner> g Here's what I'm trying to do
    prayner> 
    prayner> 1) start emacs with exec /usr/local/bin/emacs -nw -q
    prayner> -l
    prayner> $HOME/packages/svn/emacspeak_24/lisp/emacspeak-setup.el
    prayner> Which I hope starts emacs with none of my startup or
    prayner> customizations
    prayner> 
    prayner> 2) set-variable browse-url-browser-function
    prayner> eww-browse-url
    prayner> 
    prayner> 3) ctrl-e ? g lequere 2014 earth system data which
    prayner> produces a buffer containing only unmatched
    prayner> '. followed by two blank lines. The url it claims to
    prayner> be displaying (from the "k" key) is
    prayner> https://www.google.com/search?source=hp&q=lequere+2014+earth+system+data&num=25
    prayner> Next step is to load that url directly eww
    prayner> https://www.google.com/search?source=hp&q=lequere+2014+earth+system+data&num=25
    prayner> This works fine. Now copy some of the code from
    prayner> emacspeak-websearch.el (let ((emacspeak-w3-tidy-html
    prayner> t)) (emacspeak-webutils-with-xsl-environment
    prayner> (expand-file-name "default.xsl"
    prayner> emacspeak-xslt-directory) nil emacspeak-xslt-options
    prayner> (browse-url
    prayner> "http://www.google.com/search?source=hp&q=lequere+2014+earth+system+data&num=25";)))
    prayner> 
    prayner> Which produces something like: -:107: HTML parser
    prayner> error : End tag : expected '>'
    prayner> a.slice.call(a,c,d)};td=/
    prayner> [\x00&"']/;ud=/\x00/g;vd=/'/g;wd=/"/g;xd=/>/g;yd=/"']/;ud=/\x00/g;vd=/'/g;wd=/"/g;xd=/>/g;yd=/Please
    prayner> click About 12,100 results.net/5/165/2013/ ... C. Le
    prayner> Quéré1, R. J. Andres2, T. Boden, Version 2.4 differs
    prayner> from Version 1.3 in the following ways: 1) a
    prayner> ... (Earth System Science Data,
    prayner> 6:235-263. doi:10.5194/essd-6-235-Earth System
    prayner> Science Data Discussions, 6:689-Earth System Data
    prayner> Discussions www.earth-syst-sci-data-Le Quere,
    prayner> Corinne; Bopp, Laurent; Racault, Marie-Fanny;
    prayner> Beaugrand,20142014) Earth System Science Data 6(1):
    prayner> 235– Send feedback Privacy & ^ warning: failed to
    prayner> load external entity "2" unable to parse 2
    prayner> 
    prayner> This suggests I've broken my xsl machinery
    prayner> somewhere, is that right? Can anyone follow these
    prayner> steps and see if they generate the same behaviour?
    prayner> thanks again Peter
    prayner> 
    prayner> 
    prayner> 
    prayner> -- Peter Rayner room 343 School of Earth Sciences,
    prayner> University of Melbourne, 3010, Vic, Australia tel:
    prayner> work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761
    prayner> mobile +61 402 752 379, skype: petermorag mail-to:
    prayner> prayner@xxxxxxxxxxx google scholar profile
    prayner> <http://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en>
    prayner> 
    prayner> -----------------------------------------------------------------------------
    prayner> To unsubscribe from the emacspeak list or change
    prayner> your address on the emacspeak list send mail to
    prayner> "emacspeak-request@xxxxxxxxxxx" with a subject of
    prayner> "unsubscribe" or "help".



|All Past Years |Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page