GNU bug report logs - #22921
25.1.50; Wishlist: There should be a new URL interface

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Lars Magne Ingebrigtsen <larsi@HIDDEN>; merged with #37577; dated Sun, 6 Mar 2016 13:46:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 22921 <at> debbugs.gnu.org:


Received: (at 22921) by debbugs.gnu.org; 21 Oct 2021 03:00:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 23:00:06 2021
Received: from localhost ([127.0.0.1]:55814 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdOJK-0005oh-8u
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 23:00:06 -0400
Received: from quimby.gnus.org ([95.216.78.240]:54024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>)
 id 1mdOJ4-0005nE-2p; Wed, 20 Oct 2021 23:00:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=TCHtlccDj/2Kxc30imn032OEyEbJXzIZrHNnQa1e+tA=; b=H8tuPjBrKDlQnhT39ysG6eFHOz
 HdLEemWq2ZcrGxBUibSfjT/fAcQsihi2gB2Irb3W84Hgy8N1Cu9QVnu3jO7BtZ6jO3dQ1iPcYhgss
 5w+zwGI4iruVYPybZnOCLG4w8B/EMbHGwvclGY9MZAbZlp4Y2jS4X4Bau5bLfSFhCK9Y=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mdOIv-0005Kr-7E; Thu, 21 Oct 2021 04:59:43 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#37577: 27.0.50; GNU Emacs / eww inconsistent in showing images
References: <m337s367qy.fsf@HIDDEN> <87k15if3q1.fsf@HIDDEN>
 <87iml2qbvv.fsf@HIDDEN>
 <CADwFkmm_Zx4tCDfFDPmhT9eC15cFh0f9xqkYH0z2SKQ14AysOA@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVPSZeWZJemqNJL
 J1z///9SRQkfAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UKFQIpL0s56UEAAAGPSURBVDjLbZSLscQg
 CEUhNCDaQLQCMvTf2+OjxrxZd3Ym4Xj5KQGYC0euDt9Vx/hJLrdwQef3P0EBIAU28gG3kIo9EIzB
 rx19u9uRtB5hmMFIahAOZ6blQupLsFxbcnXT6FwCVJdk3MhNN3HJnTWUWsJGlrAKwwQ4kIm2QtG2
 JmAuoseyrVm9RYA0ccSy8lclkuBJINahFIDSAhx5LVB0ecp6eEaHFXuBiydYuU5XigvsRPlJgLMp
 /tIOhWBEVwfUngTN0y2zEENmonDl4I1BCitGlF4DqFeC4WQW+CyFvWOYnieB7QQJ8laSp+iORK3C
 CaZCKADtyj1IKCRC03FKloGhTFXgPFdz1xLQihBZ+b9MyeyVX604QQfyAsQAD5PYnZx2v7NeYfMm
 MkF7ARa2wejooDxlhSDB7rPUvWPWDLvx6/bwqDFrzN3bvyUQs2fAf7UJvKD7dA5r8jBwjCDWmOde
 HZUDQO3pzZPjE1zDNlcrxgfwlOD+MNi9+fja34zPd+ElHX6v63iWEyDti/wHpVlir3d8zIMAAAAl
 dEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAtMjFUMDI6NDE6NDYrMDA6MDDcWq4VAAAAJXRFWHRkYXRl
 Om1vZGlmeQAyMDIxLTEwLTIxVDAyOjQxOjQ2KzAwOjAwrQcWqQAAAABJRU5ErkJggg==
X-Now-Playing: Alice Coltrane's _Kirtan Turiya Sings_: "Yamuna Tira Vihari"
Date: Thu, 21 Oct 2021 04:59:40 +0200
In-Reply-To: <CADwFkmm_Zx4tCDfFDPmhT9eC15cFh0f9xqkYH0z2SKQ14AysOA@HIDDEN>
 (Stefan Kangas's message of "Wed, 20 Oct 2021 08:38:19 -0700")
Message-ID: <8735ovjd5v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefan@HIDDEN> writes: > Lars Ingebrigtsen
 <larsi@HIDDEN> writes: > >>> What's the current status of your
 with-fetched-url
 branch? Is it >>> ready to merge into master? It would be nice to get it
 in so that we >>> can sta [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 22921
Cc: 22921 <at> debbugs.gnu.org, 37577 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Kangas <stefan@HIDDEN> writes:

> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
>>> What's the current status of your with-fetched-url branch?  Is it
>>> ready to merge into master?  It would be nice to get it in so that we
>>> can start playing around with it.
>>
>> It should be (more or less) ready to go.  I've been meaning to merge it
>> ever since Emacs 28 started, but I haven't found time yet.
>
> Hmm, maybe we can have it in Emacs 29?  :-)

:-)

It got put on the back burner because I started thinking about the proxy
stuff that url.el supports but I hadn't implemented for with-url yet.

Because I think that's the wrong level to do it.  Emacs should support a
general network proxy thing, that would allow all network connections to
be proxied.  (Or selectively.)

And the more I looked at this, the more apparently it became that Emacs'
network stuff should just be totally reimplemented, because it's so full
of...  oddnesses geared toward processes.  And processes and network
connections are very different things.

So it's a Big Project.  :-/

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22921; Package emacs. Full text available.

Message received at 22921 <at> debbugs.gnu.org:


Received: (at 22921) by debbugs.gnu.org; 20 Oct 2021 15:38:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 11:38:27 2021
Received: from localhost ([127.0.0.1]:55227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdDff-00038Q-HH
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 11:38:27 -0400
Received: from mail-pf1-f173.google.com ([209.85.210.173]:39926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>)
 id 1mdDfd-00037w-2s; Wed, 20 Oct 2021 11:38:25 -0400
Received: by mail-pf1-f173.google.com with SMTP id d9so3298070pfl.6;
 Wed, 20 Oct 2021 08:38:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=BKJNgr4duhMQcBeuuzoh4Du6pebMgddGot+8kzFJqlQ=;
 b=n3DNLRZDEVvrgHegnViLP2pCV2pySIDuwxxQjdyA9JzRkC40Gzkhohu1rfRKiBJuCh
 Zi2PGscHbJ6L6Xrj6IzgwN1LHZzwW7qIla57jX9w7eGtox2BCswZpn4SHAPBRFu+cxXd
 djOrM4Lpgb/KJgQNzzuZzhCrpnNkFJtmaOXXJiFmsxiNt5R3XneeB08mVZtALRQS3C17
 6wnSGhwe8kGdZ6xqgxAU/2K9LB/82iHf4v6+PlSsvKTA9exApIseo8qoYeta7t6wnruL
 /mUcYdiBOfa8Qw3QvGfamp4OfTfca5CkkNICGs8tiqiCPQFojl84bi/Pj+4d2E8th5RY
 GnWw==
X-Gm-Message-State: AOAM532R6XaxfTS577R6t5TK9UOAQjAlzYVHZFI8IRybQhCAYX1yX/23
 y0Rwsw3AIqHYbtechjLxb+uUFWkce6vwLTv5agIkNLb1
X-Google-Smtp-Source: ABdhPJxtY+aX2Fw+NyJdyUX9/MFWGcCoV9GW14NXOZbXXp8gerJq8hxLOuA+foD/+Z+5xScaw5t/YEYbs8yEdp7LLfQ=
X-Received: by 2002:a63:81c2:: with SMTP id t185mr30919pgd.114.1634744299451; 
 Wed, 20 Oct 2021 08:38:19 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 20 Oct 2021 08:38:19 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <87iml2qbvv.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 23 Jan 2020 19:13:40 +0100")
References: <m337s367qy.fsf@HIDDEN> <87k15if3q1.fsf@HIDDEN>
 <87iml2qbvv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Wed, 20 Oct 2021 08:38:19 -0700
Message-ID: <CADwFkmm_Zx4tCDfFDPmhT9eC15cFh0f9xqkYH0z2SKQ14AysOA@HIDDEN>
Subject: Re: bug#37577: 27.0.50; GNU Emacs / eww inconsistent in showing images
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 22921
Cc: 22921 <at> debbugs.gnu.org, 37577 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

>> What's the current status of your with-fetched-url branch?  Is it
>> ready to merge into master?  It would be nice to get it in so that we
>> can start playing around with it.
>
> It should be (more or less) ready to go.  I've been meaning to merge it
> ever since Emacs 28 started, but I haven't found time yet.

Hmm, maybe we can have it in Emacs 29?  :-)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22921; Package emacs. Full text available.

Message received at 22921 <at> debbugs.gnu.org:


Received: (at 22921) by debbugs.gnu.org; 23 Jan 2020 18:13:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 23 13:13:52 2020
Received: from localhost ([127.0.0.1]:53159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iugzI-0007GF-Eo
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2020 13:13:52 -0500
Received: from quimby.gnus.org ([95.216.78.240]:53750)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iugzG-0007G2-FA
 for 22921 <at> debbugs.gnu.org; Thu, 23 Jan 2020 13:13:50 -0500
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1iugz7-0000NT-GN; Thu, 23 Jan 2020 19:13:43 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#22921: 25.1.50; Wishlist: There should be a new URL interface
References: <m337s367qy.fsf@HIDDEN> <87k15if3q1.fsf@HIDDEN>
Date: Thu, 23 Jan 2020 19:13:40 +0100
In-Reply-To: <87k15if3q1.fsf@HIDDEN> (Stefan Kangas's message of "Thu, 23
 Jan 2020 19:05:26 +0100")
Message-ID: <87iml2qbvv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefan@HIDDEN> writes: > Lars Magne
 Ingebrigtsen
 <larsi@HIDDEN> writes: > >> So: `with-url-buffer'. > > What's the current
 status of your with-fetched-url branch? Is it > ready to merge into master?
 It would be nice to ge [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gnus.org]
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 22921
Cc: 22921 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefan@HIDDEN> writes:

> Lars Magne Ingebrigtsen <larsi@HIDDEN> writes:
>
>> So: `with-url-buffer'.
>
> What's the current status of your with-fetched-url branch?  Is it
> ready to merge into master?  It would be nice to get it in so that we
> can start playing around with it.

It should be (more or less) ready to go.  I've been meaning to merge it
ever since Emacs 28 started, but I haven't found time yet.

If I remember, there may be some quirks with certain auth schemes that
needs fixing, but that can be done after the merge.  But I need to block
out, say, a week where I can respond to bug reports in a speedy manner,
and I haven't found that week yet...

But it'll happen sometime within a month or to.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22921; Package emacs. Full text available.

Message received at 22921 <at> debbugs.gnu.org:


Received: (at 22921) by debbugs.gnu.org; 23 Jan 2020 18:05:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 23 13:05:38 2020
Received: from localhost ([127.0.0.1]:53133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iugrK-00073o-68
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2020 13:05:38 -0500
Received: from ted.gofardesign.uk ([67.225.143.91]:44880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>) id 1iugrJ-00073V-6x
 for 22921 <at> debbugs.gnu.org; Thu, 23 Jan 2020 13:05:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=UNvevhgLMyOxUszkwHZ7W7oOJ+k/5EBVGf9uhghfoz8=; b=RIJncnF0KYTHS0r8gS0+rK8Iqy
 2G5PSZxzD7CgeKpPLNcgr+mdEtlzzupQL9CzTsQjAHQF29nLfwFjU4z7EoSteBs5vw10yqN5f9Wl7
 wiFPeEBMfQctyKXg1BPjdeMithBH9KTeodb9M9jeg64K1qWWZExb1URh39zDEf2um+h1BaZNmwPoJ
 kjxU6HVw6H8iG0BM+cQZk32ASfTrUwNJIZiR3gpe2dsJrJzSk2ryD7bVxwMDOYzXdaNwGon0w3C2I
 Ll2MRrsuX+MRaf96XJCzjKUj1tpJfMllTWyQ2+Mf8lX6ULuoMUZKsoQvEKD+e2NyBwqJlw5kIFADb
 7cHMvBDQ==;
Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:56224
 helo=localhost)
 by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.92) (envelope-from <stefan@HIDDEN>)
 id 1iugrB-000CIg-BY; Thu, 23 Jan 2020 13:05:29 -0500
From: Stefan Kangas <stefan@HIDDEN>
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#22921: 25.1.50; Wishlist: There should be a new URL interface
In-Reply-To: <m337s367qy.fsf@HIDDEN> (Lars Magne Ingebrigtsen's message of
 "Sun, 06 Mar 2016 14:44:37 +0100")
References: <m337s367qy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Date: Thu, 23 Jan 2020 19:05:26 +0100
Message-ID: <87k15if3q1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - ted.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: ted.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 22921
Cc: 22921 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Magne Ingebrigtsen <larsi@HIDDEN> writes:

> So: `with-url-buffer'.

What's the current status of your with-fetched-url branch?  Is it
ready to merge into master?  It would be nice to get it in so that we
can start playing around with it.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22921; Package emacs. Full text available.
Forcibly Merged 22921 37577. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Mar 2016 13:45:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 06 08:45:23 2016
Received: from localhost ([127.0.0.1]:36203 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1acYzr-0006Qo-7k
	for submit <at> debbugs.gnu.org; Sun, 06 Mar 2016 08:45:23 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57159)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1acYzp-0006KS-Mp
 for submit <at> debbugs.gnu.org; Sun, 06 Mar 2016 08:45:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <larsi@HIDDEN>) id 1acYzi-0002Mo-SZ
 for submit <at> debbugs.gnu.org; Sun, 06 Mar 2016 08:45:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50884)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <larsi@HIDDEN>) id 1acYzi-0002Mk-PV
 for submit <at> debbugs.gnu.org; Sun, 06 Mar 2016 08:45:14 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48130)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <larsi@HIDDEN>) id 1acYzh-00011h-1Q
 for bug-gnu-emacs@HIDDEN; Sun, 06 Mar 2016 08:45:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <larsi@HIDDEN>) id 1acYzb-0002Lm-W5
 for bug-gnu-emacs@HIDDEN; Sun, 06 Mar 2016 08:45:12 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:60270)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <larsi@HIDDEN>) id 1acYzb-0002GS-NA
 for bug-gnu-emacs@HIDDEN; Sun, 06 Mar 2016 08:45:07 -0500
Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories)
 by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>) id 1acYz7-00035z-UM
 for bug-gnu-emacs@HIDDEN; Sun, 06 Mar 2016 14:44:37 +0100
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.1.50; Wishlist: There should be a new URL interface
Date: Sun, 06 Mar 2016 14:44:37 +0100
Message-ID: <m337s367qy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1acYz7-00035z-UM
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1457876678.32559@2hDuFXHCJ4/5Ewjj4NPjog
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


The current interfaces to the URL library aren't very handy.  It's
`url-retrieve' and `url-retrieve-synchronously'.  The main problem is
that they're inconsistent and difficult to interact with.

For instance, most of the "inputs" to the functions are dynamically
bound specially variables like `url-request-method', and that sucks.
The buffers that are returned are inconsistent based on the URL
method -- HTTP buffers come with the headers first, while ftp buffers do
not.

So: `with-url-buffer'.

Typical usage would be

(with-url-buffer ("https://fsf.org"
                  :verbose t
                  :request-method "POST"
                  :timeout 10)
  (do-stuff-with-the-result-here))

That is, the callback is in the form.  There are no headers in the
buffer, and point is at point-min when the body is called.  Headers are
accessed with a new form like `(url-header "date")', and the headers are
available in a buffer-local variable called `url-headers'.

Upon completion of the body form, the buffer is killed, unless a
parameter :inhibit-kill-buffer is given.

Synchronous and asynchronous operation looks identical, but synchronous
operation happens when you say :synchronous t.

Implementation-wise, this happens with lexical bindings switched on, and
the body form is turned into a closure that's evaluated upon completion.

`with-url-buffer' will not support the exotic, never-actually-used
protocols like news:, irc:, imap:, etc, but only http:, https:, ftp:
and file:.



In GNU Emacs 25.1.50.23 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2016-03-06 built on stories
Repository revision: 20cc4182598c6c724f4556faf6bc322c9e58ad1d
Windowing system distributor 'The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux 7.9 (wheezy)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US
  locale-coding-system: iso-latin-1-unix

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t

Recent messages:
Wrote /home/larsi/.newsrc
Saving /home/larsi/.newsrc.eld...
Saving file /home/larsi/.newsrc.eld...
Wrote /home/larsi/.newsrc.eld
Saving /home/larsi/.newsrc.eld...done
No more unseen articles
No more unread articles
next-line: End of buffer [2 times]
(No changes need to be saved)
Making completion list...

Load-path shadows:
/home/larsi/src/clock.el/clock hides /home/larsi/lisp/clock
/home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect
/home/larsi/src/pvr.el/pvr hides /home/larsi/lisp/pvr
~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard
/home/larsi/src/cddb.el/captitle hides /home/larsi/lisp/captitle
~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example
/home/larsi/lisp/dom hides /home/larsi/src/emacs/trunk/lisp/dom
~/pgnus/contrib/compface hides /home/larsi/src/emacs/trunk/lisp/image/compface

Features:
(shadow emacsbug sendmail binhex canlock ecomplete flow-fill eieio-opt
speedbar sb-image ezimage dframe find-func thingatpt view sgml-mode
misearch multi-isearch tabify imenu man vc vc-dispatcher copyright
vc-cvs eww shr-color color gnus-html url-queue help-fns url-cache
gnus-picon sort gnus-cite smiley ansi-color mm-archive gnus-async
gnus-dup qp gnus-ml gmane spam-gmane dns mm-url disp-table gnus-fun
gnus-mdrtn gnus-topic pop3 nndoc nnmbox nndraft utf-7 nnmh nnml nnfolder
network-stream nsm starttls nnir spam-report spam spam-stat gnus-uu yenc
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message
format-spec rfc822 mml mml-sec epa epg mailabbrev gmm-utils mailheader
gnus-win gnus nnheader gnus-util rmail rmail-loaddefs mail-utils movie
mkv shr svg imdb dom pvr debug debbugs-gnu easy-mmode derived debbugs
soap-client mm-decode mm-bodies mm-encode url-http tls gnutls url-auth
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw puny url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap warnings rng-xsd rng-dt rng-util xsd-regexp xml ido seq
flyspell ispell benchmark w3m browse-url doc-view subr-x dired
dired-loaddefs image-mode timezone w3m-hist w3m-fb w3m-ems wid-edit
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util add-log mail-extr
mm-util mail-prsvr jka-compr cl finder-inf package epg-config
url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp
byte-compile cl-extra help-mode easymenu cconv eieio-core cl-macs gv
eieio-loaddefs cl-loaddefs pcase cl-lib password-cache url-vars
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev
obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face
macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 4019121 362371)
 (symbols 48 170790 312)
 (miscs 40 674 1974)
 (strings 32 317931 33454)
 (string-bytes 1 13992070)
 (vectors 16 43895)
 (vector-slots 8 1764946 243016)
 (floats 8 7065 3818)
 (intervals 56 929585 49118)
 (buffers 976 59)
 (heap 1024 212624 72649))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Acknowledgement sent to Lars Magne Ingebrigtsen <larsi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22921; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 21 Oct 2021 03:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.