From: Andrew Hyatt <ahyatt@gmail.com>
To: Matrix <min.matrix@gmail.com>
Cc: 5410@debbugs.gnu.org
Subject: bug#5410: Parenthesis Matching Bug!!
Date: Wed, 03 Aug 2016 22:18:50 -0400 [thread overview]
Message-ID: <m2ziotcm45.fsf@Andrews-MacBook-Pro.local> (raw)
In-Reply-To: <1263817237.2894.15.camel@matrix-laptop> (Matrix's message of "Mon, 18 Jan 2010 20:20:37 +0800")
Matrix <min.matrix@gmail.com> writes:
> Hello , developer! I am a student of china . I like emacs very much .
> I use it to read txt-format book(because the color-theme of my emacs is
> very good for eye!^^) . I also use emacs to coding!good~!!
> But now I find a bug in emacs :( . May be it`s not a bug , I want to
> believe this.Now The-Bug as follow:
>
> // Print a message and dump core (equivalent to ASSERT(FALSE)
> without
> // making the compiler whine).
>
> The Parenthesis-Matching-highlight is work with the second '(' .
> yeah , When my cursor at the second '(' the first ')' highlight . But
> when my cursor at first '(' , the second ')' doesn`t highlight and show
> unmatch Parenthesis....I think this is wrong , It match as: ( ( ) ).
>
> ^^ , I like emacs , I want it to be more good tool for me and other
> programer!!
> Thanks developers!!!
Hi, sorry for the late reply.
Your example reproduces for me in Emacs 25. My guess is that emacs
doesn't really assume that comment lines should be treated as a
contiguous text block. Which is sometimes right, sometimes not, in my
experience. For example, you could have comments that are something
like:
// This function does three things:
// 1) Reverse the string
// 2) Uuencode the string
// 3) Rot-13 the string
Which certainly wouldn't make a lot of sense treated contiguously.
Does anyone have any opinions whether this is a bug or a wishlish item?
next prev parent reply other threads:[~2016-08-04 2:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 12:20 bug#5410: Parenthesis Matching Bug!! Matrix
2016-08-04 2:18 ` Andrew Hyatt [this message]
2016-08-04 2:55 ` Michael Heerdegen
2016-08-04 20:17 ` Andrew Hyatt
2016-08-04 21:47 ` Michael Heerdegen
2016-08-11 3:57 ` Andrew Hyatt
2016-08-23 15:02 ` Michael Heerdegen
2022-05-02 9:02 ` bug#5410: bug#5411: show-paren-mode and parens spread over multi-line comments Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ziotcm45.fsf@Andrews-MacBook-Pro.local \
--to=ahyatt@gmail.com \
--cc=5410@debbugs.gnu.org \
--cc=min.matrix@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.