Re: Parens Matching



On Sun, 30 Mar 2008 08:51:18 -0700 (PDT), dstein64 <DStein64@xxxxxxxxx> tried to
confuse everyone with this message:

I am still new to emacs and Common Lisp, so this may be a trivial
question. When I am working in SLIME, I typically have 2 buffers, one
for the REPL, and one for editing code. When a function is small, and
I close a parenthesis, emacs quickly flashes the corresponding
parenthesis that is being closed. However, when a function is very
long, I can not see what open parenthesis corresponds to the closed
parenthesis I just typed. This is because it is above what is viewable
on the screen. How should I deal with this? Is there any key binding
in SLIME that allows me to quickly flash the corresponding open paren
that I am working in? Thanks.

1. Watch the minibuffer when you close the paren, it should show the line
with the opening paren.
2. Use C-M-right C-M-left to quickly jump to the opening paren and back.
3. Use some keybinding in SLIME to add closing parens DWIM-style
(I think it was C-c C-q)

There are also other options like using Paredit editing mode.

--
|Don't believe this - you're not worthless ,gr---------.ru
|It's us against millions and we can't take them all... | ue il |
|But we can take them on! | @ma |
| (A Wilhelm Scream - The Rip) |______________|
.



Relevant Pages

  • Re: Parens Matching
    ... When I am working in SLIME, I typically have 2 buffers, one ... and one for editing code. ... I close a parenthesis, ... I can not see what open parenthesis corresponds to the closed ...
    (comp.lang.lisp)
  • Re: Parens Matching
    ... When I am working in SLIME, I typically have 2 buffers, one ... close a parenthesis, emacs quickly flashes the corresponding parenthesis ... see what open parenthesis corresponds to the closed parenthesis I just ...
    (comp.lang.lisp)
  • Parens Matching
    ... I am still new to emacs and Common Lisp, so this may be a trivial ... When I am working in SLIME, I typically have 2 buffers, one ... I close a parenthesis, ... I can not see what open parenthesis corresponds to the closed ...
    (comp.lang.lisp)
  • Re: Parens Matching
    ... When I am working in SLIME, I typically have 2 buffers, one ... I close a parenthesis, emacs quickly flashes the corresponding ... C-h f paren-activate RET ...
    (comp.lang.lisp)
  • Re: Parens Matching
    ... When I am working in SLIME, I typically have 2 buffers, one ... I close a parenthesis, ... I can not see what open parenthesis corresponds to the closed ... If you cannot see the opening parenthesis, ...
    (comp.lang.lisp)