From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Differences between Elisp and Lisp Date: Wed, 30 Apr 2003 12:07:05 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EB010C9.9020509@yahoo.com> References: <3eae89b4$0$13158$3b214f66@usenet.univie.ac.at> <848yttf8o5.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051727453 25438 80.91.224.249 (30 Apr 2003 18:30:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 18:30:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 20:30:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19AwJZ-0006RG-00 for ; Wed, 30 Apr 2003 20:28:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Aw25-0001Mf-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2003 14:10:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 87 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1051726018 12977022 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:112586 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9083 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9083 Phillip Lord wrote: >>>>>>"Kai" == Kai Großjohann writes: >>>>>> > > Kai> Phillip Lord writes: > > >> This is certainly true. I can imagine a emacs based web server > >> would be quite nice, as you could use all the emacs based > >> formatting abilities. > > Kai> Do you know that this exists? > > An emacs web server? I'd seen some stuff on this, I wasn't sure what > its state was. Newsgroups: gnu.emacs.sources Subject: httpd-serve 1.27 (for emacs-wiki) From: John Wiegley X-Home-Page: http://www.gci-net.com/users/j/johnw/ X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xF40524D0 Date: Thu, 25 Oct 2001 17:15:54 -0700 Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 Content-Type: text/plain; charset=us-ascii Lines: 653 MIME-Version: 1.0 Sender: John Wiegley Mail-To-News-Contact: postmaster@nym.alias.net Organization: mail2news@nym.alias.net Xref: uni-berlin.de gnu.emacs.sources:10027 httpd-serve is a Python HTTP server, which uses a dedicated Emacs process to serve Wiki pages directly. It supports editing of pages, dynamic search queries (if glimpse is installed), etc. This new version supports gzip'd .html files (i.e., a reference to foo.html will serve either foo.html or foo.html.gz). It also fixes several bugs, and adds a nasty LIMITATIONS section at the beginning of the script file. This server has been working stably on alice.dynodns.net for several months, and is capable of serving around 100 pages/sec. Be sure to read the directions both in this script, and in emacs-wiki. Send mail to me if you have troubles getting it setup. Maybe we can work out a HOWTO together... :) John Wiegley ---------------------------------------------------------------------- #!/usr/bin/env python # $Revision: 1.27 $ # # A simple HTTP server, written in Python, that can be used to serve # Emacs Wiki pages directly from a running Emacs process. # # Usage is simple: # # httpd-serve --port 8080 --load ~/Emacs/startup.el /var/www # # This will start a dedicated Emacs session, and will listen on port # 8080 for HTTP requests. If the request is for a plain file, it will # be served directly from /var/www -- without using Emacs. If the # request is not for a plain file, it is passed to Emacs' httpd.el. # # startup.el should contain any startup routines you wish to load into # your Emacs web server. # # NOTE: This script has only been test on Debian GNU/Linux, using # gnuserv 2.1alpha (with Unix domain sockets), and Python's pty # module. See my web page for updates or new versions: # # http://www.gci-net.com/users/j/johnw/emacs.html # # LIMITATIONS: The only flaw known so far is that httpd-serve must # have access to an X server. This is not necessary on all systems, # and sometimes a plain pty works just fine. You can try setting # no_wins=1 at the top of this file. If that works, and you're able # to serve pages, you should not need to run httpd-serve under X. # # John Wiegley -- Kevin Rodgers