From: Sven Joachim <svenjoac@gmx.de>
To: Joe Wells <jbw@macs.hw.ac.uk>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: parentheses matching failure on valid sexp
Date: Tue, 11 Sep 2007 07:59:52 +0200 [thread overview]
Message-ID: <87zlzt2147.fsf@gmx.de> (raw)
In-Reply-To: <86fy1lojua.fsf@macs.hw.ac.uk> (Joe Wells's message of "Tue\, 11 Sep 2007 06\:24\:29 +0100")
Joe Wells <jbw@macs.hw.ac.uk> writes:
> To reproduce this bug:
>
> 1. Save the attached file as foobar.el.
> 2. Run “emacs -Q foobar.el”.
> 3. Delete the trailing right parenthesis on line 435.
> 4. Type a right parenthesis.
>
> The correct behavior would be to match the leading left parenthesis on
> line 1. The actual buggy behavior is that the message “Mismatched
> parentheses” is given.
>
> This bug is sensitive to the size of the input. If you delete much of
> the input, then the bug goes away.
This is documented behavior, see the variable blink-matching-paren-distance:
,----
| blink-matching-paren-distance is a variable defined in `simple.el'.
| Its value is 25600
|
|
| Documentation:
| *If non-nil, maximum distance to search backwards for matching open-paren.
| If nil, search stops at the beginning of the accessible portion of the buffer.
|
| You can customize this variable.
`----
next prev parent reply other threads:[~2007-09-11 5:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 5:24 parentheses matching failure on valid sexp Joe Wells
2007-09-11 5:59 ` Sven Joachim [this message]
2007-09-11 7:03 ` Joe Wells
2007-09-11 7:07 ` Joe Wells
2007-09-13 6:40 ` Andreas Röhler
2007-09-11 6:46 ` martin rudalics
2007-09-11 12:55 ` Stefan Monnier
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=87zlzt2147.fsf@gmx.de \
--to=svenjoac@gmx.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=jbw@macs.hw.ac.uk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).