From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: place cursor automatically Date: Mon, 18 Aug 2003 14:32:43 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84isovf8no.fsf@slowfox.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061211027 22936 80.91.224.253 (18 Aug 2003 12:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2003 12:50:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 18 14:50:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ojSs-0000G7-00 for ; Mon, 18 Aug 2003 14:50:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ojOV-0001ac-TZ for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Aug 2003 08:45:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!p508770ee.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: p508770ee.dip.t-dialin.net (80.135.112.238) Original-X-Trace: news.uni-berlin.de 1061209963 2166429 80.135.112.238 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:SGNhLym76DmITMHT0V5jaFJFWcI= Original-Xref: shelby.stanford.edu gnu.emacs.help:115967 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11886 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11886 Uwe Mayer 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: > > "{" "}" > > to > > "{" "}" > > 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.