* Recent change in intervals.c
@ 2003-09-29 19:04 Stefan Monnier
2003-09-30 12:22 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2003-09-29 19:04 UTC (permalink / raw)
Could someone double check that the patch below is correct and doesn't
leave yet another "corner case" ?
Stefan
Index: intervals.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/intervals.c,v
retrieving revision 1.125
diff -u -u -b -r1.125 intervals.c
--- intervals.c 22 Sep 2003 15:51:19 -0000 1.125
+++ intervals.c 29 Sep 2003 18:59:58 -0000
@@ -1823,9 +1968,9 @@
while (! NULL_INTERVAL_P (over))
{
/* If UNDER is longer than OVER, split it. */
- if (LENGTH (over) < LENGTH (under))
+ if (LENGTH (over) - over_used < LENGTH (under))
{
- this = split_interval_left (under, LENGTH (over));
+ this = split_interval_left (under, LENGTH (over) - over_used);
copy_properties (under, this);
}
else
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Recent change in intervals.c
2003-09-29 19:04 Recent change in intervals.c Stefan Monnier
@ 2003-09-30 12:22 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-09-30 12:22 UTC (permalink / raw)
Cc: emacs-devel
This change is correct--I wrote it myself but have not installed it
yet due to hassles of travel and net access. However, another fix is
also needed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-30 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-29 19:04 Recent change in intervals.c Stefan Monnier
2003-09-30 12:22 ` Richard Stallman
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.