From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: Need help with show-paren-mode Date: Mon, 16 Sep 2002 15:33:15 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5032DFFF4@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1032208456 7583 127.0.0.1 (16 Sep 2002 20:34:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Sep 2002 20:34:16 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17r2ZR-0001y3-00 for ; Mon, 16 Sep 2002 22:34:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17r2Zh-0008Nx-00; Mon, 16 Sep 2002 16:34:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17r2Ya-0008FQ-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 16:33:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17r2YY-0008FB-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 16:33:19 -0400 Original-Received: from zcamail04.zca.compaq.com ([161.114.32.104]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17r2YX-0008F6-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 16:33:17 -0400 Original-Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.105.250.119]) by zcamail04.zca.compaq.com (Postfix) with ESMTP id AEE3B371 for ; Mon, 16 Sep 2002 13:33:16 -0700 (PDT) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Mon, 16 Sep 2002 13:33:16 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need help with show-paren-mode Thread-Index: AcJdSLibNFgdV49qTBuddHnqi0selgAc5RXw Original-To: X-OriginalArrivalTime: 16 Sep 2002 20:33:16.0505 (UTC) FILETIME=[49529C90:01C25DC0] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1514 I use mic-paren (http://user.it.uu.se/~mic/emacs.shtml) for parenthesis = matching. I just did a very simple test with 21 levels of nesting it = appears to work correctly. That is what I would recommend. Here is the long description from the file header: ;;; mic-paren.el is an extension and replacement to the packages = paren.el ;;; and stig-paren.el for Emacs. When mic-paren is active (it is = activated ;;; when loaded) Emacs normal parenthesis matching is deactivated. = Instead ;;; parenthesis matching will be performed as soon as the cursor is ;;; positioned at a parenthesis. The matching parenthesis (or the entire ;;; expression between the parenthesises) is highlighted until the = cursor ;;; is moved away from the parenthesis. Features include: ;;; o Both forward and backward parenthesis matching (simultaneously if ;;; cursor is between two expressions). ;;; o Indication of mismatched parenthesises. ;;; o Recognition of "escaped" (also often called "quoted") = parenthesises. ;;; o Option to match "escaped" parens too, especially in (La)TeX-mode ;;; (e.g. matches expressions like "\(foo bar\)" properly). ;;; o Offers two functions as replacement for forward-sexp and ;;; backward-sexp which handle properly quoted parens (s.a.). These = new ;;; functions can automatically be bounded to the orgiginal binding of ;;; the standard forward-sexp and backward-sexp functions. ;;; o Option to activate matching of paired delimiter (i.e. characters = with ;;; syntax '$'). This is useful for writing in LaTeX-mode for example. ;;; o Option to select in which situations (always, never, if match, if ;;; mismatch) the entire expression should be highlighted or only the ;;; matching parenthesis. ;;; o Message describing the match when the matching parenthesis is ;;; off-screen (vertical and/or horizontal). Message contains the ;;; linenumber. Option to select in which cases this message should be ;;; displayed. ;;; o Optional delayed highlighting (useful on slow systems), ;;; o Functions to activate/deactivate mic-paren.el is provided. ;;; o Numerous options to control the behaviour and appearance of ;;; mic-paren.el. -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Product = Assurance . Austin, TX . Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire. -Dr. George W. = Crane- -----Original Message----- From: Christopher Balz [mailto:ChristopherBalz@yahoo.com]=20 Sent: Monday, September 16, 2002 1:01 AM To: help-gnu-emacs@gnu.org Subject: Need help with show-paren-mode This has always worked for me until now, when I am dealing with many levels of indentation. The interpreter does not find error with the code but show-paren-mode loses parentheses matching after 15 or so levels of nesting. Is there a setting that I can change to make show-paren-mode capable of dealing with this level of matching? This is the code that I use in my .emacs file to set parentheses matching: (show-paren-mode 1) emacs4ever, - cb _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs