unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Need help with show-paren-mode
@ 2002-09-16  6:00 Christopher Balz
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Balz @ 2002-09-16  6:00 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Need help with show-paren-mode
@ 2002-09-16 20:33 Bingham, Jay
  0 siblings, 0 replies; 5+ messages in thread
From: Bingham, Jay @ 2002-09-16 20:33 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with show-paren-mode
       [not found] <mailman.1032208469.32227.help-gnu-emacs@gnu.org>
@ 2002-09-17 11:13 ` Klaus Berndl
  0 siblings, 0 replies; 5+ messages in thread
From: Klaus Berndl @ 2002-09-17 11:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Need help with show-paren-mode
@ 2002-09-17 17:16 Bingham, Jay
  0 siblings, 0 replies; 5+ messages in thread
From: Bingham, Jay @ 2002-09-17 17:16 UTC (permalink / raw)


Klaus,

Thanks for the pointing out the correct place to get the latest version of mic-paren.  I did not look very hard yesterday to see if I could find a newer version than 3.2 which is the latest one that I have.  Neither of the two locations where I looked had newer versions (http://user.it.uu.se/~mic/emacs.shtml had 3.2 and http://www.gnusoftware.com/Emacs/Lisp/ had 2.0).  
It would be nice if the maintainers of both these sites would point to the correct place to get the latest version, now that it seems to have found a permanent home.
Using the search engine at vivisimo.com I found 58 references to mic-paren.el.  All that I looked at with the exception of the wiki site contain or point to old versions.


-_
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: 	Klaus Berndl [mailto:Klaus.Berndl@raibau.raiffeisen.at] 
Sent:	Tuesday, September 17, 2002 6:13 AM
To:	help-gnu-emacs@gnu.org
Subject:	Re: Need help with show-paren-mode

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
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with show-paren-mode
       [not found] <mailman.1032283096.1680.help-gnu-emacs@gnu.org>
@ 2002-09-18  7:25 ` Klaus Berndl
  0 siblings, 0 replies; 5+ messages in thread
From: Klaus Berndl @ 2002-09-18  7:25 UTC (permalink / raw)


On Tue, 17 Sep 2002, Jay Bingham wrote:

>  Klaus,
>  
>  Thanks for the pointing out the correct place to get the latest version of
>  mic-paren. I did not look very hard yesterday to see if I could find a
>  newer version than 3.2 which is the latest one that I have. Neither of the
>  two locations where I looked had newer versions
>  (http://user.it.uu.se/~mic/emacs.shtml had 3.2 and
>  http://www.gnusoftware.com/Emacs/Lisp/ had 2.0). It would be nice if the
>  maintainers of both these sites would point to the correct place to get the
>  latest version, now that it seems to have found a permanent home. Using the
>  search engine at vivisimo.com I found 58 references to mic-paren.el. All
>  that I looked at with the exception of the wiki site contain or point to
>  old versions.

Ok, i will send a message to the two explicit sites you mentioned above if
they could update their site and add a link to the wiki-site.

Thanks,
Klaus


-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-18  7:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-16  6:00 Need help with show-paren-mode Christopher Balz
  -- strict thread matches above, loose matches on Subject: below --
2002-09-16 20:33 Bingham, Jay
     [not found] <mailman.1032208469.32227.help-gnu-emacs@gnu.org>
2002-09-17 11:13 ` Klaus Berndl
2002-09-17 17:16 Bingham, Jay
     [not found] <mailman.1032283096.1680.help-gnu-emacs@gnu.org>
2002-09-18  7:25 ` Klaus Berndl

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).