Recent Comments
-
Recent Posts
Favorite Bloggers
Meta
Category Archives: Lisp
Powerful Regular Expressions Combined with Lisp in Emacs
Regular expressions are a powerful text transformation tool. Any UNIX geek will tell you that. It’s so deeply ingrained into our culture, that we even make jokes about it. Another thing that we also love is having a powerful extension … Continue reading
Posted in Computers, Emacs, Free software, FreeBSD, GNU/Linux, Lisp, Open source, Programming, Software
Tagged Computers, Emacs, Free software, FreeBSD, GNU/Linux, Lisp, Open source, Programming, Software
Leave a comment
Speeding Up Emacs and Parsing Emacs Lisp from Emacs Lisp
I recently spent a bit of time to clean up all the cruft that my ~/.emacs file and my ~/elisp directory had accumulated. I have been using a multi-file setup to configure my Emacs sessions, since at least 2008. This … Continue reading
Posted in Computers, Emacs, Free software, GNU/Linux, Linux, Lisp, Open source, Programming, Software
Tagged Computers, Emacs, Free software, GNU/Linux, Linux, Lisp, Open source, Programming, Software
8 Comments
Sometimes #’format is scary
CL-USER> (format t “~{~{ ~8,’0b~} |~:*~{ ~2,’0x~}~%~}~%” (loop for x below 32 collect (loop for y below 8 collect (+ (* x 8) y)))) 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 | 00 01 02 03 04 05 06 … Continue reading
Posted in Computers, Lisp, Programming, Software
Tagged Computers, hellug, Lisp, Programming, Software
Leave a comment
A Tiny Lisp Script
A tiny Lisp script, noticed first in a recent post in comp.lang.lisp and then ported to SBCL: % cat ~/bin/iota #!/usr/local/bin/sbcl –script (defun iota (count &optional (start 0) (step 1)) “Build a list of `count’ numbers, starting from `start’ and … Continue reading
Posted in Computers, Lisp, Programming, Software
Tagged Computers, hellug, Lisp, Programming, Software
3 Comments
Extending ERC with Emacs Lisp
ERC is an IRC client written in Emacs Lisp. This makes ERC very easy to extend, customize and otherwise adapt to your personal style. A nice features of the standard ERC distribution is that you can extend the set of … Continue reading
Posted in Computers, Emacs, Free software, Lisp, Programming, Software
Tagged Computers, Emacs, Free software, hellug, Lisp, Programming, Software
1 Comment
Lisp fun; can it run faster than C?
A common misconception about Lisp is that it is “slow”. I wrote misconception because this is not necessarily true. Most of the time that the “slowness” argument is brought up, it eventually turns out, after talking a while with the … Continue reading
Posted in Computers, Free software, Lisp, Open source, Programming, Software
Tagged Computers, Free software, hellug, Lisp, Open source, Programming, Software
3 Comments
Tweaking shell-script indentation in GNU Emacs
The default indentation levels of GNU Emacs for the case statements of sh(1) scripts (and derivative or compatible shells) are a bit smal for my taste (4 columns). This makes case statements in shell scripts look almost “ok”, but I … Continue reading
Posted in Computers, Emacs, Free software, Lisp, Open source, Programming, Software
Tagged Computers, Emacs, Free software, hellug, Lisp, Open source, Programming, Software
5 Comments
UTF-8 support in Gnus
It’s amusing once in a while to skim through the subjects of spam messages in my “mail.junk” folder. With Gnus running in UTF-8 mode, I can even read the text as you can see in
Posted in Computers, Emacs, Free software, Gnus, Lisp, Open source, Software
Tagged Computers, Emacs, Free software, Gnus, hellug, Lisp, Open source, Software
2 Comments
Why the “R” part of REPL rules
Common Lisp environments include a read-eval-print loop that is also known as “REPL”. The interactivity of the REPL is cool, but there’s at least one reason why the “R” part of the REPL rules.