From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#56393: Actually fix the long lines display bug Date: Fri, 8 Jul 2022 07:49:30 +0200 Message-ID: <9C70BEF7-08EC-46A0-89D3-547417FA01F8@gmail.com> References: <38c1a31040d2d2bc47ae@heytings.org> <38c1a310405bd4bbe370@heytings.org> <87a69n98yy.fsf@yahoo.com> <38c1a31040f5546dbd3a@heytings.org> <87czej6buq.fsf@gnus.org> <38c1a31040e66d2b273e@heytings.org> <834jzt59jt.fsf@gnu.org> <831qux5806.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C7076BBF-32C4-483E-B633-3568418EE315"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40872"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, larsi@gnus.org, 56393@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 08 07:53:11 2022 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 1o9gvO-000AOs-BL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 07:53:10 +0200 Original-Received: from localhost ([::1]:54752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9gvN-0008MD-9k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 01:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9gsM-0004cU-BH for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 01:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9gsL-0003qA-VX for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 01:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9gsL-0001CN-TV for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 01:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2022 05:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56393 X-GNU-PR-Package: emacs Original-Received: via spool by 56393-submit@debbugs.gnu.org id=B56393.16572593804572 (code B ref 56393); Fri, 08 Jul 2022 05:50:01 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 8 Jul 2022 05:49:40 +0000 Original-Received: from localhost ([127.0.0.1]:58543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9grz-0001Bg-UP for submit@debbugs.gnu.org; Fri, 08 Jul 2022 01:49:40 -0400 Original-Received: from mail-ej1-f42.google.com ([209.85.218.42]:40559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9gry-0001BT-7i for 56393@debbugs.gnu.org; Fri, 08 Jul 2022 01:49:38 -0400 Original-Received: by mail-ej1-f42.google.com with SMTP id dn9so30656712ejc.7 for <56393@debbugs.gnu.org>; Thu, 07 Jul 2022 22:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=wVcHKlMzJb9B5VA7wdezUB5FyDp5vXCtY4UopAE/Pf4=; b=PCVFUKUa0Hd6CgidJ4mejl9Rx4CAcxs6+hDGnnnCgKnjZaUCmYHa2RpvVVpUUoVV2c dJZ+RWwgg8ITsKMuRPqnaQTVF5SZ2MCG7rKjBOL3dJfQbfPcGUy4cinFQiZ44AEeCq6V kGTR4/4f0RSG5RzlUUiqxorJhiZsUNfbIQgfmRJAalyLz42CqHH1OA92KN6U3RPt5KEt kSf0LGDlwcVegSkz70yMZYDzKLM8WZxJP3lRNCTMcfT2xJuILpB4k1tq4FruQF+Q3v+y q0wLNzIqLyl52ILEHNYNfBRaKQVunsuLE0vLxqsBRhrYWknvb8XP6ekTUlw1d3OyIT20 djyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=wVcHKlMzJb9B5VA7wdezUB5FyDp5vXCtY4UopAE/Pf4=; b=vwomk76taCm66oIhlYPnAx+mKMTQnY9QZ9kl0+4rXaJDWHjrTU76a/gn7Wu1ZHSr/3 1Nws95qO7uo5g0hpqjhjecnmiVU8aTF2YsJeMndUe63pnPYBLr+t3NXc6TejVsdYaxdX 3L3BfiXyLL9wEjH9Mctntpih0tugbm1Ut6L3IhJebVXTPG1h+hM8FoGfKRbk5xOpZClV FDCjrjE2xuyjyVhgZjee6BLEmzsRpC04ePKSCSC/mViLeIgKuiYRN13WACfc21/KLul5 Rx4U9K+vNsJw3hwRqhN4aCRu5FkvKuAuSHTArvWoyv+F6bzPYhaVV2NeftHADDKFVfX4 Lx/w== X-Gm-Message-State: AJIora9ua6vfObsiomy9+3vFYHRmFf7wvotbqvklemLXO5QG2SYQrBuC C9ldU+HkcjsVAEARYbTIG94VIa/cIaRo8xs1 X-Google-Smtp-Source: AGRyM1tYicj1exAup341wz+kXNwCqsA+g6dJ5cojHhg+rCWd6LkIT+bBgfoE97KI5X1+1bW1boPA6A== X-Received: by 2002:a17:907:a056:b0:72b:1964:fbcc with SMTP id gz22-20020a170907a05600b0072b1964fbccmr1854390ejc.489.1657259372515; Thu, 07 Jul 2022 22:49:32 -0700 (PDT) Original-Received: from smtpclient.apple (pd9e36b80.dip0.t-ipconnect.de. [217.227.107.128]) by smtp.gmail.com with ESMTPSA id g22-20020a056402091600b0043aa17dc199sm1528737edz.90.2022.07.07.22.49.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2022 22:49:31 -0700 (PDT) In-Reply-To: <831qux5806.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.100.31) 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:236428 Archived-At: --Apple-Mail=_C7076BBF-32C4-483E-B633-3568418EE315 Content-Type: multipart/alternative; boundary="Apple-Mail=_F325E25C-253C-4A05-A753-53FDEC6734B5" --Apple-Mail=_F325E25C-253C-4A05-A753-53FDEC6734B5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 2022-07-07,, at 16:10 , Eli Zaretskii wrote: > >> Yes, this should test window_end_valid before using window_end_pos. >> An alternative could be window-start point plus some estimation of the >> window's text, perhaps? > > Actually, we could be more accurate: we could use move_it_to, > similarly to what pos_visible_p does when passed -1 as the position. That's a possibility, indeed. --Apple-Mail=_F325E25C-253C-4A05-A753-53FDEC6734B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On 2022-07-07,, at 16:10 , Eli Zaretskii <eliz@gnu.org> = wrote:

