From: Stefan Kangas <stefankangas@gmail.com>
To: Jean Louis <bugs@gnu.support>
Cc: emacs-devel@gnu.org
Subject: Re: [GNU ELPA] Proposed new package url-scgi.el
Date: Mon, 26 Sep 2022 05:28:32 -0400 [thread overview]
Message-ID: <CADwFkmkp7cXbnHJj+FVZaq+UvOPM+tzHQcaFuMPLqCoYqvMY_g@mail.gmail.com> (raw)
In-Reply-To: <YzCK2t9NiPpMzfnJ@protected.localdomain>
Jean Louis <bugs@gnu.support> writes:
> It is not about retrieving URL alone. Your program is url-scgi.el
> right? Maybe I am mistaken.
It is specifically for retrieving SCGI URLs. I've described my use-case
previously (i.e rtorrent, which uses XML-RPC over SCGI).
Note that url-scgi.el is an extension of the `url' package, "an Emacs
Lisp library for parsing URIs and retrieving the resources to which they
refer".
> Your program is supposed to talk to web server, right?
Generally speaking, no.
url-scgi.el is for talking to some back-end software that would normally
communicate over SCGI with a web server. Or at least that's what I've
used it for.
> And I am supposed to send information to web server.
>
> Web server is to notify my program which uses url-scgi.el
>
> And dispatching of pieces of information will happen
> asynchronously. That is the purpose of your program. Do I get it
> right? If not, then Emacs could or would need to be spawned in memory
> each time if it would be standard CGI:
Do you want to use it as a server rather than a client? Maybe I
misunderstand. If so, I've never done something like that with `url',
so I'm afraid I can't be of much help. (It doesn't seem to me that this
is what `url' was made for, though.)
> I need not start from scratch when I just need few adjustments.
I still don't think I understand what you're trying to do, but if you
think it will work, I certainly don't want to discourage you from
trying. I'm merely trying to moderate expectations.
Did you give url-scgi.el a try already? If not, maybe that could help
clarify how it may or may not help you.
prev parent reply other threads:[~2022-09-26 9:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 15:02 [GNU ELPA] Proposed new package url-scgi.el Stefan Kangas
2022-09-22 17:17 ` Stefan Monnier
2022-09-22 19:23 ` Stefan Kangas
2022-09-24 22:27 ` Jean Louis
2022-09-24 23:05 ` Stefan Kangas
2022-09-25 17:07 ` Jean Louis
2022-09-26 9:28 ` Stefan Kangas [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmkp7cXbnHJj+FVZaq+UvOPM+tzHQcaFuMPLqCoYqvMY_g@mail.gmail.com \
--to=stefankangas@gmail.com \
--cc=bugs@gnu.support \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.