From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] Proposed new package url-scgi.el Date: Sun, 25 Sep 2022 20:07:38 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 25 19:25:58 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 1ocVO9-0005ib-W3 for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Sep 2022 19:25:57 +0200 Original-Received: from localhost ([::1]:56602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocVO8-0003Qn-QM for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Sep 2022 13:25:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocVNM-0002dc-7I for emacs-devel@gnu.org; Sun, 25 Sep 2022 13:25:08 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:57443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocVNK-0006xA-5w for emacs-devel@gnu.org; Sun, 25 Sep 2022 13:25:07 -0400 Original-Received: from localhost ([::ffff:102.87.68.71]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B8045.0000000063308EEE.00000620; Sun, 25 Sep 2022 10:25:01 -0700 Mail-Followup-To: Stefan Kangas , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.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:296228 Archived-At: * Stefan Kangas [2022-09-25 02:06]: > Jean Louis writes: > > > I am using Emacs to accept double opt-in information from online > > subscribers. > > > > Can I then use Emacs to accept HTML forms by using url-scgi on server > > to easier parse data? > > I'm not sure I understand what you're asking, but I'd probably just > start from scratch if I wanted to do something like that. Maybe you can > copy a snippet or two from url-scgi.el. > > I suggest taking a look at the functions provided by url.el: > > (info "(url) Retrieving URLs") It is not about retrieving URL alone. Your program is url-scgi.el right? Maybe I am mistaken. Your program is supposed to talk to web server, right? 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: I need not start from scratch when I just need few adjustments. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/