From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: more url-utils? Date: Sat, 14 May 2011 13:21:06 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305372092 20807 80.91.229.12 (14 May 2011 11:21:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 May 2011 11:21:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 14 13:21:28 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 1QLCuT-00046b-Vu for ged-emacs-devel@m.gmane.org; Sat, 14 May 2011 13:21:26 +0200 Original-Received: from localhost ([::1]:41514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLCuT-0008Kz-H5 for ged-emacs-devel@m.gmane.org; Sat, 14 May 2011 07:21:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLCuR-0008Ki-7G for emacs-devel@gnu.org; Sat, 14 May 2011 07:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLCuP-0002fM-C3 for emacs-devel@gnu.org; Sat, 14 May 2011 07:21:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLCuP-0002eq-1v for emacs-devel@gnu.org; Sat, 14 May 2011 07:21:21 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QLCuM-00040X-Bz for emacs-devel@gnu.org; Sat, 14 May 2011 13:21:18 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 May 2011 13:21:18 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 May 2011 13:21:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEVvCQ3AcU7ClWrWvJFj AAlMAAmGNBBJAAmBGxXj2dehUD1/Aw5GAAf8/PuUk3orAAACTElEQVQ4jZXRzWsaQRQA8LWHshh7 WCVQxD3UpVRFD6n0oLCHQttDk4OFUkrJIb2I4Obac22JNY2H1j2NMNDdg5hNhQj245BD86VGK4Sd g0xg/pe+2RU/EhU6u+yw89v33r4ZoROwglbP8tYLq4WaVfpULGvrof5qTrhglLEGaxCVMrgxu9LW 7xr3AUiY4gZOMAyrlMrE1rzxgzCAbTKWwCos8qHatnYroMciwgW8YRiIUAJ3AyI8ETtcF05QpRJF ++hhUv9adWusSGuPcsIpruinqIL0j/rul/zTI/FIWwn1H+SEAUnSAYF0MpMvXRBD/fgIbMqojNXL cQQHKA5AscrwTARvEPEmcQLTAwd+O9BL3VP4FVNMRQkK5ds7WtFNNfra5hNDwztsnxHC6tCgSTBP A13jaGq4jRPwOwCdBHGAcYjtDhs4jSsMYOBsiYqRM9ErlSGd8lSwJQh2JJpGiMIiYzJ1a/T0FKyv oWozkIol0z7xl/Y51IXz2Oa98dJNno5M+jiB35RZyqZwVlFKfBMgClZValO/qlaT0wARPBVxU02g Y5rBY8PyR5qmYoUjE2ib3mz3dfZZpqB5avknPvHHCF74/dKxJNUkPgzJL0lBF94YEofsWwecpwt/ P7QP+2cr7fOm9nwrn/GJO5Cqy6Ewhsff8i83nBrTcAawNQ/OF8FUxE+A/Ay8vwatEXhK/wllT2lv bg3fDWiNYX6qZREzYEygeAP+ONBcApkNsbUowoHQ/Ijvs7DJYVM8XA5wHsa7RfAKYO8axHP/AHpq VQN8S/cLAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Various's _Crammed Global Soundclash 1980-89, Part One: World Fusion_: "Nadjma vs Adrian Sherwood - Ravishments In The Seraglio" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:KK/1cb9XTtRUyYmsGr+c7aTKzHA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:139393 Archived-At: 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. My guess is that more than 90% of the users of `url-retrieve' don't care about the headers, so having it do the stripping would be convenient. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/