From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel ' <emacs-devel@gnu.org>
Subject: Re: url-cache - (require 'url)
Date: Mon, 02 Jan 2006 11:25:21 -0500 [thread overview]
Message-ID: <87hd8mvc6k.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <F26E84B6-2890-49A0-8FF3-3D43E2D5025E@gmail.com> (David Reitter's message of "Mon, 2 Jan 2006 09:47:11 +0000")
>>> 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.
next prev parent reply other threads:[~2006-01-02 16:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-01 17:48 url-cache - (require 'url) David Reitter
2006-01-02 5:08 ` Stefan Monnier
2006-01-02 9:47 ` David Reitter
2006-01-02 16:25 ` Stefan Monnier [this message]
2006-01-02 18:03 ` David Reitter
2006-01-03 1:46 ` Stefan Monnier
2006-01-03 9:51 ` David Reitter
2006-01-03 15:54 ` Stefan Monnier
2006-01-03 16:15 ` David Reitter
2006-01-03 20:05 ` Stefan Monnier
2006-01-05 22:11 ` Stefan Monnier
2006-01-06 18:12 ` Mark Plaksin
2006-01-09 1:37 ` Stefan Monnier
2006-01-14 18:32 ` Mark Plaksin
2006-01-15 4:45 ` Stefan Monnier
2006-01-15 4:59 ` Mark Plaksin
2006-01-15 6:09 ` Stefan Monnier
2006-01-15 18:18 ` Mark Plaksin
2006-01-16 2:26 ` Stefan Monnier
2006-01-16 2:49 ` Mark Plaksin
2006-01-16 18:45 ` Stefan Monnier
2006-02-19 19:56 ` Mark Plaksin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hd8mvc6k.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).