Sunday 13 October 2024


Wrapping and raising
====================

Slowly I a m learning to work with Paredit when working with Lisp
code.

Using Paredit to edit code comes with a learning curve. People who
have mastered Paredit usually say they never want to go back.

I have been here before. In the past I started to learn Vi(m), later
ed and Emacs. It turned out that the time invested in learning to
use these editors was time well spent.

This gives me the trust to pour the effort into learning to work with
Paredit, and going through the frustration and hair pulling
experiences that are part of the learning curve.

Of course there are web pages with info to get you started, some with
videos explaining how some commands work. Some people share a bit of
their approach through their personal pages.

I like to read Sandra's postings, which includes a few posts that
shares some insights on Paredit.

I stole the title of one of on of those posts. "Wrapping and raising",
see:
gemini://idiomdrottning.org/wrapping-and-raising

The post explains wrapping and raising as the two core primitives of
using Paredit.

Another interesting post is called " A paredit pro tip", see
gemini://idiomdrottning.org/paredit

This post goes into some smart key bindings. Those are made for
a keyboard with a Dvorak layout, but can of course be adapted
for any other keyboard layout.

It are the ideas behind it that makes this post interesting.

One is to use upper case characters to make room for more key
bindings. The post shares some Elisp code to extend the Paredit
wrapping functionality.

This post again reflects Sandra's preference for Emacs' god mode.
See also:
gemini://idiomdrottning.org/on-top-of-emacs-god-mode

Personally I use an old fashioned Query keyboard layout, and
I don't use god-mode.

But is it posts like these that help me through the learning
curve of Paredit.

Down the rabbit hole!


Last edited: $Date: 2024/10/13 09:05:16 $