From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Rossetti Subject: Re: [ANN, OT] Emacs web-server, a new option for serving Org-mode files Date: Thu, 16 Jan 2014 01:51:47 +0100 Message-ID: <84iotkwwmq.fsf@gmail.com> References: <87zjn24cgx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3bdF-00080Q-1x for emacs-orgmode@gnu.org; Wed, 15 Jan 2014 20:20:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3bd6-0006MT-BS for emacs-orgmode@gnu.org; Wed, 15 Jan 2014 20:20:28 -0500 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:53516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3bd6-0006ME-3d for emacs-orgmode@gnu.org; Wed, 15 Jan 2014 20:20:20 -0500 Received: by mail-ea0-f173.google.com with SMTP id o10so792452eaj.18 for ; Wed, 15 Jan 2014 17:20:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode Mailing List Eric Schulte writes: > I've written an Emacs web-server [1], which may be used to interact with > Org-mode over HTTP. It has no dependencies aside from needing Emacs 24 > or later and it should be easy to install and use [2]. Thanks Eric for having shared this project. Unfortunately in my setup (Emacs 24.3.1, Windows 7) I could not run even the first "hello world". If some Windows user has time and chance to try, may I please ask if they run web-server successfully. My attempt was to run emacs -Q and type: --8<---------------cut here---------------start------------->8--- (require 'cl) (require 'ert) (add-to-list 'load-path "C:/Users/andrea/Desktop/emacs-web-server-master") (require 'web-server) (load-file "./examples/000-hello-world.el") --8<---------------cut here---------------end--------------->8--- While executing this script I received no errors, not even with debug-on-error turned on. I checked that my port 9000 is free before using it. When I launch Chrome/curl/wget, the connection is established but it never terminates, and no output is delivered to client. Even M-x list-processes showed apparently correct output: --------------------------------- server listen -- -- (network server on local) ws-server listen -- -- (network server on [0 0 0 0 9000]) ws-server <1... open -- -- (network connection to 127.0.0.1) --------------------------------- Thanks for any hint/advice, kindest regards. Andrea