Land Of Lisp Book Giveaway

You will recall that I recently reviewed the book Land of Lisp. It turns out I’ve got two copies of it, and would like to give one away. To you. As a bounty.

i-daddf88430b2b2d64f6d869eb7139f83-LandOfLisp-thumb-300x395-70094.jpgThis is not a contest. It is a bounty. You can “win” a brand new copy of Land of Lisp very easily. What you need to do is to supply the best eLisp code, in my opinion, in the comments below. The code should have the following characteristics:

1) It should work, probably as an .el file. Code that you just think might work or has parts like “Then you do something like this bla bla bla” is interesting and you are welcome to post it, but it won’t win you the book. But do post it … someone else might get it to work and they can win!

2) It should be useful for me, in its working form. Assume I’m running the latest easily installable (via synaptic) version of emacs (23 or so). I am a writer and a blogger. I do all my writing in emacs. Keeping track of links, doing stuff writers might want to do with a file, stuff like that, could be good. I’m always trying to find links to old posts that I’ve written. I write my posts in HTML using HTML mode. I do a lot of stuff in org mode. Stuff that helps in writing code is probably NOT good for me, as I almost never do that.

Hint: I read these blogs:

Emacs-Fu
Got Emacs?
Mastering Emacs
minor emacs wizardry

And a few others.

Your code doesn’t actually have to be yours, but give credit as to where you got it, and the original writer of the code gets the book! But if that is the code that “wins” the “bounty” then you’ll get something too, I promise.

Comments

  1. #1 Anonymous Coward
    October 24, 2011

    Seems a bit silly to me. Offering a book on _learning_ LISP to the person that posts the best LISP code. A bit like offering mechanic lessons to the person that fixes your car the best?

  2. #2 tracyanne
    October 24, 2011

    I’d like the book, I haven’t got the faintest idea how the code in LISP, so I think I qualify as someone who needs it.

  3. #3 Miel Bronneberg
    October 24, 2011

    Yes, I, too, would love to have this book so I can finally learn some Lisp, but I don’t know any Lisp yet, so you’ll have to wait a bit for my submission. When does this bounty-hunt end?

    Also, I use VIM, not Emacs. That would be another hurdle to take.

  4. #4 Greg Laden
    October 24, 2011

    Well, you have a point, all of you, but Land of Lisp, while not advanced, would be of interest to those who are messing around with emacs. I learned a LOT from the book yet I’ve written a few code snippets myself already. I could easily submit my “HTML tag wrapper” code for instance.

    When does it end? Let’s say January 1st, unless there is nothing brilliant by then, in which case, the following January 1st.

  5. #5 ejes
    October 24, 2011

    (write-line “Hello I don’t know LISP!!! I need a book to teach me”)

  6. #6 Greg Laden
    October 24, 2011

    ejes, your code yields:
    Debugger entered–Lisp error: (void-function write-line)
    (write-line “Hello I don’t know LISP!!! I need a book to teach me”)
    eval((write-line “Hello I don’t know LISP!!! I need a book to teach me”))
    eval-last-sexp-1(nil)
    eval-last-sexp(nil)
    call-interactively(eval-last-sexp nil nil)
    recursive-edit()
    byte-code(“\306 @\307=\203!

  7. #8 Sivaram
    October 30, 2011

    Does this help you, to qualify me in the race to get a lisp book?

    http://emacsworld.blogspot.com/2011/10/searching-internet-from-any-buffer-in.html

    Sivaram

    Emacsworld

Current ye@r *