From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: Need help with show-paren-mode
Date: Mon, 16 Sep 2002 15:33:15 -0500 [thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5032DFFF4@txnexc01.americas.cpqcorp.net> (raw)
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]
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
next reply other threads:[~2002-09-16 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 20:33 Bingham, Jay [this message]
[not found] <mailman.1032283096.1680.help-gnu-emacs@gnu.org>
2002-09-18 7:25 ` Need help with show-paren-mode Klaus Berndl
-- strict thread matches above, loose matches on Subject: below --
2002-09-17 17:16 Bingham, Jay
[not found] <mailman.1032208469.32227.help-gnu-emacs@gnu.org>
2002-09-17 11:13 ` Klaus Berndl
2002-09-16 6:00 Christopher Balz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72A87F7160C0994D8C5A36E2FDC227F5032DFFF4@txnexc01.americas.cpqcorp.net \
--to=jay.bingham@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).