From: Adam Porter <adam@alphapapa.net>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: [ELPA] New package: plz
Date: Fri, 13 May 2022 16:54:31 -0500 [thread overview]
Message-ID: <83571245-4d13-22e4-1158-52758cbb8965@alphapapa.net> (raw)
In-Reply-To: <E1npWub-0003uw-Hj@fencepost.gnu.org>
On 5/13/22 10:09, Richard Stallman wrote:
> > plz.el is a library to make HTTP requests using curl, akin to url.el and
> > request.el. It attempts to provide a better API and avoid some of the
> > problems found in the other libraries, such as with callbacks.
>
> That's concise and clear. Thanks.
>
> This raises a question: does plz.el potentially subsume url.el
> request.el? Would it make sense to replace those with interfaces to
> plz.el? Perhaps not now, but in a few months once plz.el is
> perfected?
>
> I don't know the answer, but it would be advantageous to have only
> one such package to recommend and document.
Well, as Eli pointed out, as long as plz.el requires curl, it couldn't
replace any Elisp-only libraries. Providing an all-Elisp backend to
replace usage of curl is an idea I might look into, but probably not
anytime soon.
Besides that, as I admit in the readme, plz.el is still a young project.
url.el and request.el are much more feature-complete and mature. So
far I've added the features I've needed to use it in Ement.el; I'm
hoping that, being on ELPA now, it will be used and tested more widely,
and the needs of other users will help drive plz.el's development.
And while I prefer plz.el's API (of course), I wouldn't presume to say
that it's necessarily better than theirs, so I wouldn't propose plz.el
to subsume them.
Finally, I've encountered some rare process-related bugs in Emacs when
testing plz.el, e.g.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50166
So far, it only seems to manifest when running plz.el's ERT tests in
rapid succession, not when using plz.el "in anger." Even when Ement.el
makes tens of requests with plz.el in rapid succession, like when
downloading Matrix room avatar images upon initial connection, it seems
to work perfectly. And it's defied all of my attempts to debug the
problem at a deeper level.
So while I don't think that problem should discourage others from using
plz.el, and url.el and request.el can have similar issues at times
(probably due to issues in process.c--"there be dragons," it seems), I'm
hesitant to push it too strongly as an alternative yet.
Thanks,
Adam
next prev parent reply other threads:[~2022-05-13 21:54 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 16:51 [ELPA] New package: plz Adam Porter
2022-05-09 19:50 ` Philip Kaludercic
2022-05-09 21:08 ` Adam Porter
2022-05-10 11:58 ` Philip Kaludercic
2022-05-10 7:51 ` Adam Porter
2022-05-11 9:02 ` Richard Stallman
2022-05-11 10:19 ` Adam Porter
2022-05-11 13:42 ` Filipp Gunbin
2022-05-11 14:02 ` Adam Porter
2022-05-11 14:22 ` Daniel Martín
2022-05-11 15:51 ` Eli Zaretskii
2022-05-11 18:55 ` Philip Kaludercic
2022-05-11 19:29 ` Adam Porter
2022-05-12 13:06 ` Filipp Gunbin
2022-05-12 13:54 ` Alan Mackenzie
2022-05-12 15:23 ` Stefan Monnier
2022-05-14 23:58 ` Richard Stallman
2022-05-15 7:53 ` Adam Porter
2022-05-16 23:25 ` plz -> curl? Richard Stallman
2022-05-17 0:50 ` Po Lu
2022-05-17 2:13 ` Adam Porter
2022-05-17 2:37 ` Eli Zaretskii
2022-05-17 2:50 ` Po Lu
2022-05-17 10:13 ` Dmitry Gutov
2022-05-17 8:07 ` Philip Kaludercic
2022-05-17 22:58 ` Richard Stallman
2022-05-17 2:38 ` Eli Zaretskii
2022-05-17 3:05 ` Po Lu
2022-05-17 11:44 ` Eli Zaretskii
2022-05-17 11:46 ` Po Lu
2022-05-17 15:43 ` Eli Zaretskii
2022-05-17 19:15 ` Philip Kaludercic
2022-05-17 22:58 ` Richard Stallman
2022-05-17 6:43 ` Tassilo Horn
2022-05-17 8:17 ` Lars Ingebrigtsen
2022-05-17 10:12 ` Po Lu
2022-05-17 10:15 ` Adam Porter
2022-05-17 11:48 ` Po Lu
2022-05-17 15:38 ` Tassilo Horn
2022-05-18 0:46 ` Eric Abrahamsen
2022-05-17 12:15 ` Eli Zaretskii
2022-05-17 22:59 ` Richard Stallman
2022-05-17 22:58 ` Richard Stallman
2022-05-17 12:10 ` Stefan Monnier
2022-05-17 15:22 ` Roland Winkler
2022-05-17 22:59 ` Richard Stallman
2022-05-21 10:29 ` Jonas Bernoulli
2022-05-22 17:05 ` Juri Linkov
2022-05-22 23:01 ` Richard Stallman
2022-05-17 8:16 ` Alan Mackenzie
2022-05-17 22:59 ` Richard Stallman
2022-05-21 10:11 ` Jonas Bernoulli
2022-05-15 14:06 ` Wrong default-directory in shell buffer Matthias Meulien
2022-05-15 16:06 ` Stefan Monnier
2022-05-16 18:06 ` Matthias Meulien
2022-05-16 19:29 ` Matthias Meulien
2022-05-17 9:58 ` Visuwesh
2022-05-17 19:14 ` Matthias Meulien
2022-05-17 19:27 ` Lars Ingebrigtsen
2022-05-17 20:59 ` Matthias Meulien
2022-05-17 21:36 ` Lars Ingebrigtsen
2022-05-13 15:09 ` [ELPA] New package: plz Richard Stallman
2022-05-13 21:54 ` Adam Porter [this message]
2022-05-11 21:36 ` Stefan Monnier
2022-05-11 22:30 ` Adam Porter
2022-05-11 23:55 ` Stefan Monnier
2022-05-14 14:12 ` Richard Stallman
2022-05-14 14:23 ` Stefan Monnier
2022-05-16 23:26 ` Richard Stallman
2022-05-21 11:13 ` Jonas Bernoulli
2022-05-21 11:29 ` Eli Zaretskii
2022-05-21 18:16 ` Jonas Bernoulli
2022-05-21 14:51 ` Stefan Monnier
2022-05-21 18:10 ` Jonas Bernoulli
2022-05-21 20:29 ` Stefan Monnier
2022-05-22 23:02 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83571245-4d13-22e4-1158-52758cbb8965@alphapapa.net \
--to=adam@alphapapa.net \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).