retitle 149341 emacs21: Please document that `show-paren-mode' is influenced by 
`blink-matching-paren-distance'
severity 149341 wishlist
thanks

[ Please forgive the "slightly" delayed response.  I hope it's still
  useful. ]

On 2002-06-07 21:54 +0200, Oohara Yuuma wrote:

> Package: emacs21
> Version: 21.1-7
> Severity: normal
>
> show-paren-mode cannot handle a very long line.  For example:
>
> perl -e 'print "{"; print "p" x 200000; print "}"' > foo.txt
>
> These {} do match, but show-paren-mode says "Mismatched parentheses".

The reason is not the long line, but rather the large number of
characters between the brackets.  For performance reasons, Emacs limits
the search for the matching paren to 25600 characters by default, see
the customizable variable `blink-matching-paren-distance'.

The docstring of show-paren-mode should probably mention that variable,
see also #473917.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to