From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50096: args-out-of-range in redisplay_internal Date: Fri, 20 Aug 2021 10:09:34 +0300 Organization: LINKOV.NET Message-ID: <87sfz4ll75.fsf@mail.linkov.net> References: <87r1esys1a.fsf@mail.linkov.net> <83v94456sn.fsf@gnu.org> <87h7foyo67.fsf@mail.linkov.net> <87im04x8mm.fsf@mail.linkov.net> <83sfz8543o.fsf@gnu.org> <874kbox736.fsf@mail.linkov.net> <83mtpf6hjb.fsf@gnu.org> <87eearx5tz.fsf@mail.linkov.net> <83k0kj6gmq.fsf@gnu.org> <87im03tc6g.fsf@mail.linkov.net> <834kbn54kq.fsf@gnu.org> <87y28yspf2.fsf@mail.linkov.net> <838s0y4rgf.fsf@gnu.org> <83v94239un.fsf@gnu.org> <87h7flx5rx.fsf@mail.linkov.net> <83wnoh26qw.fsf@gnu.org> <83tujl1ud1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27327"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50096@debbugs.gnu.org, Clemens To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 20 09:33:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGz1e-0006z3-K9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 09:33:14 +0200 Original-Received: from localhost ([::1]:40252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGz1d-0001pv-5D for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 03:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGz1S-0001n7-Gw for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGz1S-0004yq-9y for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGz1S-0004Yg-6V for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Aug 2021 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50096 X-GNU-PR-Package: emacs Original-Received: via spool by 50096-submit@debbugs.gnu.org id=B50096.162944476017469 (code B ref 50096); Fri, 20 Aug 2021 07:33:02 +0000 Original-Received: (at 50096) by debbugs.gnu.org; 20 Aug 2021 07:32:40 +0000 Original-Received: from localhost ([127.0.0.1]:32891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGz13-0004Xb-1S for submit@debbugs.gnu.org; Fri, 20 Aug 2021 03:32:40 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGz12-0004XH-7A; Fri, 20 Aug 2021 03:32:36 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id DB0A82000B; Fri, 20 Aug 2021 07:32:28 +0000 (UTC) In-Reply-To: <83tujl1ud1.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Aug 2021 15:39:38 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212251 Archived-At: tags 50096 fixed close 50096 28.0.50 thanks > 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. Thanks, now everything works fine. I think mini-window doesn't need hscrolling, because it should display the beginning of the truncated echo-area message, not its end.