Emacs Weekly Tips, Tricks, or Questions

https://lemmy.world/post/27635499

Emacs Weekly Tips, Tricks, or Questions - Lemmy.World

This post is a weekly opportunity to start a conversation on Emacs. Post any new tips, tricks, or questions you have for the community.

Here is a quick trick to start. I recently discovered the identity function in Emacs lisp which can be useful when combined with other Emacs lisp functions. For instance, to take any Emacs lisp list and create a string separated by a space, you can do the following:

(mapconcat #'identity my list " ")

Very useful for making lisp to create strings that work on the command line.