emacs-devel
[Top][All Lists]
Advanced

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

Re: url-cache - (require 'url)


From: Stefan Monnier
Subject: Re: url-cache - (require 'url)
Date: Mon, 02 Jan 2006 11:25:21 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> I think url-cache.el needs a (require 'url) to define url-
>>> configuration-directory which is (now) needed to define url-cache-
>>> directory. Otherwise, a simple (require 'url-cache) fails unless  url
>>> isn't loaded beforehand.
>> 
>> When I removed the autoload on url-configuration-directory I ended up
>> convincing myself that url-cache.el was never loaded before url.el.
>> You're probably right that a `require' is in order, but I'd be
>> interested to know if you've bumped into a real-life case where
>> it's needed.

> Start up with -Q, then do

> (url-http (url-generic-parse-url "http://google.com";) nil  nil )

Hmm... and where does this code come from?
Why isnt't it using url-retrieve(-synchronously) instead?


        Stefan


> I inserted these in order to avoid showing "loading" messages in the  echo
> area, because I find they are not needed in the standard case and lead to
> information overload.

Yes, the "loading" messages don't make much sense to me either: why output
them for autoload but not for require?
I think they should go the same way as the GC messages.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]