[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with show-paren-mode

From: Klaus Berndl
Subject: Re: Need help with show-paren-mode
Date: 17 Sep 2002 13:13:10 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

On Mon, 16 Sep 2002, Jay Bingham wrote:

>  I use mic-paren ( 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 The ELL
( has also a valid link to
this site. 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!


>  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:address@hidden 
>  Sent:        Monday, September 16, 2002 1:01 AM
>  To:  address@hidden
>  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
>  address@hidden

Klaus Berndl                    mailto: address@hidden
sd&m AG               
software design & management    
Thomas-Dehler-Str. 27, 81737 M√ľnchen, Germany
Tel +49 89 63812-392, Fax -220

reply via email to

[Prev in Thread] Current Thread [Next in Thread]