w3 con xemacs
visto il periodo estivo mi sono messo a smanettare con emacs e xemacs,
ma ho un problema con quest'ultimo: non riesco a far partire w3; ho
installato l'apposito pacchetto e con emacs funziona (lo so gia' che e'
integrato nel pacchetto di xemacs).
Comunque se faccio
M-x w3-open-local ad apro un file in locale ottengo il seguente
messaggio (con il debug attivato)
Signaling: (invalid-regexp "Invalid preceding regular expression")
string-match("x-c++" "html")
mm-possible-viewers(((".*" ("viewer" . "more '%s'") ("type" .
"text/*") ("needsterminal")) (".*" ("viewer" . "gview '%s'") ("type"
. "text/*") ("test" "test" "\"$DISPLAY\"" "!=" "\"\"") ("compose" .
"gvim -f '%s'") ("edit" . "gvim -f '%s'")) ("html" ("viewer" .
"/usr/bin/lynx -dump -force_html '%s'") ("type" . "text/html")
("nametemplate" . "%s.html") ("description" . "HTML Text")
("copiousoutput;")) ("plain" ("viewer" . "false") ("type" .
"text/plain") ("print" . "/usr/bin/a2ps '%s'")) ("plain" ("viewer" .
"gview '%s'") ("type" . "text/plain") ("test" "test" "\"$DISPLAY\""
"!=" "\"\"") ("compose" . "gvim -f '%s'") ("edit" . "gvim -f '%s'"))
("plain" ("viewer" . "more '%s'") ("type" . "text/plain")
("needsterminal")) ("html" ("viewer" . "gnome-help-browser '%s'")
("type" . "text/html") ("test" "test" "\"$DISPLAY\"" "!=" "\"\""))
("plain" ("viewer" . "korganizer") ("type" . "text/plain") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-vcalendar" ("viewer" .
"korganizer") ("type" . "text/x-vcalendar") ("test" "test"
"\"$DISPLAY\"" "!=" "\"\"")) ("x-c++" ("viewer" . "kedit -caption
\"Text Editor\" '%s'") ("type" . "text/x-c++") ("test" "test"
"\"$DISPLAY\"" "!=" "\"\"")) ("x-c" ("viewer" . "kedit -caption
\"Text Editor\" '%s'") ("type" . "text/x-c") ("test" "test"
"\"$DISPLAY\"" "!=" "\"\"")) ("x-tex" ("viewer" . "kedit -caption
\"Text Editor\" '%s'") ("type" . "text/x-tex") ("test" "test"
"\"$DISPLAY\"" "!=" "\"\"")) ("x-tcl" ("viewer" . "kedit -caption
\"Text Editor\" '%s'") ("type" . "text/x-tcl") ("test" "test"
"\"$DISPLAY\"" "!=" "\"\"")) ("x-pascal" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-pascal") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-moc" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-moc") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-java" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-java") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-csrc" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-csrc") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-chdr" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-chdr") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-c++src" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-c++src") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-c++hdr" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-c++hdr") ("test"
"test" "\"$DISPLAY\"" "!=" "\"\"")) ("x-makefile" ("viewer" . "kedit
-caption \"Text Editor\" '%s'") ("type" . "text/x-makefile")
("test" "test" "\"$DISPLAY\"" "!=" "\"\"")) ("plain" ("viewer" .
"kedit -caption \"Text Editor\" '%s'") ("type" . "text/plain")
("test" "test" "\"$DISPLAY\"" "!=" "\"\"")) ("english" ("viewer" .
"kedit -caption \"Text Editor\" '%s'") ("type" . "text/english")
("test" "test" "\"$DISPLAY\"" "!=" "\"\"")) ("plain" ("viewer" .
w3-mode) ("test" fboundp ...) ("type" . "text/plain")) ("plain"
("viewer" . view-mode) ("test" fboundp ...) ("type" . "text/plain"))
("plain" ("viewer" . fundamental-mode) ("type" . "text/plain"))
("enriched" ("viewer" . enriched-decode-region) ("test" fboundp ...)
("type" . "text/enriched")) ("html" ("viewer" . w3-prepare-buffer)
("test" fboundp ...) ("type" . "text/html"))) "html")
byte-code( ........[CUT]....)
mm-mime-info("text/html")
url-file("file:/home/enrico/quadrature.html")
url-retrieve-internally("file:/home/enrico/quadrature.html"nil)
url-retrieve("file:/home/enrico/quadrature.html")
w3-fetch("file:/home/enrico/quadrature.html")
w3-open-local("~/quadrature.html")
call-interactively(w3-open-local)
command-execute(w3-open-local t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
(ho tagliato il byte code per motivi "tecnici")
Sapreste dirmi che cosa non va?
(uso xemacs 20.4-13)
grazie
--
Enrico Fracasso |Software is like sex ...
C.d.L in ingegneria elettronica |it's better when it's free
Universita' di Trieste |Linux. The Internet operating system
Reply to: