unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs/w3 problems(console, images, CVS)
@ 2003-08-12 14:10 Alexander Nikolov
       [not found] ` <bhat5v$2on$1@news1.wdf.sap-ag.de>
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Nikolov @ 2003-08-12 14:10 UTC (permalink / raw)


I am trying to get Emacs/W3 to work both in X and in the console(is
this actually possible?). With w3 4.0.pre46(downloaded from w3's home
page) and GNU Emacs 21.2.1 the browser is working in X and is *not* in
the console, giving the following debug information:
,----
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   internal-set-lisp-face-attribute(w3-style-face-00001 :family nil 0)
|   set-face-attribute(w3-style-face-00001 nil :underline nil :weight normal :family nil)
|   font-set-face-font(w3-style-face-00001 [:family nil :weight nil :style 0 :size nil :registry nil :encoding nil])
|   w3-display-node((*document nil ((html nil ...))))
|   w3-draw-tree(((*document nil (...))))
|   w3-prepare-buffer()
|   w3-pass-to-viewer()
|   w3-sentinel(#<buffer *Messages*>)
|   w3-fetch("http://www.cs.indiana.edu/elisp/w3/docs.html")
|   w3()
| * call-interactively(w3)
|   execute-extended-command(nil)
|   call-interactively(execute-extended-command)
`----

Following the directions in a usenet post I found with Google, I
downloaded w3 sources(4.0.pre47) from the CVS repository, compiled and
installed them. Now starting w3 in whatever way gives me the following
error message:
,----
| Debugger entered--Lisp error: (void-function url-cookie-parse-file)
|   url-cookie-parse-file("/home/alexander/.w3/cookies")
|   url-do-setup()
|   w3-do-setup()
|   w3()
| * call-interactively(w3)
|   execute-extended-command(nil)
| * call-interactively(execute-extended-command)
`----

_Suggestions?_
-- 
export AUTHOR=Alex\ Nikolov
echo $AUTHOR

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
       [not found] ` <bhat5v$2on$1@news1.wdf.sap-ag.de>
@ 2003-08-13  8:48   ` Alexander Nikolov
  2003-08-13 17:57     ` Kevin Rodgers
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Nikolov @ 2003-08-13  8:48 UTC (permalink / raw)


Klaus Straubinger <KSNetz@Arcor.DE> writes:

> Alexander Nikolov <alexander@ip217-30.mnet.bg> wrote:
> 
> > Following the directions in a usenet post I found with Google, I
> > downloaded w3 sources(4.0.pre47) from the CVS repository, compiled and
> > installed them. Now starting w3 in whatever way gives me the following
> > error message:
> > ,----
> > | Debugger entered--Lisp error: (void-function url-cookie-parse-file)
> > |   url-cookie-parse-file("/home/alexander/.w3/cookies")
> > |   url-do-setup()
> > |   w3-do-setup()
> > |   w3()
> > | * call-interactively(w3)
> > |   execute-extended-command(nil)
> > | * call-interactively(execute-extended-command)
> > `----
> >
> > _Suggestions?_
> 
> The URl package is missing. Get it from where you got the W3 package
> and install it the same way.
> 
> -- 
> Klaus Straubinger

I got the url package from CVS and now starting W3 gives the following
error(I post the debug information):

,----
| Debugger entered--Lisp error: (invalid-function (macro . #[(handle) "^[%/1Ђ“microsoft-cp1251\x02БВE^[%/1Ђ’microsoft-cp1251\x02‡" [handle nth 2] 3]))
|   mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
|   w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
|   w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
|   apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
|   url-http-activate-callback()
|   url-http-wait-for-headers-change-function(1 185 184)
|   url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not Modified\nDate: Wed, 13 Aug 2003 08:45:00 GMT\nServer: Apache/1.3.27 (Unix) PHP/4.2.3 mod_ssl/2.8.11 OpenSSL/0.9.6e\nConnection: close\nETag: \"148a7e-b86-3c02cee1\"\n\n")
`----

-- 
export AUTHOR=Alex\ Nikolov
echo $AUTHOR

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-13  8:48   ` Alexander Nikolov
@ 2003-08-13 17:57     ` Kevin Rodgers
  2003-08-14 10:20       ` Alexander Nikolov
  0 siblings, 1 reply; 8+ messages in thread
From: Kevin Rodgers @ 2003-08-13 17:57 UTC (permalink / raw)


Alexander Nikolov wrote:

> I got the url package from CVS and now starting W3 gives the following
> error(I post the debug information):
> 
> ,----
> | Debugger entered--Lisp error: (invalid-function (macro . #[(handle) "^[%/1Ђ?microsoft-cp1251\x02БВE^[%/1Ђ?microsoft-cp1251\x02?" [handle nth 2] 3]))
> |   mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> |   w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> |   w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
> |   apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
> |   url-http-activate-callback()
> |   url-http-wait-for-headers-change-function(1 185 184)
> |   url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not Modified\nDate: Wed, 13 Aug 2003 08:45:00 GMT\nServer: Apache/1.3.27 (Unix) PHP/4.2.3 mod_ssl/2.8.11 OpenSSL/0.9.6e\nConnection: close\nETag: \"148a7e-b86-3c02cee1\"\n\n")
> `----

That means that mm-handle-encoding calls a macro which was not defined when
it was byte compiled.  Recompile it (you may as well recompile all the W3 .el
files).

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-13 17:57     ` Kevin Rodgers
@ 2003-08-14 10:20       ` Alexander Nikolov
  2003-08-15 20:32         ` Kevin Rodgers
  2003-08-16 18:22         ` Johan Bockgård
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Nikolov @ 2003-08-14 10:20 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Alexander Nikolov wrote:
> 
> > I got the url package from CVS and now starting W3 gives the following
> > error(I post the debug information):
> > ,----
> > | Debugger entered--Lisp error: (invalid-function (macro . #[(handle) " %/1Ђ?microsoft-cp1251 БВE %/1Ђ?microsoft-cp1251 ?" [handle nth 2] 3]))
> > |   mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> > |   w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> > |   w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
> > |   apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
> > |   url-http-activate-callback()
> > |   url-http-wait-for-headers-change-function(1 185 184)
> > |   url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not Modified\nDate: Wed, 13 Aug 2003 08:45:00 GMT\nServer: Apache/1.3.27 (Unix) PHP/4.2.3 mod_ssl/2.8.11 OpenSSL/0.9.6e\nConnection: close\nETag: \"148a7e-b86-3c02cee1\"\n\n")
> > `----
> 
> That means that mm-handle-encoding calls a macro which was not defined when
> it was byte compiled.  Recompile it (you may as well recompile all the W3 .el
> files).
> 
> -- 
> Kevin Rodgers
> 
> 
> 

,----[ C-h f mm-handle-encoding RET ]
| mm-handle-encoding is a Lisp macro in `mm-decode'.
| (mm-handle-encoding HANDLE)
| not documented
`----

Compiling mm-decode gives the following error:
,----
| Compiling file /usr/share/emacs/21.2/lisp/gnus/mm-decode.el at Thu Aug 14 13:10:14 2003
|   ** The following functions are not known to be defined: temp-directory,
|     delete-annotation, make-glyph, glyph-width, window-pixel-width,
|     glyph-height, window-pixel-height,
|     valid-image-instantiator-format-p
`----

I downloded the emacs/lisp/gnus directory from the CVS repository and
recompiled all the files in it and then recompiled w3 and I still get
the same error. 
Any ideas what are these undefined functions in the error message above?
-- 
export AUTHOR=Alex\ Nikolov
echo $AUTHOR

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-14 10:20       ` Alexander Nikolov
@ 2003-08-15 20:32         ` Kevin Rodgers
  2003-08-16 14:10           ` Alexander Nikolov
  2003-08-16 18:22         ` Johan Bockgård
  1 sibling, 1 reply; 8+ messages in thread
From: Kevin Rodgers @ 2003-08-15 20:32 UTC (permalink / raw)


Alexander Nikolov wrote:

> Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 
> 
>>Alexander Nikolov wrote:
>>
>>
>>>I got the url package from CVS and now starting W3 gives the following
>>>error(I post the debug information):
>>>,----
>>>| Debugger entered--Lisp error: (invalid-function (macro . #[(handle) " %/1Ђ?microsoft-cp1251 БВE %/1Ђ?microsoft-cp1251 ?" [handle nth 2] 3]))
>>>|   mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
>>>|   w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
>>>|   w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
>>>|   apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
>>>|   url-http-activate-callback()
>>>|   url-http-wait-for-headers-change-function(1 185 184)
>>>|   url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not Modified\nDate: Wed, 13 Aug 2003 08:45:00 GMT\nServer: Apache/1.3.27 (Unix) PHP/4.2.3 mod_ssl/2.8.11 OpenSSL/0.9.6e\nConnection: close\nETag: \"148a7e-b86-3c02cee1\"\n\n")
>>>`----
>>>
>>That means that mm-handle-encoding calls a macro which was not defined when
>>it was byte compiled.  Recompile it (you may as well recompile all the W3 .el
>>files).
> 
> ,----[ C-h f mm-handle-encoding RET ]
> | mm-handle-encoding is a Lisp macro in `mm-decode'.
> | (mm-handle-encoding HANDLE)
> | not documented
> `----


Ah, perhaps it was w3-decode-charset that was compiled without the
mm-handle-encoding macro being defined.


> Compiling mm-decode gives the following error:
> ,----
> | Compiling file /usr/share/emacs/21.2/lisp/gnus/mm-decode.el at Thu Aug 14 13:10:14 2003
> |   ** The following functions are not known to be defined: temp-directory,
> |     delete-annotation, make-glyph, glyph-width, window-pixel-width,
> |     glyph-height, window-pixel-height,
> |     valid-image-instantiator-format-p
> `----
> 
> I downloded the emacs/lisp/gnus directory from the CVS repository and
> recompiled all the files in it and then recompiled w3 and I still get
> the same error. 
> Any ideas what are these undefined functions in the error message above?

Uh, because you're not running the CVS version of Emacs?

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-15 20:32         ` Kevin Rodgers
@ 2003-08-16 14:10           ` Alexander Nikolov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Nikolov @ 2003-08-16 14:10 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Alexander Nikolov wrote:
> 
> > Kevin Rodgers <ihs_4664@yahoo.com> writes:
> >
> >>Alexander Nikolov wrote:
> >>
> >>
> >>>I got the url package from CVS and now starting W3 gives the following
> >>>error(I post the debug information):
> >>>,----
> >>>| Debugger entered--Lisp error: (invalid-function (macro . #[(handle) " %/1Ђ?microsoft-cp1251 БВE %/1Ђ?microsoft-cp1251 ?" [handle nth 2] 3]))
> >>>|   mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> >>>|   w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil nil))
> >>>|   w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
> >>>|   apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
> >>>|   url-http-activate-callback()
> >>>|   url-http-wait-for-headers-change-function(1 185 184)
> >>>|   url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not Modified\nDate: Wed, 13 Aug 2003 08:45:00 GMT\nServer: Apache/1.3.27 (Unix) PHP/4.2.3 mod_ssl/2.8.11 OpenSSL/0.9.6e\nConnection: close\nETag: \"148a7e-b86-3c02cee1\"\n\n")
> >>>`----
> >>>
> >>That means that mm-handle-encoding calls a macro which was not defined when
> >>it was byte compiled.  Recompile it (you may as well recompile all the W3 .el
> >>files).
> > ,----[ C-h f mm-handle-encoding RET ]
> > | mm-handle-encoding is a Lisp macro in `mm-decode'.
> > | (mm-handle-encoding HANDLE)
> > | not documented
> > `----
> 
> 
> Ah, perhaps it was w3-decode-charset that was compiled without the
> mm-handle-encoding macro being defined.
> 
> 
> > Compiling mm-decode gives the following error:
> > ,----
> > | Compiling file /usr/share/emacs/21.2/lisp/gnus/mm-decode.el at Thu Aug 14 13:10:14 2003
> > |   ** The following functions are not known to be defined: temp-directory,
> > |     delete-annotation, make-glyph, glyph-width, window-pixel-width,
> > |     glyph-height, window-pixel-height,
> > |     valid-image-instantiator-format-p
> > `----
> > I downloded the emacs/lisp/gnus directory from the CVS repository and
> > recompiled all the files in it and then recompiled w3 and I still get
> > the same error. Any ideas what are these undefined functions in the
> > error message above?
> 
> Uh, because you're not running the CVS version of Emacs?
> 
> -- 
> Kevin Rodgers
> 

Then I guess it is time for little downloading/compiling..urgh
-- 
export AUTHOR=Alex\ Nikolov
echo $AUTHOR

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-14 10:20       ` Alexander Nikolov
  2003-08-15 20:32         ` Kevin Rodgers
@ 2003-08-16 18:22         ` Johan Bockgård
  2003-08-17 15:53           ` Alexander Nikolov
  1 sibling, 1 reply; 8+ messages in thread
From: Johan Bockgård @ 2003-08-16 18:22 UTC (permalink / raw)


Alexander Nikolov <alexander@ip217-30.mnet.bg> writes:

> Compiling mm-decode gives the following error:
> ,----
> | Compiling file /usr/share/emacs/21.2/lisp/gnus/mm-decode.el at Thu
> | Aug 14 13:10:14 2003
> |   ** The following functions are not known to be defined: temp-directory,
> |     delete-annotation, make-glyph, glyph-width, window-pixel-width,
> |     glyph-height, window-pixel-height,
> |     valid-image-instantiator-format-p
> `----
[...]
> Any ideas what are these undefined functions in the error message
> above?

It's a warning message, not an error message, and you can ignore it.
The code is written to work on both Emacs and Xemacs and those are
functions used in Xemacs.

-- 
Man, Windows takes sooo long to boot up!
Yeah. But it halts quickly.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs/w3 problems(console, images, CVS)
  2003-08-16 18:22         ` Johan Bockgård
@ 2003-08-17 15:53           ` Alexander Nikolov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Nikolov @ 2003-08-17 15:53 UTC (permalink / raw)


bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

> Alexander Nikolov <alexander@ip217-30.mnet.bg> writes:
> 
> > Compiling mm-decode gives the following error:
> > ,----
> > | Compiling file /usr/share/emacs/21.2/lisp/gnus/mm-decode.el at Thu
> > | Aug 14 13:10:14 2003
> > |   ** The following functions are not known to be defined: temp-directory,
> > |     delete-annotation, make-glyph, glyph-width, window-pixel-width,
> > |     glyph-height, window-pixel-height,
> > |     valid-image-instantiator-format-p
> > `----
> [...]
> > Any ideas what are these undefined functions in the error message
> > above?
> 
> It's a warning message, not an error message, and you can ignore it.
> The code is written to work on both Emacs and Xemacs and those are
> functions used in Xemacs.
> 
> -- 
> Man, Windows takes sooo long to boot up!
> Yeah. But it halts quickly.

I am afraid this doesn't actually solve my problem, as the error at
loading w3 is still there with the newly compiled elisp files.
-- 
export AUTHOR=Alex\ Nikolov
echo $AUTHOR

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-08-17 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 14:10 emacs/w3 problems(console, images, CVS) Alexander Nikolov
     [not found] ` <bhat5v$2on$1@news1.wdf.sap-ag.de>
2003-08-13  8:48   ` Alexander Nikolov
2003-08-13 17:57     ` Kevin Rodgers
2003-08-14 10:20       ` Alexander Nikolov
2003-08-15 20:32         ` Kevin Rodgers
2003-08-16 14:10           ` Alexander Nikolov
2003-08-16 18:22         ` Johan Bockgård
2003-08-17 15:53           ` Alexander Nikolov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).