From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: left brackets insert both Date: Fri, 25 Mar 2005 16:54:29 +0100 Organization: disorganized Message-ID: <87ll8b2022.fsf@robotron.ath.cx> References: <1111765040.509327.116280@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111766972 12555 80.91.229.2 (25 Mar 2005 16:09:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 16:09:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 25 17:09:32 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DErN8-0000vq-QA for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Mar 2005 17:09:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DErce-0003TP-Ld for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Mar 2005 11:25:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net rfl6btm8HelkEjpSKz8kIAEtrHlGibU39QveRsXY6XP514o6s= X-Orig-Path: robotron.ath.cx!news Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gH7PjWQKTCx7DrDOaAcY2i/r264= Original-Xref: shelby.stanford.edu gnu.emacs.help:129590 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25141 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25141 On 25 Mar 2005 07:37:20 -0800 Shug Boabby wrote: > when the start of a brace pair was typed, one of [<[{(], the editor > would insert the corresponding closing brace and place the cursor > in-between. this worked for all text editing modes, but could be turned > off when needed. ;;;; skeleton mode (global-set-key "\"" 'skeleton-pair-insert-maybe) ;;(global-set-key "'" 'skeleton-pair-insert-maybe) (global-set-key "`" 'skeleton-pair-insert-maybe) (global-set-key "[" 'skeleton-pair-insert-maybe) (global-set-key "(" 'skeleton-pair-insert-maybe) (global-set-key "{" 'skeleton-pair-insert-maybe) (setq skeleton-pair t) See (info "(autotype)Top") David