From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: arthur miller Newsgroups: gmane.emacs.devel Subject: Sv: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] Date: Mon, 29 Mar 2021 09:00:41 +0000 Message-ID: References: <15c3cc00-f56e-6e52-2228-30817639315a@gmail.com> <87v9cwek4u.fsf_-_@alphapapa.net> <87k0tcpp71.fsf@db48x.net> ,<875z1a6gtz.fsf@t510.orion.oneofus.la> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM9PR09MB4977E852C4466F0CB930B40F967E9AM9PR09MB4977eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Brooks , Adam Porter , "emacs-devel@gnu.org" To: Vladimir Sedach , T.V Raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 29 11:04:17 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQnom-0002ul-VF for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Mar 2021 11:04:17 +0200 Original-Received: from localhost ([::1]:45882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQnol-000217-W7 for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Mar 2021 05:04:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQnlW-0000L1-4f for emacs-devel@gnu.org; Mon, 29 Mar 2021 05:00:54 -0400 Original-Received: from mail-db8eur05olkn2081.outbound.protection.outlook.com ([40.92.89.81]:62176 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQnlP-000059-3J for emacs-devel@gnu.org; Mon, 29 Mar 2021 05:00:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CHQ1xZA5s1B0TXeitdEW+kYo1bfXo2s877QuWehnDU3rDon/l0dUgdhUZi9EnyG7TRshHzo4XmDhiS6h6F0LKqWqITAsCSLBdo+9w8MuDpMgvpllRjK2oe8f1I0dfvQ5/zUt0GkY/kBtzyotljKIBJoCWXC3ANvxqmsLoq8e6+uNmMzVKxe86zj+dg9gKUTQloXuvv/ZQyqsjcXc0471leULntlfn24qBkA5k1ECs892T83xn5+xd9a4pgJsP5JO7BRdDkBK0C/9rZn3Oxl9IImxoIuVWpGI3zwzw2+fWKWEQUx4XjYuZFkBOdyhgyH7xbrC/IBUa4CJdSDvKjYaJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mb91lwTQNDecwBz+Wg+0VzFByX9jPc76SGHDtNvktMo=; b=iLBpKhV3eWxLS1+m/inUdcuRssHb4sAA+U/Ey6yhU79D+8SSE2WUxMwEbd4wXUr+b0GlJpMkoVSP2YBi0YRoN2ZsNyU7z7e8vpVy/A1AtkaaMfuZfUBvrMY1s511UZhoID2YVJ1yBPuvbzfIHQSoad1Ija8dpCjw2xoXSAicUig2U4UQFUDuaUZc3212zHhKhxFJsbndhv/asoz0wWA9U3RvVxZ7BBsisHNda5Hf5QWbWuyGbF/MqkdfrChV4XTQx4zbeD26waARuK/JRzfxfx2C0nH76yyQaTaBS+mO94lcKg13ieEjJbPXk9OkvqQ0s8R1M20HuU/HIVR9OH+nrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mb91lwTQNDecwBz+Wg+0VzFByX9jPc76SGHDtNvktMo=; b=ID5zNma4QP88p+dR6VpUbVMJIjh8Z6m78ffJ7d/3ZABtZQv8Z8NKDOGdlZU1l8Lel8I5C3GKi7SbVmnzuoM/yHqxt7cN33gY+e+pwtkfUDNRH5iSv0WywQfayIb4L5qYIU6oFuPwEKuLPh192WjgHoV+EdyZdKP/EBGWZKCmhJL5Rz20/sEDZbVBG6DeF2gdf4jjf6ZN9EtJbGLw/499rFZG4v/qkYFHmNaQ/F6ALf6TP3erqVqr9wAQOearx7mLX+BmrFoIHJVK93tJrrHPgLQW6yPNZw476N35ltEE3sEUZZBQULkziwZbF7mQMzhDTQ0wi3VDSiikV7xTMJaDoQ== Original-Received: from VI1EUR05FT062.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::53) by VI1EUR05HT254.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::409) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.29; Mon, 29 Mar 2021 09:00:41 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc12::4f) by VI1EUR05FT062.mail.protection.outlook.com (2a01:111:e400:fc12::445) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25 via Frontend Transport; Mon, 29 Mar 2021 09:00:41 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b%6]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 09:00:41 +0000 Thread-Topic: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] Thread-Index: AQHXI3RgTzzJi09h1UOQ3DEKFoqPgqqaAEsAgACpAHw= In-Reply-To: <875z1a6gtz.fsf@t510.orion.oneofus.la> Accept-Language: sv-SE, en-US Content-Language: sv-SE x-incomingtopheadermarker: OriginalChecksum:426C7B47DE59CFF4E600B3850042CB3E77FBA9AFADDCC72261726A91FDEB8195; UpperCasedChecksum:D59A14781E03122870E560528D02126D35BEE08C92CAD814D050D7F9AC6B0998; SizeAsReceived:7390; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [FrfeyfyoRdgY3KhpqY6cbkYYrsgAAWOX] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: c9f50fcb-39a7-4401-6b38-08d8f2912181 x-ms-traffictypediagnostic: VI1EUR05HT254: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LJ4yo9ocw7W96rYTvA91gYgnljgszrFwLaSUuNmvhj8Kh/OUlg+rkJXbJ6ykiOdmwV0Wxtq/6cZiRg/BMWk+zBfUIT9bvfAl+H8uFBJJg63S8Porls8sb/xrOQoBJY6J3HcEPo2UrM86Q6SZ1TIg5K76nS8kdDchVKd1oJ6voNrTcbxMvRiap8nxzm7muhzh78nzwvLU07/my/t9oz6NzpfSU/FjgJJ2mtiV7Zq6nosk2ZuDbVtXNmC6GLZlAQwfJLjH3bwF3vL9Q/5mnLrz3x3T7j5SUx1rK37qYXTnSsZWoo2KJEZ6hqUONGMdFXGEhMA5DfMmdRun8gfJPtw3Kqrqn6ZbGkgZuZ2TRbSFH2HahOFLaJudNA7ynyQ9pMXum0qQnzze3paDtxP74Pm2JYRLkLGUtVyvq2KNyyQGDJ4= x-ms-exchange-antispam-messagedata: sL7IsWtUPCmOgblk4KOolvSIJL3kWPFmeYMHJmh10UADlLOJfezPt9AZkhpe5ful5qmgeqAQkipf1X7chEJLbq7krvapKZzbhcF1nhiGJGcxwWXh/yVKQZwn4UDb/ffycYxZgaujJjA+hFOJhCxzGQ== x-ms-exchange-transport-forked: True X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT062.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: c9f50fcb-39a7-4401-6b38-08d8f2912181 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 09:00:41.8338 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT254 Received-SPF: pass client-ip=40.92.89.81; envelope-from=arthur.miller@live.com; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267145 Archived-At: --_000_AM9PR09MB4977E852C4466F0CB930B40F967E9AM9PR09MB4977eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > libwget from GNU Wget2 is a better alternative. It is a GNU > project and shares the libgnutls dependency with Emacs. Are you sure about that one? https://gitlab.com/gnuwget/wget2/-/wikis/GNU-vs.-non-GNU However, Emacs already links against other non GNU libs, I am not sure it is an argument. Curl can use gnutls if desired, but maybe Emacs can get rid of gnutls dependency if using libcurl for the network stack? Libcurl is well known, tested and well documented (there are even books about it); libwget seems like new as a library. I don't know, I am not familiar with libwget, didn't know wget had an API and a library; they didn't used to before. Maybe it is technically better then libcurl, it can be worth investigation. Whichever emacs devs would use I think it would be nice to have a good networking stack accessible from elisp. ________________________________ Fr=E5n: Emacs-devel = f=F6r Vladimir Sedach Skickat: den 29 mars 2021 00:42 Till: T.V Raman Kopia: Daniel Brooks ; Adam Porter ; e= macs-devel@gnu.org =C4mne: Re: Emacs HTTP libraries [was: Re: How to contribute new package to= GNU ELPA?] T.V Raman writes: > Daniel Brooks writes: > > 1+ on libcurl, this discussion happened a while ago here though and ran > aground, dont remember why. > But independent of the ability down the road to native-compile elisp, I > still think re-using the work of the curl project to get an HTTP library > that the emacs project doesn't have to maintain would be a big win libwget from GNU Wget2 is a better alternative. It is a GNU project and shares the libgnutls dependency with Emacs. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la --_000_AM9PR09MB4977E852C4466F0CB930B40F967E9AM9PR09MB4977eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
> libwget from GNU Wget2= is a better alternative. It is a GNU
> project and shares the libgnutls dependency with Emacs.
<= br>

