From: Ari Roponen <ari.roponen@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 11577@debbugs.gnu.org
Subject: bug#11577: 24.1.50; show-paren-mode broken in trunk
Date: Tue, 29 May 2012 14:45:43 +0300 [thread overview]
Message-ID: <87vcjffbx4.fsf@gmail.com> (raw)
In-Reply-To: <4FC499F6.8020301@gmx.at> (martin rudalics's message of "Tue, 29 May 2012 11:42:14 +0200")
martin rudalics <rudalics@gmx.at> writes:
> Some change in the last four days broke `show-paren-mode' here:
>
I was just about to report the same problem :-)
Using GIT + bisect, I found that the bug comes from:
commit 96f1e61015615eef4fce55e7a4b1019e8e215efc
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri May 25 13:30:19 2012 -0700
* src/buffer.c (Fmove_overflay): Clip instead of trying to fix bug 9642.
The following patch seems to fix the problem:
diff --git a/src/buffer.c b/src/buffer.c
index 5d431f2..74d2efb 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -3758,8 +3758,8 @@ buffer. */)
eassert (XOVERLAY (overlay)->next == NULL);
}
- Fset_marker (OVERLAY_START (overlay), beg, buffer);
- Fset_marker (OVERLAY_END (overlay), end, buffer);
+ Fset_marker (OVERLAY_START (overlay), make_number (n_beg), buffer);
+ Fset_marker (OVERLAY_END (overlay), make_number (n_end), buffer);
/* Put the overlay on the wrong list. */
end = OVERLAY_END (overlay);
--
Ari Roponen
next prev parent reply other threads:[~2012-05-29 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-29 9:42 bug#11577: 24.1.50; show-paren-mode broken in trunk martin rudalics
2012-05-29 11:45 ` Ari Roponen [this message]
[not found] ` <handler.11577.B.133828464911272.ack@debbugs.gnu.org>
2012-06-01 13:47 ` bug#11577: Acknowledgement (24.1.50; show-paren-mode broken in trunk) martin rudalics
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=87vcjffbx4.fsf@gmail.com \
--to=ari.roponen@gmail.com \
--cc=11577@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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).