From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: Need help with show-paren-mode Date: 17 Sep 2002 13:13:10 +0200 Organization: UTA/netway (Customer) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1032261961 30859 127.0.0.1 (17 Sep 2002 11:26:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2002 11:26:01 +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 17rGUR-00081b-00 for ; Tue, 17 Sep 2002 13:25:59 +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 17rGUh-0002mw-00; Tue, 17 Sep 2002 07:26:15 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!news.netway.at!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 88 Original-NNTP-Posting-Host: 195.96.24.28 Original-X-Trace: newsreader1.netway.at 1032261383 22405 195.96.24.28 (17 Sep 2002 11:16:23 GMT) Original-X-Complaints-To: abuse@netway.at Original-NNTP-Posting-Date: 17 Sep 2002 11:16:23 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Forwarded: by - (DeleGate/7.5.3) Original-Xref: nntp.stanford.edu gnu.emacs.help:104973 Original-To: help-gnu-emacs@gnu.org 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:1528 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1528 On Mon, 16 Sep 2002, Jay Bingham wrote: > 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. I would recommend this package too (i'm the maintainer :-) but i would also recommend to use the latest version and also to use the only actual download-site which is http://www.emacswiki.org/elisp/. The ELL (http://www.anc.ed.ac.uk/~stephen/emacs/ell.html) has also a valid link to this site. http://user.it.uu.se/~mic/emacs.shtml does not longer contain actual versions of mic-paren.el. The version 3.2 contained on that website is very old! Current version is 3.7! Ciao, Klaus > > 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] > 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 -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220