From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Paired delimiters Date: Mon, 18 Jul 2011 12:10:15 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311008763 26971 80.91.229.12 (18 Jul 2011 17:06:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 17:06:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uday S Reddy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 18 19:05:59 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QirGY-0005Nb-Dq for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 19:05:58 +0200 Original-Received: from localhost ([::1]:38362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QirGX-0000gm-A0 for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 13:05:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqdF-00067P-H3 for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:25:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiqdE-0007JS-7X for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:25:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:62131 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqdD-0007JI-Ee for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:25:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAI9aJE5MCqt8/2dsb2JhbABUp3d4iHzCWYY8BJ8nhDA X-IronPort-AV: E=Sophos;i="4.67,223,1309752000"; d="scan'208";a="126535280" Original-Received: from 76-10-171-124.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Jul 2011 12:10:15 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 74FD86660D; Mon, 18 Jul 2011 12:10:15 -0400 (EDT) In-Reply-To: (Uday S. Reddy's message of "Mon, 18 Jul 2011 10:18:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142117 Archived-At: > The Elisp manual says that the "paired delimiter" syntax class is "like > string quote characters except that the syntactic properties of the > characters between the delimiters are not suppressed". But the description > of the string syntax class doesn't talk about "suppressing" anything. So, > I am at a loss to understand what the difference is between the string class > and paired delimiter class. It's not very well defined, really. Basically it means things like: "{" is perfectly valid whereas ${$ is ill-balanced and "foo % this is not a comment" whereas $foo % this is a comment and this $ does not match the other. > The context of my query is that I am trying to get the autopair-mode > http://code.google.com/p/autopair/ > to correctly in LaTeX-mode. FWIW you may also like to take a look at electric-pair-mode (new in Emacs-24). Stefan