From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: more url-utils? Date: Sun, 15 May 2011 22:26:13 +0800 Message-ID: <8739kgqbui.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305469614 30458 80.91.229.12 (15 May 2011 14:26:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 May 2011 14:26:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 15 16:26:50 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QLcHR-0003lh-QP for ged-emacs-devel@m.gmane.org; Sun, 15 May 2011 16:26:49 +0200 Original-Received: from localhost ([::1]:36515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLcHR-0001UL-BP for ged-emacs-devel@m.gmane.org; Sun, 15 May 2011 10:26:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLcHC-0001SZ-S1 for emacs-devel@gnu.org; Sun, 15 May 2011 10:26:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLcH4-0001Ij-1M for emacs-devel@gnu.org; Sun, 15 May 2011 10:26:34 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:61340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLcH3-0001Gw-OM for emacs-devel@gnu.org; Sun, 15 May 2011 10:26:25 -0400 Original-Received: by pvc12 with SMTP id 12so2634676pvc.0 for ; Sun, 15 May 2011 07:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=Ba2p2QESyHdb5/UH0dODyXIUUZltyV2edRSa6BIJbZg=; b=FUPrC5TujlrkSS9/wXQZBuV2K1GOpjPZn7PT23KLwkj98JW4nG3HJGZ8V8vrJ+06pg o4QXeNoMoJX2a2T7HGEVbVxSefSrvI3FDTrh3Ss5DO3OFH6lRvk94zSM4szDo/9+smwA 9+4VD0AcKTMpizuND6J/NE3sEAA9WPBV0hKWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=He+9HqMI29fwgKa96Wor2ss1XXgZXIvJdDjMWROVNOmRZqJXPHkoyh68UHEH1/UeOj 3AE+eTnFK6yXQUlOCjo3/qtgMMC0tRDiJtJBWP3Hbs4rRwidolYPMN929iljhGmbuwX0 BpGJD417xxuYJ/u8Z4+vLCUCn3WPvI5GKCmto= Original-Received: by 10.68.26.134 with SMTP id l6mr5875679pbg.50.1305469584399; Sun, 15 May 2011 07:26:24 -0700 (PDT) Original-Received: from home.jasonrumney.net ([180.75.214.19]) by mx.google.com with ESMTPS id 5sm2669718pbn.25.2011.05.15.07.26.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 May 2011 07:26:23 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id AC5044B8; Sun, 15 May 2011 22:26:13 +0800 (MYT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 14 May 2011 13:21:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139416 Archived-At: Lars Magne Ingebrigtsen writes: > joakim@verona.se writes: > >> Would the defun below be suitable to include in url-util? >> You nearly always want to work with the data part of the document. > > Perhaps binding something like `url-return-data-only', and then having > url-retrieve strip the headers before returning the buffer would be > nice. It would be even nicer if the headers were parsed into a buffer local alist.