Emacs Weekly Tips, Tricks, or Questions

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

6 points · 1 comments · view on lemmy.world

1 Comments

This2ShallPass@lemmy.world · 1 pts · 1y

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 mylist " ")

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