Are you sure about that one?


However, Emacs already links against other non GNU libs, I am
not sure it is an argument. Curl can use gnutls if desired, but maybe
Emacs can get rid of gnutls dependency if using libcurl for the
network stack?

Libcurl is well known, tested and well documented (= there are
even books about it); libwget seems like new as a library.
I don't know, I am not familiar with libwget, didn'= t know wget had
an API and a library; they didn't used to before. Maybe it is technically
better then libcurl, it can be worth investigation.

Whichever emacs devs would use I think it would be nice to have
a good networking stack accessible from elisp.

Fr=E5n: Emacs-devel <ema= cs-devel-bounces+arthur.miller=3Dlive.com@gnu.org> f=F6r Vladimir Sedach= <vas@oneofus.la>
Skickat: den 29 mars 2021 00:42
Till: T.V Raman <raman@google.com>
Kopia: Daniel Brooks <db48x@db48x.net>; Adam Porter <adam@a= lphapapa.net>; emacs-devel@gnu.org <emacs-devel@gnu.org>
=C4mne: Re: Emacs HTTP libraries [was: Re: How to contribute new pac= kage to GNU ELPA?]
 

T.V Raman <raman@google.com> writes:

> Daniel Brooks <db48x@db48x.net> writes:
>
> 1+ on libcurl, this discussion happened a while ago here though and ra= n
> aground, dont remember why.
> But independent of the ability down the road to native-compile elisp, = I
> still think re-using the work of the curl project to get an HTTP libra= ry
> that the emacs project doesn't have to maintain would be a big win

libwget from GNU Wget2 is a better alternative. It is a GNU
project and shares the libgnutls dependency with Emacs.

--
Vladimir Sedach
Software engineering services in Los Angeles https://oneofus.la

--_000_AM9PR09MB4977E852C4466F0CB930B40F967E9AM9PR09MB4977eurp_--