From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Laurent Hoeltgen Newsgroups: gmane.emacs.help Subject: Re: electric pair mode and latex Date: Wed, 20 Jun 2012 09:23:38 +0200 Message-ID: <4FE17A7A.8060504@gmail.com> References: <4FE1626C.6070602@gmail.com> <87a9zyttu8.fsf@friendface.gateway.2wire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340177037 6434 80.91.229.3 (20 Jun 2012 07:23:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2012 07:23:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jeremiah Dodds Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 09:23:56 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ShFGd-000534-FN for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2012 09:23:55 +0200 Original-Received: from localhost ([::1]:49862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShFGd-0001ay-6p for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2012 03:23:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShFGX-0001aE-OK for help-gnu-emacs@gnu.org; Wed, 20 Jun 2012 03:23:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShFGR-00010Y-LU for help-gnu-emacs@gnu.org; Wed, 20 Jun 2012 03:23:49 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:38728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShFGR-0000yX-CD for help-gnu-emacs@gnu.org; Wed, 20 Jun 2012 03:23:43 -0400 Original-Received: by bkcjm19 with SMTP id jm19so6954099bkc.0 for ; Wed, 20 Jun 2012 00:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=SuymPvQgmw3FCs4GBT+SrjpDZK1sHuO23q8WgC8ltQY=; b=0dmrl+Jnq1anFCmT9jpjY6yPz8rJGVAEigax4T91goPjgYoTtcHOM1+hTWA22BT5bN x6DfaOiBZlvvf7EQLbtR/0x3ueIC1qSPwmOxfYy2spOyKvSWnd8CS6R0vwqpLe46kbEF ZZpHt4Im/Iahzo8MFkdtV6+BJ+F2Il0Nf+/7gH5NKU4XgcIr6HCcNokTJ1gHaoUO1HGT hEMIEab3LOOGTu0UeC5aK5k479dq6fWyO1e23CB9rLCQTAx1Mb5mQ0r4CtlsQkML4WPR 7G/7II7+E5TFgyqKOC8YH7GbE1jxZWC4mEPWdDDtaZE6Qg4Hd7NDFKds9Tiihh0OY9E/ yv2w== Original-Received: by 10.204.153.193 with SMTP id l1mr9652388bkw.120.1340177021243; Wed, 20 Jun 2012 00:23:41 -0700 (PDT) Original-Received: from [134.96.173.219] (wpa-uds173-219.funklan.uni-saarland.de. [134.96.173.219]) by mx.google.com with ESMTPS id m2sm26260988bkm.2.2012.06.20.00.23.39 (version=SSLv3 cipher=OTHER); Wed, 20 Jun 2012 00:23:40 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 In-Reply-To: <87a9zyttu8.fsf@friendface.gateway.2wire.net> X-Enigmail-Version: 1.4.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85313 Archived-At: On 06/20/2012 07:50 AM, Jeremiah Dodds wrote: > Laurent Hoeltgen writes: > >> Hi, >> >> electric pair mode automatically closes parentheses like (,[,{,... Can I >> customize this such that when I edit a latex document it also closes >> expressions like \left( with \right)? >> >> Regards, >> Laurent > > Yup, see 'electric-pair-pairs' > Hi, if I try to change this option (through the customize interface) by adding \left( and \right) to the list, emacs complains with the following message: Saving electric-pair-pairs: This field should contain a single character. Regards, Laurent