[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: place cursor automatically
From: |
Kai Großjohann |
Subject: |
Re: place cursor automatically |
Date: |
Mon, 18 Aug 2003 14:32:43 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Uwe Mayer <merkosh@hadiko.de> writes:
> When I use Emacs in a Programming Mode that uses "{" and "}" to enclose
> blocks I'd like it to complete the closing brace automatically, or at least
> jump into the Block when I enter the closing brace, so I want to reduce:
>
> "{" <ret> "}" <up> <end> <ret> <tab>
>
> to
>
> "{" <ret> "}"
>
> How do you do that, or where do you start off? Can that behaviour be
> configured or will I habe to go into lisp?
For parentheses you can type M-(.
There are various packages that do something similar for other
parentheses-like characters. I think the "Autotype" manual that
comes with Emacs (C-h i d m Autotype RET) explains this.
--
Two cafe au lait please, but without milk.