In the last example the line turns into: ((blah-blah))Īnd the first line can be safely commented out with C. Paredit helps here: it reorganizes the s-exp so that closing parentheses are split in two parts and thus you can comment the line out without breaking outer s-exps. (where | means the point), I first press ) as many times as necessary to break the line in the correct place and to detach outer closing parentheses from this line (in this case it would be two times). In case of lines like ((blah|-blah))))))) UPD: I forgot to mention that despite the fact that slime-insert/remove-balanced-comments works just fine with paredit, the C- command can be a big pain to use on lines that have uneven number of parentheses on them. (global-set-key (kbd "C- ") 'comment-or-uncomment-this) (comment-or-uncomment-region (point) (mark))) (comment-or-uncomment-region (mark) (point)) (defun comment-or-uncomment-this (&optional lines) To uncomment it use slime-remove-balanced-comments ( M-x s-r-b-c).Īlso I put the following block in my. Make highlight and drag work: Make mouse-drag-region within an existing region/transient mark do a copy such that the text could be cut/pasted. It is unlikely that your requests submitted in this Wiki are attended to quickly. If the block of the code is a Lisp form and you would like to comment this form out, you can use slime-insert-balanced-comments (I use M-x s-i-b-c and SLIME expands the command automatically). Restart Aquamacs without customizations (per menu), reproduce the bug, then report using the reporting function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |