Stupid one, but can’t figure it out on my own – how do I get the next sexp? Just like preceding-sexp, but forward.
Stupid one, but can’t figure it out on my own – how do I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look into
forward-sexp. You have a nice example here.OK, as per your comment, you don’t want just movement, but evaluating the sexp itself. What Sacha did there is this:
and then
(eval (read sexp))to eval it. I’ll usebuffer-substring-no-properties, but I’m not sure if this matters in a temporary buffer.