💾 Archived View for box.matto.nl › lisp.gmi captured on 2024-02-05 at 09:44:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Enjoying Lisp

Emacs

About a year and a halve ago I decided to look for a way to explore coding in Forth and Lisp. This was the main incentive to make a serious start to learn to use Emacs. Also the fact that support for things like the GNU recutils and ledger in Emacs is much better than in Vim, helped.

Now, one and a halve year later, I am using Emacs on a daily basis.

Still I am not as efficient with Emacs as I am with Vim, but having a few decades of Vim under my belt, this is to be expected.

Also, I still go for the ed editor when tinkering with configuration files and other small edits.

I have read "Thinking Forth" and went through the tutorial of pForth and fooled around a bit with coding in pForth and gForth. Also I have read the Introduction to Programming in Emacs Lisp.

I think coding in Lisp fits more to the kind of things I usually do with shell script, awk, and Perl so for now I stay with Lisp, and keep working with Forth for a later time.

Elisp

Writing some Elisp code is part of being an Emacs user. So I started with that.

Recently I have written some Elisp scripts that are now "in production":

I used to generate my generate my website with a script that I wrote in shell script, awk, and sed. Now I have developed an with an Elisp script to do this from within Emacs, .

I have a Links-page on my website. In my home network I have an instance of Linkding running, that I use for my bookmarks. In the past, I had written a Perl-script that connects to the Linkding API and collects the URL's for the Links-page. Now I have developed an Elisp script to do this.

I have written a small Elisp script that turns a Markdown file into a page for my Gopher hole and add some "mark up".

I use awkiawki as a personal wiki. This is a wiki written in Awk that sits on a pool of Markdown files. When a page is requested, awkiakwi converts the Markdown on the fly to HTML. I have written an Elisp script that converts a number of these wiki-pages into texinfo files, and installs the result in a info-directory.

Just starting

In all I have probably written about 1,000 lines of Elisp code, which is, of course, almost nothing, and I consider myself still at beginner's level.

Also I have been reading on Common Lisp, and played a bit with SBCL. I think that the entry barrier for Elisp is a bit lower than for Common Lisp. My intention is to start to write some small programs in SBCL, just as have done in Elisp, to get a bit of experience.

So far, I have been enjoying this exploration of Emacs and Elisp, and I surely want to continue my "Lisp quest".

Back to Gemlog index

Home

Hashtag: #emacs #lisp #scripting

$Date: 2022/08/28 13:03:25 $

EOF