GNU bug report logs -
#50096
args-out-of-range in redisplay_internal
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 17 Aug 2021 16:09:02 UTC
Severity: normal
Tags: fixed
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #56 received at 50096 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 19 Aug 2021 11:12:07 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 50096 <at> debbugs.gnu.org
>
> > From: Juri Linkov <juri <at> linkov.net>
> > Cc: 50096 <at> debbugs.gnu.org
> > Date: Thu, 19 Aug 2021 10:17:22 +0300
> >
> > Fortunately, finally I found the shortest test case 100% reproducible
> > in 'emacs -Q'. The line '(set-buffer (get-buffer-create "*test*"))'
> > is not necessary, it just causes a slightly different error.
> > Without 'set-buffer', the error is: (args-out-of-range 1737)
> > With 'set-buffer', the error is: (args-out-of-range 1737 1737)
>
> Thanks. This actually produces an assertion violation here (I guess
> your Emacs is compiled without --enable-checking). I'll work on this.
This problem is the side effect of fixing bug#46718. Before that fix,
we never resized mini-windows when truncate-lines was non-nil in the
buffer displayed in that window. And now we know why.
Unfortunately, the best I could do to fix this is disable hscrolling
in display of echo-area messages (but NOT in the minibuffer editing --
that should still work). Please see the latest master and tell if
this is acceptable. If it isn't, the only alternative I see is to
back out the fix for bug#46718, which I suspect Clemens won't like...
Or maybe someone braver than myself will redesign and re-implement
with_echo_area_buffer in a way that avoids creating this situation
with glyph matrices in the first place.
This bug report was last modified 3 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.