Yes, this should test = window_end_valid before using window_end_pos.
An = alternative could be window-start point plus some estimation of the
window's text, perhaps?

Actually, we could be more = accurate: we could use move_it_to,
similarly to what pos_visible_p does when passed -1 as the = position.

That's a possibility, indeed.
= --Apple-Mail=_F325E25C-253C-4A05-A753-53FDEC6734B5-- --Apple-Mail=_C7076BBF-32C4-483E-B633-3568418EE315 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAEBCgAdFiEEirYePpiT82Hjkftpc+obGZDFPmMFAmLHxWoACgkQc+obGZDF PmPhOxAAj1aZXmdEgF+dSyH3Vy0WJq0IsB6auxNGfwFa7nFRO1wEttr6NQbJnj2c AM34tBCPGPRQMp/h4/tk5uKwYCs6L5nFT0ZKuki1K6k4PWVkzKW2yDfbmy4doiS3 zuLwUd20nLNS3EQ4Hn4u4tHLQ7uGQ2aXwawiT8M7sj6qj/W0290O+zEsKtAvfnzb MmnNDkHWbC35xsWOY6Pb+yezyvA7gBjYA6Wy+/RLSEETGWV7P4cpfMXm/lCaRL4/ xld/u+nRwyYBr+vH7erqPMnQqWdpTjCyMf3Bd+0b4rp0GKu/j6Sz13trimyWT14h CMJVoR1h58IjFosIQjFFt8ydqKchmwU6DM54nIrAD1FIJevYS+n5X9PPnZ3bG5cf NUn62/dqY7GUAa/GJkuAw162+s97DXobmZ7LPz1JRs+d+FOdEhlFKuWQ0N8GcC5L B+BdUvZFdvgJAJKwuB5RhmAzVLFkZ7UMQRl0xyMwg0HNS9s4dre9tkn7APfiz8Df poGpmXdBxFnwoDJT0T2BIPpfbAlyHuPo+2H2CF90alz4rRvDPKxmdaD+bemsfJ7Q iPuTY5ZCyRVx+vG7pfs8mdY5i7HH2oEiAZBiCUEleQrMlzDl/Q5XjDpY01Wupi0D 58CDLtctVqMiHCcXMgdTaF/nlqejGGuORC1IW5gzj4/fDW/oU1s= =2nr7 -----END PGP SIGNATURE----- --Apple-Mail=_C7076BBF-32C4-483E-B633-3568418EE315--