GNU bug report logs -
#11577
24.1.50; show-paren-mode broken in trunk
Previous Next
Reported by: martin rudalics <rudalics <at> gmx.at>
Date: Tue, 29 May 2012 09:45:02 UTC
Severity: normal
Merged with 11579
Found in version 24.1.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
martin rudalics <rudalics <at> 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 <at> 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
This bug report was last modified 12 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.