Emacs has commands for moving the cursor over expressions enclosed in parentheses (or any parentheses), namely forward-sexp, backward-sexp, forward-list and backward-list. In Lisp and any other code, they behave the same, so I do not see the difference between * -sexp and * -list, except that the latter do not work inside comments or quotes.
What is the functional difference between the sexp and list commands, and when should I use which?
Just in case, I understand the up-list and down-list commands, they are not related to the topic.
source share