tag:blogger.com,1999:blog-3992530807750384868.post2960854600760235158..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: balancing your parenthesesUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3992530807750384868.post-32139901346493549002011-11-01T16:39:54.962+02:002011-11-01T16:39:54.962+02:00Thanks a lot I was looking for some think like thi...Thanks a lot I was looking for some think like this for a while.edwingthttps://www.blogger.com/profile/17039721467868800553noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-3962711681969866592009-03-03T16:38:00.000+02:002009-03-03T16:38:00.000+02:00There are default keybindings for jumping to openi...There are default keybindings for jumping to opening and closing delimiters<BR/>C-M b (move backward)<BR/>C-M f (move forward)<BR/><BR/>See http://www.emacswiki.org/emacs/ParenthesisMatching#toc2 for detailsberniehhttps://www.blogger.com/profile/06635565990095991645noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-53631170734516170932009-02-24T20:55:00.000+02:002009-02-24T20:55:00.000+02:00Thank you,I was looking exactly what Thomas F. jus...Thank you,<BR/><BR/>I was looking exactly what Thomas F. just put there.. very handy.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-84931879938480319682009-02-15T11:05:00.000+02:002009-02-15T11:05:00.000+02:00Especially when you do programming in C (where mat...Especially when you do programming in C (where matching parentheses can easily be out of sight), I find the following function quite useful:<BR/><BR/>(defun paren-match ()<BR/> "Tries to jump to the matching parenthesis to the one currently<BR/>under the point. Useful if the matching paren is out of sight. "<BR/> (interactive)<BR/> (cond ((looking-at "[{\[\(]") (forward-sexp 1) (backward-char))<BR/> ((looking-at "[]})]") (forward-char) (backward-sexp 1))<BR/> (t (message "Point not at a parenthesis."))))<BR/><BR/>I usually bind it to C-x C-p globally.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-85528829874675041802009-01-18T00:05:00.000+02:002009-01-18T00:05:00.000+02:00look up pareditlook up pareditAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-40552470404571215622009-01-17T20:59:00.000+02:002009-01-17T20:59:00.000+02:00Ironically, you have an extra paren at the end of ...Ironically, you have an extra paren at the end of your (set-face-attribute 'show-paren-match-face ...) form.rotatefhttps://www.blogger.com/profile/05731049271980572297noreply@blogger.com