Live data from Hacker News

Elnode, the EmacsLisp webserver, nears release

nic.ferrier.me.uk

11–20 of 33 posts

Re: Elnode, the EmacsLisp webserver, nears release

#11
post #2

Sounds fun. The problem with elisp, though, is that it's (I am told) not a real Lisp. The info tutorial shipped with Emacs doesn't make me suspect otherwise. Perhaps a few neat elnode examples might help.

Rolling things up into a single response here:

    1.  Emacs Lisp is a real Lisp.  Full stop.
    2.  That said, Emacs Lisp is based on MacLisp (no
        relationship to Macintosh), which has dynamic scoping,
        not lexical scoping, and which is not a member of the
        Common Lisp family.
    3.  And *that* said, Emacs Lisp has long had a "cl" 
        package that adds many Common Lisp niceties, and, 
        since 24, has had optional lexical scoping, bringing a 
        more Common-Lisp-like experience to all aspects of
        elisp.
    4.  And all of *that* said, this particular package I 
        regard as a convenience, not a way to write a website.  
        There are many tools a devoted Emacser uses (org mode 
        and Planner mode, to name the two big ones) that want 
        to vend web pages, and this would be a great tool for 
        them, but I'd hardly recommend using elisp for a 
        "real" website.
It's completely worth learning elisp, and I think discounting this because it's "not written in a real Lisp" is bizarre, but you'd be right to look more towards Clojure or SBCL/Clozure (depending) to write a "real" Lisp website. That's just not what this is aimed at--and where it is aimed, I think it can be enormously successful.

Re: Elnode, the EmacsLisp webserver, nears release

#12
post #2

Sounds fun. The problem with elisp, though, is that it's (I am told) not a real Lisp. The info tutorial shipped with Emacs doesn't make me suspect otherwise. Perhaps a few neat elnode examples might help.

I would say that it isn't worth letting the differences between emacs lisp and common lisp stand in the way of learning lisp (or Emacs).

Re: Elnode, the EmacsLisp webserver, nears release

#16

If you build a web app in emacs you may be interested in a fully featured emacs lisp Redis client http://code.google.com/p/eredis/

wow. yeah, that could be awesome. I'd like to write an elnode adapter for that.

Is it packaged and in MELPA or Marmalade?

Re: Elnode, the EmacsLisp webserver, nears release

#17

Lisp hacker to Lisp hacker, that is very cool. Really off topic but: it is great to be a programmer and write whatever we want for our side projects.

I really want to use this professionally. Lisp is so much more productive (for me at least) than other languages. I just don't want to have to use much else.

Re: Elnode, the EmacsLisp webserver, nears release

#18

If you build a web app in emacs you may be interested in a fully featured emacs lisp Redis client http://code.google.com/p/eredis/

wow. yeah, that could be awesome. I'd like to write an elnode adapter for that. Is it packaged and in MELPA or Marmalade?

No but I'd be happy to set that up

Re: Elnode, the EmacsLisp webserver, nears release

#19
An Emacs web server existed over 10 years ago:

  http://synthcode.com/emacs/phase-0.2.1.tar.bz2
It has no doubt bit-rotted, but had some really nice features, like being able to automatically display any file as HTML with the exact same syntax highlighting that Emacs itself uses.

Re: Elnode, the EmacsLisp webserver, nears release

#20
post #19

An Emacs web server existed over 10 years ago: http://synthcode.com/emacs/phase-0.2.1.tar.bz2 It has no doubt bit-rotted, but had some really nice features, like being able to automatically display any file as HTML with the exact same syntax highlighting that Emacs itself uses.

If it doesn't handle POST requests it doesn't count.

  (defun phase-handle-post ()
    "Phase handler for post requests"
    ;; XXXX hack, not handling multi-part form data, just treat as a GET
    ;; for now.
    (phase-handle-get) )
Post reply on HN