From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] Proposed new package url-scgi.el Date: Mon, 26 Sep 2022 05:28:32 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 26 11:29:57 2022 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 1ockR2-0004Ce-U0 for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 11:29:56 +0200 Original-Received: from localhost ([::1]:47826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ockR1-0003qx-Eb for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 05:29:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ockPk-00037Q-DJ for emacs-devel@gnu.org; Mon, 26 Sep 2022 05:28:36 -0400 Original-Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:37837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ockPi-00083Z-Cp for emacs-devel@gnu.org; Mon, 26 Sep 2022 05:28:36 -0400 Original-Received: by mail-ot1-x333.google.com with SMTP id w22-20020a056830061600b006546deda3f9so4059954oti.4 for ; Mon, 26 Sep 2022 02:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=Z3dLV7vIuYcyq1ePJhUagcUUHNQX6vl9ErU3KlBkw8k=; b=hLMadHZkq8Jui/Rtn1aRNPo3lHkTLfYj2YzIhvw1SQtCXF4UbVfrX4vPMtod3ztD9X Eh7mChT4UziDsc/X2WnwjAbB3WrgZCsXGPxwBMlvR91UmzoSbtTGi2PlCHriX/qPViMS F5OdUhxT6OzLkwKzZjCbgRd63J/6xUbVe3cE97Q11+Pb4bVeOkOr44mMD13yKj1oh4iD m/ePeCaEOVRzIzqTQ4RtOrzqvfTu8vIQ8jcR9AS8Z3LMu0HetIQl9m3agpp7KZkdOBXk 0JrtmWSFy9aJYQ/cqIXCrOqHqS1xn/pGsHvfEwxWPci0UvNwoDBw6n0QpwaIXRihU8J1 ByIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=Z3dLV7vIuYcyq1ePJhUagcUUHNQX6vl9ErU3KlBkw8k=; b=v458m3s7GORrFknI23WBc0WI0rnMen65tLcWsXC2UpwX+w0m4CgwG662nxcvrXmw3s 83kVlI8qKq8H7dR4t1vP8LYo1ezGeOrPBUFUTNF/p/RhS5wPyZXq/9FsVPYf/ESP1bMj qrS149hvBjY11bArob+fS+bt1mEp2kjFUfl2a09KZFmNZd0Ee2Hl2QNF6ocdzSgOF4Pl PkopuQuf0tAkU2TVyA6dkvqFyfwmDc+H0CrCjJvKn7RYdgJjsTldIohOdg/21jUrmUhV 5p0kC3wq71QhwJVdAQ2XwGXMRRXyc8X9vO6xYSxOJ9sioOHoJC8YQQOoEYW/v5DWQ7Mp ky2A== X-Gm-Message-State: ACrzQf0cJAFRYr/h4m0YlTY895Dwyjl6Wpoan9HwDbQofG7a1Nt6+C0a xKdjgXMR04eMacMLm3yGf3a0yyF8vPXrl6uKVcw= X-Google-Smtp-Source: AMsMyM7EXiJOSohNm4ERP5qPN/E+tWjxuM2JPtigyu28PXQrprT/o3HL5miPckdpgS5cFVARCim2uNX8J6aABRFt4/0= X-Received: by 2002:a05:6830:3c1:b0:637:28be:7920 with SMTP id p1-20020a05683003c100b0063728be7920mr9348256otc.105.1664184513168; Mon, 26 Sep 2022 02:28:33 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 26 Sep 2022 05:28:32 -0400 In-Reply-To: X-Hashcash: 1:20:220926:emacs-devel@gnu.org::CHk9zlKWx63Kgi+D:18Gt Received-SPF: pass client-ip=2607:f8b0:4864:20::333; envelope-from=stefankangas@gmail.com; helo=mail-ot1-x333.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.29 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:296270 Archived-At: Jean Louis 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.