From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: url-cache - (require 'url) Date: Mon, 2 Jan 2006 18:03:34 +0000 Message-ID: References: <87y81zusp7.fsf-monnier+emacs@gnu.org> <87hd8mvc6k.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136225064 4548 80.91.229.2 (2 Jan 2006 18:04:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Jan 2006 18:04:24 +0000 (UTC) Cc: Emacs-Devel ' Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 02 19:04:18 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EtU2Y-0003dn-Bd for ged-emacs-devel@m.gmane.org; Mon, 02 Jan 2006 19:04:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtU48-0005lt-AF for ged-emacs-devel@m.gmane.org; Mon, 02 Jan 2006 13:05:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtU3d-0005km-5S for emacs-devel@gnu.org; Mon, 02 Jan 2006 13:05:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtU3a-0005j1-Hm for emacs-devel@gnu.org; Mon, 02 Jan 2006 13:05:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtU3a-0005iv-D2 for emacs-devel@gnu.org; Mon, 02 Jan 2006 13:05:18 -0500 Original-Received: from [64.233.184.202] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EtU4f-0003IA-Jc for emacs-devel@gnu.org; Mon, 02 Jan 2006 13:06:25 -0500 Original-Received: by wproxy.gmail.com with SMTP id i32so2026960wra for ; Mon, 02 Jan 2006 10:03:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=JEh+1uP0qDH9IWYxODfjhip7hUZIOUj42/nv2VGghzJ8Hb1x33am0EA+Z0gpAJ5XERUwWCK9jqidQAwBVaAnNHO295bagCX5ahgZ+7Vptkoh+ezQXHp+VXrRBzhfz1ybQ4Q0KXOjUeuKLHzepoRAf9+BamPeL9DlO0VMWDoegx4= Original-Received: by 10.64.148.14 with SMTP id v14mr235753qbd; Mon, 02 Jan 2006 10:03:38 -0800 (PST) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.gmail.com with ESMTP id e16sm212269qbe.2006.01.02.10.03.37; Mon, 02 Jan 2006 10:03:38 -0800 (PST) In-Reply-To: <87hd8mvc6k.fsf-monnier+emacs@gnu.org> Original-To: Stefan Monnier X-Mailer: Apple Mail (2.746.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48629 Archived-At: On 2 Jan 2006, at 16:25, Stefan Monnier wrote: >> 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? Could do that, but url-http is documented to do what it does, and it works fine for me and others. Is url-retrieve higher-level, and should it be used? The above code stems from my packages. Of course, I give it a proper callback function and fetch a different URL. - D