GNU logs - #14582, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: E Sabof <esabof@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 09:14:02 +0000
Resent-Message-ID: <handler.14582.B.137076922116510 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 14582 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.137076922116510
          (code B ref -1); Sun, 09 Jun 2013 09:14:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Jun 2013 09:13:41 +0000
Received: from localhost ([127.0.0.1]:52762 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ulbgt-0004I4-OQ
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55545)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgm-0004He-J2
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgb-0001kH-E5
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36413)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgb-0001kD-BH
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57251)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgY-0006oW-TW
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgU-0001jb-8x
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:14 -0400
Received: from mail-qe0-f52.google.com ([209.85.128.52]:45639)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgU-0001jW-45
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:10 -0400
Received: by mail-qe0-f52.google.com with SMTP id i11so3497336qej.25
 for <bug-gnu-emacs@HIDDEN>; Sun, 09 Jun 2013 02:13:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=VTqMfHRLfCPQojzgPv0PW7kFY8aDZo71SS2nl2zb3+8=;
 b=wb6DW9lTpmJgEm1e7xZ+CbqMcsu5MClJ/HaUkQoHDDQe9dGrksJmbAg7WPrZ9paQov
 oxGBHuUBuMAlIMK9AoVdk3EQ96L6Jn+VljmBkGgCXZea7ShZC0GovjcXzUKFtqbbAx1h
 IGDP6od1mOobYUIjN4UTf7eE0PLsTOv0bZoGjzqhYAQGv2ekVLlJ2DCOtl0+PgSPGJWE
 SetePXcXayQ1wPE6NwZqKqXuwDE3M0iavOC4E+dh16svnCKSm9n3e2CNo/IL3+e6hkaS
 0sMaRDr3X2vK8fDuPZdhaI296qzm0J76pJ4Q0yXN2+gPgYt3YSR78FU2piB0NafI15Jk
 TtvQ==
MIME-Version: 1.0
X-Received: by 10.224.29.6 with SMTP id o6mr9667650qac.58.1370769189654; Sun,
 09 Jun 2013 02:13:09 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 02:13:09 -0700 (PDT)
Date: Sun, 9 Jun 2013 10:13:09 +0100
Message-ID: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
From: E Sabof <esabof@HIDDEN>
Content-Type: multipart/alternative; boundary=001a11c1de8e9e55ea04deb51277
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

--001a11c1de8e9e55ea04deb51277
Content-Type: text/plain; charset=ISO-8859-1

Evaluate in emacs -Q

(let (pt pt2 ws ov)
  (insert "Lorem ipsum dolor sit amet.")
  (setq pt (point))
  (insert "Consectetuer adipiscing elit." "\n")
  (setq ws (point))
  (insert "Phasellus lacus." "\n")
  (insert "Cum sociis natoque penatibus et magnis dis.")
  (setq pt2 (point))
  (insert "\n")
  (insert "Parturient montes, nascetur ridiculus mus." "\n")
  (insert "Nullam eu ante vel est convallis dignissim." "\n")
  (set-window-start nil ws)
  (setq ov (make-overlay pt pt2))
  (overlay-put ov 'display "..."))

It will appear as though the overlay is at the beginning of the line, even
though it's not.

Evgeni

--001a11c1de8e9e55ea04deb51277
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Evaluate in emacs -Q</div><div><br></div><div>(let (p=
t pt2 ws ov)</div><div>=A0 (insert &quot;Lorem ipsum dolor sit amet.&quot;)=
</div><div>=A0 (setq pt (point))</div><div>=A0 (insert &quot;Consectetuer a=
dipiscing elit.&quot; &quot;\n&quot;)</div>
<div>=A0 (setq ws (point))</div><div>=A0 (insert &quot;Phasellus lacus.&quo=
t; &quot;\n&quot;)</div><div>=A0 (insert &quot;Cum sociis natoque penatibus=
 et magnis dis.&quot;)</div><div>=A0 (setq pt2 (point))</div><div>=A0 (inse=
rt &quot;\n&quot;)</div>
<div>=A0 (insert &quot;Parturient montes, nascetur ridiculus mus.&quot; &qu=
ot;\n&quot;)</div><div>=A0 (insert &quot;Nullam eu ante vel est convallis d=
ignissim.&quot; &quot;\n&quot;)</div><div>=A0 (set-window-start nil ws)</di=
v>
<div>=A0 (setq ov (make-overlay pt pt2))</div><div>=A0 (overlay-put ov &#39=
;display &quot;...&quot;))</div><div><br></div><div>It will appear as thoug=
h the overlay is at the beginning of the line, even though it&#39;s not.</d=
iv>
<div><br></div><div>Evgeni</div></div>

--001a11c1de8e9e55ea04deb51277--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: E Sabof <esabof@HIDDEN>
Subject: bug#14582: Acknowledgement (24.3.50.1; Strange overlay behavior,
 when window-start is inside an overlay.)
Message-ID: <handler.14582.B.137076922116510.ack <at> debbugs.gnu.org>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
X-Gnu-PR-Message: ack 14582
X-Gnu-PR-Package: emacs
Reply-To: 14582 <at> debbugs.gnu.org
Date: Sun, 09 Jun 2013 09:14:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 14582 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
14582: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14582
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 17:08:02 +0000
Resent-Message-ID: <handler.14582.B14582.13707976553303 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: E Sabof <esabof@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.13707976553303
          (code B ref 14582); Sun, 09 Jun 2013 17:08:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:07:35 +0000
Received: from localhost ([127.0.0.1]:53483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ulj5a-0000rA-G7
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:07:34 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:51309)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1Ulj5Y-0000qt-Ag
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:07:33 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MO400A00Y6B2S00@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 20:06:53 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO40092WY7FSK40@HIDDEN>;
 Sun, 09 Jun 2013 20:06:51 +0300 (IDT)
Date: Sun, 09 Jun 2013 20:06:51 +0300
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <83y5ajmcwk.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 10:13:09 +0100
> From: E Sabof <esabof@HIDDEN>
> 
> Evaluate in emacs -Q
> 
> (let (pt pt2 ws ov)
>   (insert "Lorem ipsum dolor sit amet.")
>   (setq pt (point))
>   (insert "Consectetuer adipiscing elit." "\n")
>   (setq ws (point))
>   (insert "Phasellus lacus." "\n")
>   (insert "Cum sociis natoque penatibus et magnis dis.")
>   (setq pt2 (point))
>   (insert "\n")
>   (insert "Parturient montes, nascetur ridiculus mus." "\n")
>   (insert "Nullam eu ante vel est convallis dignissim." "\n")
>   (set-window-start nil ws)
>   (setq ov (make-overlay pt pt2))
>   (overlay-put ov 'display "..."))
> 
> It will appear as though the overlay is at the beginning of the line, even
> though it's not.

"If it hurts, don't do that."  You've put window-start on a position
that is at the beginning of a line, but happens to be covered by an
overlay.  Emacs obeyed.

What did you expect instead, and why?  Is there some real-life use
case where this causes trouble?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: E Sabof <esabof@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 17:38:01 +0000
Resent-Message-ID: <handler.14582.B14582.13707994457625 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.13707994457625
          (code B ref 14582); Sun, 09 Jun 2013 17:38:01 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:37:25 +0000
Received: from localhost ([127.0.0.1]:53531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UljYS-0001yr-Ho
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:37:24 -0400
Received: from mail-qc0-f182.google.com ([209.85.216.182]:59633)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UljYQ-0001yU-Ph
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:37:23 -0400
Received: by mail-qc0-f182.google.com with SMTP id e10so964455qcy.13
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 10:37:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=ZRCAWjOl51fppmiSrNOre46cYcQr2y2OEtZ1lOF4l6E=;
 b=LDK6NJ1G3e/hlyioN0/WFAmFh9TWKSv0p0Do/d2rGHPEXvwvx81Apz6k4frHvmunbV
 azyFZ3lgU972X8adgWJx1MzjjhPGVxZzpRE+wajsA9y01MJkl86PvkxRwUaKS5zVvWKi
 vF/Ih9N4hKn4lj/j35A/G+iTj/eb+xIuIFesTaHQh/dlnXZLX2WrQPKBxRYuG75E6rIe
 IayWRCIWAGVOfV85B9SQA9MhE+GZlE9QsukyZMSzp1iX/Gg1+OOoN+MpEk9cQxEp1RG0
 gPTBv8fcIgod6Y7vRaunfzxqit3fWy+flNZCNPZKLk7jhZdBp39q7Rzkf5fmSG88Zu2l
 X3Lw==
MIME-Version: 1.0
X-Received: by 10.229.94.77 with SMTP id y13mr1351555qcm.98.1370799432676;
 Sun, 09 Jun 2013 10:37:12 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 10:37:12 -0700 (PDT)
In-Reply-To: <83y5ajmcwk.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 18:37:12 +0100
Message-ID: <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
From: E Sabof <esabof@HIDDEN>
Content-Type: multipart/alternative; boundary=14dae94edcbd3e3a3604debc1df5
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--14dae94edcbd3e3a3604debc1df5
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 6:06 PM, Eli Zaretskii <eliz@HIDDEN> wrote:
>
> "If it hurts, don't do that."  You've put window-start on a position
> that is at the beginning of a line, but happens to be covered by an
> overlay.  Emacs obeyed.
>
> What did you expect instead, and why?  Is there some real-life use
> case where this causes trouble?
>

I think the correct behavior would be to adjust the window-position. As far
as the window is concerned, putting a hiding overlay should be no different
than deleting text.

Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
similar commands.

--14dae94edcbd3e3a3604debc1df5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Sun, Jun 9, 2013 at 6:06 PM, Eli Zaretskii <span dir=3D"ltr">&lt=
;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt;</sp=
an> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">

&quot;If it hurts, don&#39;t do that.&quot; =A0You&#39;ve put window-start =
on a position<br>
that is at the beginning of a line, but happens to be covered by an<br>
overlay. =A0Emacs obeyed.<br>
<br>
What did you expect instead, and why? =A0Is there some real-life use<br>
case where this causes trouble?<br>
</blockquote></div><br></div><div class=3D"gmail_extra">I think the correct=
 behavior would be to adjust the window-position. As far as the window is c=
oncerned, putting a hiding overlay should be no different than deleting tex=
t.</div>
<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Yes, it hap=
pens quite frequently after (fold-dwim-hide-all), and maybe in similar comm=
ands.=A0</div></div>

--14dae94edcbd3e3a3604debc1df5--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 17:54:02 +0000
Resent-Message-ID: <handler.14582.B14582.137080038213514 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: E Sabof <esabof@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.137080038213514
          (code B ref 14582); Sun, 09 Jun 2013 17:54:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:53:02 +0000
Received: from localhost ([127.0.0.1]:53547 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Uljna-0003Vk-1X
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:53:02 -0400
Received: from mtaout20.012.net.il ([80.179.55.166]:63241)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1UljnX-0003VF-UG
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:53:01 -0400
Received: from conversion-daemon.a-mtaout20.012.net.il by
 a-mtaout20.012.net.il (HyperSendmail v2007.08) id
 <0MO50030008F3400@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 20:52:10 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO50022B0AXU440@HIDDEN>;
 Sun, 09 Jun 2013 20:52:09 +0300 (IDT)
Date: Sun, 09 Jun 2013 20:52:09 +0300
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <83sj0rmat2.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 18:37:12 +0100
> From: E Sabof <esabof@HIDDEN>
> Cc: 14582 <at> debbugs.gnu.org
> 
> I think the correct behavior would be to adjust the window-position.

Adjust to where?

> Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> similar commands.

Who calls set-window-start there, and why do they set window-start in
the middle of text that is hidden?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: E Sabof <esabof@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 18:17:02 +0000
Resent-Message-ID: <handler.14582.B14582.137080177916840 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.137080177916840
          (code B ref 14582); Sun, 09 Jun 2013 18:17:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:16:19 +0000
Received: from localhost ([127.0.0.1]:53578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkA7-0004NY-9h
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:16:19 -0400
Received: from mail-qe0-f50.google.com ([209.85.128.50]:43622)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkA5-0004NA-5k
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:16:17 -0400
Received: by mail-qe0-f50.google.com with SMTP id f6so3601319qej.23
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=m2GxgUSV5Tdy5zVBEl2UmJLyME3AY5FPvhtt5JzGyZg=;
 b=rPMq7CtPy8zNYHZtewt2SBhiIOBs8pkBfFYyKVyBKjg+izzBmbvhfXUKPj2MPwBe8m
 h2DI08a6D3zA/Hh1u7LKE359x0P6PSd02TP+q5TCv64xe+sAZkVHPSIbSmCTJXKkrZS4
 u4ojoGnJqlMW2cxpswy8hehkgKkZDdmZ8zYgSof8c8ABsZePdZWKR+bUqeC2uoTIe1xH
 jSaNksR2OBpVnlvQA2Q1fSGwXOMXNLhoBPXd273/hUDI97QUqsZxV0oy7JepN10wwW31
 y4pHQaiaMwkKRN4SGM0DhazO9tXs0WH2SKiRCvfsqx1m+RNHFVQUzxahBxoSTOHlR20J
 pwkw==
MIME-Version: 1.0
X-Received: by 10.224.29.6 with SMTP id o6mr11076939qac.58.1370801767033; Sun,
 09 Jun 2013 11:16:07 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:16:06 -0700 (PDT)
In-Reply-To: <83sj0rmat2.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 19:16:06 +0100
Message-ID: <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
From: E Sabof <esabof@HIDDEN>
Content-Type: multipart/alternative; boundary=001a11c1de8e61b16c04debca8fd
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a11c1de8e61b16c04debca8fd
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <eliz@HIDDEN> wrote:

> > Date: Sun, 9 Jun 2013 18:37:12 +0100
> > From: E Sabof <esabof@HIDDEN>
> > Cc: 14582 <at> debbugs.gnu.org
> >
> > I think the correct behavior would be to adjust the window-position.
>
> Adjust to where?
>

Either to the next or previous character starting a line.

>
> > Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> > similar commands.
>
> Who calls set-window-start there, and why do they set window-start in
> the middle of text that is hidden?
>

There is no need to call it explicitly. Part of a function might be before
the window start, and part after. If one evokes hs-hide-all (to which
fold-dwim-hide-all
delegates), the same thing will happen.

--001a11c1de8e61b16c04debca8fd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <span dir=3D"ltr">&lt=
;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt;</sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">&gt; Date: Sun, 9 Jun 2013 18:37:12 +0100<br>
&gt; From: E Sabof &lt;<a href=3D"mailto:esabof@HIDDEN">esabof@HIDDEN=
</a>&gt;<br>
&gt; Cc: <a href=3D"mailto:14582 <at> debbugs.gnu.org">14582 <at> debbugs.gnu.org</a>=
<br>
<div class=3D"im">&gt;<br>
&gt; I think the correct behavior would be to adjust the window-position.<b=
r>
<br>
</div>Adjust to where?<br></blockquote><div><br></div><div>Either to the ne=
xt or previous character starting a line.</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe=
 in<br>
&gt; similar commands.<br>
<br>
</div>Who calls set-window-start there, and why do they set window-start in=
<br>
the middle of text that is hidden?<br>
</blockquote></div><br></div><div class=3D"gmail_extra">There is no need to=
 call it explicitly. Part of a function might be before the window start, a=
nd part after. If one evokes hs-hide-all (to which=A0<span style=3D"color:r=
gb(80,0,80)">fold-dwim-hide-all delegates), the same thing will happen.</sp=
an></div>
</div>

--001a11c1de8e61b16c04debca8fd--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 18:26:02 +0000
Resent-Message-ID: <handler.14582.B14582.137080236118289 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: E Sabof <esabof@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.137080236118289
          (code B ref 14582); Sun, 09 Jun 2013 18:26:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:26:01 +0000
Received: from localhost ([127.0.0.1]:53583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkJU-0004ku-Cz
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:26:00 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:41447)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1UlkJR-0004kP-LU
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:25:58 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MO500A001RVTZ00@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 21:25:46 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO500AVE1UYGC70@HIDDEN>;
 Sun, 09 Jun 2013 21:25:46 +0300 (IDT)
Date: Sun, 09 Jun 2013 21:25:46 +0300
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <83r4gbm991.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 19:16:06 +0100
> From: E Sabof <esabof@HIDDEN>
> Cc: 14582 <at> debbugs.gnu.org
> 
> > > I think the correct behavior would be to adjust the window-position.
> >
> > Adjust to where?
> >
> 
> Either to the next or previous character starting a line.

You mean, a character that is outside the overlay, I presume.

> > > Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> > > similar commands.
> >
> > Who calls set-window-start there, and why do they set window-start in
> > the middle of text that is hidden?
> >
> 
> There is no need to call it explicitly. Part of a function might be before
> the window start, and part after. If one evokes hs-hide-all (to which
> fold-dwim-hide-all
> delegates), the same thing will happen.

It would help if you could show a recipe with one of these starting
from "emacs -Q".




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: E Sabof <esabof@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 18:41:02 +0000
Resent-Message-ID: <handler.14582.B14582.137080325920675 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.137080325920675
          (code B ref 14582); Sun, 09 Jun 2013 18:41:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:40:59 +0000
Received: from localhost ([127.0.0.1]:53598 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkXy-0005NL-16
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:40:58 -0400
Received: from mail-qe0-f42.google.com ([209.85.128.42]:36348)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkXo-0005Md-S1
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:40:49 -0400
Received: by mail-qe0-f42.google.com with SMTP id s14so3700996qeb.29
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:40:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=NRum2kF2Xe1c3mdBApwP9beOvPiRO25KF1n7a39iYtY=;
 b=skqU0GZ9h3LqSuK06KBG3Y6YXCYovHElnqXhXGViK+PW+rrbpVr7nlb9fi5PLpt3LC
 M1FPiULGoxtWMQ4kc58fKh/2Rx803VSuPwqJGmxh6tVpUWdgK3/PuM8kuOnPhhdta+EM
 aqnRyIYA95qABUmXnv/Xnxl8Ie65FQx9wx+e6/QieVwfoNiYvw/sTxvcZpNsKhegqcG1
 cHRuqed+L2WhXCCI4ZEYNEiihHWlUv54HgNRfCZ8c32VZ2iOi6+F2h+3ae89SJQe8IIt
 IwkeUeCO9KMu6fWVqwUBI6qNdek8V3GBqmYLm+TXxZevCyOOX+uqnRld4d5Qq4eGe2i2
 8BHw==
MIME-Version: 1.0
X-Received: by 10.224.79.209 with SMTP id q17mr10908739qak.88.1370803238743;
 Sun, 09 Jun 2013 11:40:38 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:40:38 -0700 (PDT)
In-Reply-To: <83r4gbm991.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 19:40:38 +0100
Message-ID: <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
From: E Sabof <esabof@HIDDEN>
Content-Type: multipart/alternative; boundary=047d7bf161761a36e004debd00b2
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--047d7bf161761a36e004debd00b2
Content-Type: text/plain; charset=ISO-8859-1

> It would help if you could show a recipe with one of these starting
> from "emacs -Q".
>

Sure:

M-x hs-minor-mode
Scroll until only the last line is visible
M-x hs-hide-all

--047d7bf161761a36e004debd00b2
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
It would help if you could show a recipe with one of these starting<br>
from &quot;emacs -Q&quot;.<br>
</blockquote></div><br></div><div class="gmail_extra">Sure:</div><div class="gmail_extra"><br></div><div class="gmail_extra">M-x hs-minor-mode<div>Scroll until only the last line is visible</div><div>M-x hs-hide-all</div>
<div><br></div></div></div>

--047d7bf161761a36e004debd00b2--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: E Sabof <esabof@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Jun 2013 18:50:02 +0000
Resent-Message-ID: <handler.14582.B14582.137080378822180 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.137080378822180
          (code B ref 14582); Sun, 09 Jun 2013 18:50:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:49:48 +0000
Received: from localhost ([127.0.0.1]:53609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkgW-0005lf-Af
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:49:48 -0400
Received: from mail-qe0-f53.google.com ([209.85.128.53]:33457)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkgT-0005lC-Rl
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:49:46 -0400
Received: by mail-qe0-f53.google.com with SMTP id 1so3696119qee.12
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:49:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=ExNt0zYk53FQ3u7pVV531Y0hIoYl5PBvJV8W2DkoXs0=;
 b=EIlL1drqT5zA/cjkLd13uWHReOx+mvw+O6FJJlnadXO8gx5bBZce/b0eHzqqnKaazG
 xlBS63LJqEGhYVK4JAPKMPGZ7UGKNzpGrID9tOhsJvdUeywUD5Hxnc2JKw2d92SE4TY0
 x1HHeoPchxZPEX+JaePQvDWDLEArIMaO2cI0DdCTn3hYDZBeOE2a+pQeZ5FH3n9NrlH7
 sQted37Nj0JUeS8e0vgwb+sNRs3U9721FNJcOHU95Rnf3a3Tj4c20oH9jlstNuzp1YZ8
 ZXcK+5lvJAHe6VoO79MAnhGJoIF23G04g0HNQZFoVj/W0b5SJkuy4OS6Op/+uWe5912E
 Mcvw==
MIME-Version: 1.0
X-Received: by 10.229.94.77 with SMTP id y13mr1420656qcm.98.1370803775743;
 Sun, 09 Jun 2013 11:49:35 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:49:35 -0700 (PDT)
In-Reply-To: <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
Date: Sun, 9 Jun 2013 19:49:35 +0100
Message-ID: <CAEp6Dyapad8OoBDGKskzgo4EaRhYEogwgh8zgnQEPpCYhRvg9w@HIDDEN>
From: E Sabof <esabof@HIDDEN>
Content-Type: multipart/alternative; boundary=14dae94edcbd1c2d6a04debd20f2
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--14dae94edcbd1c2d6a04debd20f2
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 7:40 PM, E Sabof <esabof@HIDDEN> wrote:

>
> It would help if you could show a recipe with one of these starting
>> from "emacs -Q".
>>
>
> Sure:
>
> M-x hs-minor-mode
> Scroll until only the last line is visible
> M-x hs-hide-all
>
>
It already does something similar, if you repeat the above recipe, but two
lines are visible.

--14dae94edcbd1c2d6a04debd20f2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Sun, Jun 9, 2013 at 7:40 PM, E Sabof <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:esabof@HIDDEN" target=3D"_blank">esabof@HIDDEN</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style=
:solid;padding-left:1ex">
<div dir=3D"ltr"><div class=3D"im"><div class=3D"gmail_extra"><br><div clas=
s=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-=
left-style:solid;padding-left:1ex">

It would help if you could show a recipe with one of these starting<br>
from &quot;emacs -Q&quot;.<br>
</blockquote></div><br></div></div><div class=3D"gmail_extra">Sure:</div><d=
iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">M-x hs-minor-=
mode<div>Scroll until only the last line is visible</div><div>M-x hs-hide-a=
ll</div>

<div><br></div></div></div>
</blockquote></div><br></div><div class=3D"gmail_extra">It already does som=
ething similar, if you repeat the above recipe, but two lines are visible.<=
br></div></div>

--14dae94edcbd1c2d6a04debd20f2--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 30 Jan 2022 21:38:02 +0000
Resent-Message-ID: <handler.14582.B14582.164357866721541 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: E Sabof <esabof@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164357866721541
          (code B ref 14582); Sun, 30 Jan 2022 21:38:02 +0000
Received: (at 14582) by debbugs.gnu.org; 30 Jan 2022 21:37:47 +0000
Received: from localhost ([127.0.0.1]:37886 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEHtL-0005bN-CF
	for submit <at> debbugs.gnu.org; Sun, 30 Jan 2022 16:37:47 -0500
Received: from quimby.gnus.org ([95.216.78.240]:39344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nEHtJ-0005b3-Jv
 for 14582 <at> debbugs.gnu.org; Sun, 30 Jan 2022 16:37:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=xawu/twXBIe7NWCEM6gBLhNxqmN9Jukv9/5EBpTNPso=; b=KcbESdUCES4uP5VzyuUSGjmTjR
 HSQI9hbR4BaNH6D00RNrXzgV8+YY823Pw9vzaJSL1Ev7HHnlk5kGSXqRLY5F8jR1I4gNJGQSgr8eZ
 8JJXrJprEKUFgDJ2mccl+BzShLpZRp7wwrYQOQ9HP+qnt1L8d3WDqNr51Wocldm+PzTQ=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nEHtA-0002cW-PI; Sun, 30 Jan 2022 22:37:39 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
X-Now-Playing: Ida's _Lovers Prayers_: "First Light"
Date: Sun, 30 Jan 2022 22:37:35 +0100
In-Reply-To: <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 (E. Sabof's message of "Sun, 9 Jun 2013 19:40:38 +0100")
Message-ID: <87czk87vmo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  E Sabof <esabof@HIDDEN> writes: > It would help if you
 could show a recipe with one of these starting > from "emacs -Q". > > Sure:
 > > M-x hs-minor-mode > Scroll until only the last line is visible > M-x
 hs-hide-all 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

E Sabof <esabof@HIDDEN> writes:

>  It would help if you could show a recipe with one of these starting
>  from "emacs -Q".
>
> Sure:
>
> M-x hs-minor-mode
> Scroll until only the last line is visible
> M-x hs-hide-all

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I tried reproducing this in Emacs 29, but I didn't see anything odd in
the window after doing this in src/buffer.c.

Are you still seeing this issue in recent Emacs versions?  If so, do you
have a more complete recipe to reproduce the problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 30 Jan 2022 21:37:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 30 16:37:52 2022
Received: from localhost ([127.0.0.1]:37889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEHtQ-0005be-Iq
	for submit <at> debbugs.gnu.org; Sun, 30 Jan 2022 16:37:52 -0500
Received: from quimby.gnus.org ([95.216.78.240]:39360)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nEHtP-0005bF-52
 for control <at> debbugs.gnu.org; Sun, 30 Jan 2022 16:37:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=IwJ3PCAmvG0X8GKIvyezP5Q+GeISlPcPTTRqZQiGvw4=; b=ab2YW8RbpAZ4dpFMXhLAM9hXe5
 +FQIqWb8huv7OCGwbXpokQeajnYQOV8cViYM0I35aQQbPQ6656wUvwJAGjKnay7BXEM+VaxndAacc
 HTMSF98QsU5kYx5MatlMMvGlbZqto7qp+EdXran9OvLXoOxSQxe2kVv8AUbE5eURplSI=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nEHtH-0002cd-C4
 for control <at> debbugs.gnu.org; Sun, 30 Jan 2022 22:37:45 +0100
Date: Sun, 30 Jan 2022 22:37:42 +0100
Message-Id: <87bkzs7vmh.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #14582
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 14582 + moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 14582 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 31 Jan 2022 00:37:02 +0000
Resent-Message-ID: <handler.14582.B14582.16435894149555 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, E Sabof <esabof@HIDDEN>, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16435894149555
          (code B ref 14582); Mon, 31 Jan 2022 00:37:02 +0000
Received: (at 14582) by debbugs.gnu.org; 31 Jan 2022 00:36:54 +0000
Received: from localhost ([127.0.0.1]:38023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEKgf-0002U3-R3
	for submit <at> debbugs.gnu.org; Sun, 30 Jan 2022 19:36:54 -0500
Received: from mout.web.de ([212.227.15.4]:36115)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nEKgc-0002Tk-CK
 for 14582 <at> debbugs.gnu.org; Sun, 30 Jan 2022 19:36:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643589402;
 bh=PMzxsRX5bi4B7/+LsC4SCcDsJ9kgCt8FnNuBDndJsfk=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=juK8+f3pvHe2jNbzmJyZlNzzSmt1VD8s9mcAHPsLJcEEud1Sv/bnHH+F8ayadX9wJ
 UjJ6x2Y3DMY2IeM/q3hcLa8trBkekbekR6EORCbswQy6HM/SYDPbFlzY9S9dKwKune
 H0dSrrEfIyE2elK9bKOyTOOBo0JYtrz3rTuB6M0Q=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mav6t-1mgdUX3AhH-00c9nq; Mon, 31
 Jan 2022 01:36:42 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN>
Date: Mon, 31 Jan 2022 01:36:41 +0100
In-Reply-To: <87czk87vmo.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun,
 30 Jan 2022 22:37:35 +0100")
Message-ID: <87k0egwxk6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:HP7Sz7H4guHX02McfieLG8D8qLtVZQ2bL/bIiQZ+uk29uj0wdCJ
 QAFiLj8Ty5+9BmqJCuuImv5PYkDXmuWzLpsLCauP1R9xG/1Q2ZKfUHNzSQiBjPCpVWZQaS+
 dYJdenp0AAa2hCzsZg/xwNe0SoBDQMGjvZz5t2mLWd4p6RnoprgAS0fXlAycS94pbAX0j0r
 Pr/wyVw2IveMRCZ37GZGg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:pRvTxHAAyiw=:pKKkOKFsPMOCQwy+lNxjBT
 CuhwwS8TBve//nkw6hpBxIIl6bH/WxFovxZaLzOv/weGz0tzXbhPnrwoiRZ6NQjrQmuomOeH3
 N3M+KwhyAxnyo7mqpLoo5+eJv388V1/AS+EFSlEr77XOW/KZi6wChxT2es3+Pbb6qx0zRVibr
 o4C+/KA3SYBa5Tf5KeU1DVRK7jYmuolyzFjxxeWo9rZFHATf1LOE4XVP54RirfbU+C2I2+624
 U1OQ0Py2DWAD5I6jywRML/TMxYb+Yo3RnNHmr497QpIfSb1ASIGwk/NjlknVYAITJhG5eMDQ9
 b39mq+Ur9j9jYJBuH4nYV3ofhMT2WhgLt6FtRpPig14wNxueKsLVARRLGvojkofibcSwckBtc
 qBQDks5N9bzYbUJyraG3kcqAQsCjWGHPDk8wKiu9OAxpdz8UXPACy+zP8xEOFw+ZbrmGTNdxQ
 cfgQEx4GKyyhoB6cZFjKLewlCS7Z81sgRy8o9q9wd4c7/5tiwaQJK8wa2AJ5ZUDXkndvrYYd4
 NuAD6YYeXUih2Upid6R6TxcQL3wp3LYJIXrkyFIJhwUGdWRAaIgVG2jjAEYCO2WVVsMM4iEtO
 ds0D/KkP4sV/Bs8fObCC4egVQocUIRfextsO8o/hdDOg/gB/UpQ0kIPN+dSLl1eAT/YsOG9iG
 5p7Z4lEJ9YxDzymMaM6T7e3KUWSE9JeiMJ8ZkcP3bnGEkjw8qJK+X0ftgjJjil+HPhtcfMzFF
 IN5unwFHL+6ZWIPqDaxw4z9fg1hTihfJ7SHJ0HFz0axNcsk6q2mUe4YB24h0+A/nDRDvjvyUO
 pDuWgKDxYIf0wvKy8VSR8LYiC5lcejPgvjQsb6xTTN6mhoPorDYzSq0uG8cy/pHI56r9M/84d
 dr4wLUyp2yJBFiIoBmTzNHqsOErVI1AdqykcVLlU/PQCqFkWI9e4mbgRCFilJ9VbG8hCDtXnZ
 xL7PnO/7nzbhPwJi1er3KKq8YnBh3pY6iQ6bZ8TN5ig6BGdxe92UrpcmLquHH5bIFoZX+ad/P
 VziZbyohbiJ/0xQLEhhi/e0lFOzjNFloAjM0EGGfkANWhZ6etHd58W4IT1/sq5NbO27yFmkXi
 Li/GIedpp7ZuEg=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Are you still seeing this issue in recent Emacs versions?  If so, do
> you have a more complete recipe to reproduce the problem?

AFAIU, I still see this.

The effect is that the first visual line in the folded buffer looks like

...

i.e. consists of just three eliding dots, but when I scroll up, I see
that the dots belong to e.g.

(progn...)

I see that all the time when working with hideshow, and it's quite
annoying.

Lars, you just need to follow the recipe of the OP in an Elisp buffer
containing some code to reproduce the issue.  You maybe need to repeat a
second time (unfold + refold again).

If still not lucky, I'll try to create a step-by-step recipe, but maybe
it's clear enough.  And I hope I did not misinterpret the original
report.

Michael.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 31 Jan 2022 14:58:01 +0000
Resent-Message-ID: <handler.14582.B14582.164364105922938 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164364105922938
          (code B ref 14582); Mon, 31 Jan 2022 14:58:01 +0000
Received: (at 14582) by debbugs.gnu.org; 31 Jan 2022 14:57:39 +0000
Received: from localhost ([127.0.0.1]:40216 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEY7e-0005xt-RQ
	for submit <at> debbugs.gnu.org; Mon, 31 Jan 2022 09:57:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55868)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nEY7c-0005xe-LT
 for 14582 <at> debbugs.gnu.org; Mon, 31 Jan 2022 09:57:37 -0500
Received: from [2001:470:142:3::e] (port=47622 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nEY7W-0000Xu-KK; Mon, 31 Jan 2022 09:57:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=a9wkukWy9aQ3caBFhjy4ikCdPcZW9yyW2NoOUc/Ndho=; b=BMpyBVn5DvgV
 lvLyOu5G8n70O5aS0yw2QIfqy3hThmCPy3qP9/ZaqV7bOxWJemq/kpiN0JWdrjdvuPoYeZmtwHvUH
 OQmbKjJCDfC2+ErVRZ4/Tb7DOTbkzuw6bKfhkcTf3stBVHeW3C6TbwtE36hymYrd2P8Ft5Y4pWaps
 f8txroIqOM5zNczQ0mnM08hb8N87bu3UUVsW50xL+GgsHcUEam2/YK8fj8Wn9WS1lT329Lsztkybx
 zs/JNqTpzOCb7dXo1xFPRSwS/6f+odwWdQ0Eoc1VXA7L1Ql5KrOGVK4GNXx43c/nlwONObFx9rKhK
 5kC8SIjiLyr7Ka1o1bhlXA==;
Received: from [87.69.77.57] (port=2907 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nEY7U-0006w2-69; Mon, 31 Jan 2022 09:57:30 -0500
Date: Mon, 31 Jan 2022 16:57:24 +0200
Message-Id: <83k0eg7y23.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87k0egwxk6.fsf@HIDDEN> (message from Michael Heerdegen on Mon,
 31 Jan 2022 01:36:41 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: E Sabof <esabof@HIDDEN>,  Eli Zaretskii <eliz@HIDDEN>,
>   14582 <at> debbugs.gnu.org
> Date: Mon, 31 Jan 2022 01:36:41 +0100
> 
> The effect is that the first visual line in the folded buffer looks like
> 
> ...
> 
> i.e. consists of just three eliding dots, but when I scroll up, I see
> that the dots belong to e.g.
> 
> (progn...)
> 
> I see that all the time when working with hideshow, and it's quite
> annoying.

After considering this for a while, I don't think it would be a good
idea to try to fix this on the level of the display engine.  The
reason is that there are gobs of Lisp programs out there playing all
kinds of tricks with overlays and invisible text and expecting Emacs
to heed those tricks, and so any change like the one suggested,
i.e. let the display engine disobey the window-start setting in this
situation, is definitely going to break some package, and probably a
lot of them.

Basically, we are being asked to introduce application-level logic
into the general-purpose parts of the display code: the application
sets the window-start at some place which happens to be a bad idea,
and wants the display engine to save the application from itself.  I
don't think it's TRT.  The application alone knows what would be a
good place for setting the window-start, and should avoid setting it
where the result will be sub-optimal.

If this issue causes trouble in hideshow or elsewhere, my suggestion
is to fix it in those packages instead.  It shouldn't be hard to know
whether a given buffer position is or isn't invisible, and move point
from there if so.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 31 Jan 2022 15:31:01 +0000
Resent-Message-ID: <handler.14582.B14582.164364304629209 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, E Sabof <esabof@HIDDEN>, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164364304629209
          (code B ref 14582); Mon, 31 Jan 2022 15:31:01 +0000
Received: (at 14582) by debbugs.gnu.org; 31 Jan 2022 15:30:46 +0000
Received: from localhost ([127.0.0.1]:40276 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEYdi-0007ap-AJ
	for submit <at> debbugs.gnu.org; Mon, 31 Jan 2022 10:30:46 -0500
Received: from quimby.gnus.org ([95.216.78.240]:46676)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nEYdg-0007TL-9u
 for 14582 <at> debbugs.gnu.org; Mon, 31 Jan 2022 10:30:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=UIpOq9QnfOiC5kBe2aPZp+DS6VKD93ozBODT7HDiWGA=; b=OmRDlgpg0csy9v9r2hECJIpaiU
 9PuR487yLTcIVbJgGcH/0rWxr+HIckQ/kRud/OemMJ0orNNSXa39tPtu9Sg5AglBHQ3hz22b8N238
 yEOLCW30i5xVF+UwXVCVLuoTqSKChM3vQPOJccdxCMByJzlr+Cr/2Bxny5wI3h1MYxxI=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nEYdX-0003k6-HP; Mon, 31 Jan 2022 16:30:37 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX+/vrp5NBaS0jH
 u5+HeYBhTy0qHh+8nVuXcT/UqFb///9jU9mHAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YBHw8cDapJ
 WpsAAAGiSURBVDjLxVQ9V9swFH2vMk3ZpBjXYSOCmFXGFA6bA6Ez+VAIGwRH8VhKCWZt6yaZGYz+
 Lc45HcBSxp7e6ene8+59ko4E8Bb4pkDuduJz4XS2wpabwJedH/XuIXIKOPikoumOp7zjff8WRs3B
 0c13lKXQr0lXCu+nt91rJPjQ7GfdWbgSKFJgwCj7W1G6KuEfAtka4XhxH9mSSdHjoa3hRBcjWwc+
 n+g7m9Pmsy5sPGqt720J56l++Wbh60o9ZcIyqlojHJWCzsxsLPlp8Wg2fFg5FXNT+KpUqos7S/Rs
 8qRfzOyP09lSa5tTa6T1o9ngjINlkZkJUOepnv+yHEcwWc77bQC3skGirh72Qoe6nXbFKS1+Uyfi
 nDcrM10uLsDhPEjeW+HBKI/hkKu96hkezIcUOd+t8hjIBJzg1hi2IWW3FGJDyHJZkq55R/kip2BD
 1BqAHRGF/4I2ER3BKYnhLD5lnOw6jLMzAeR6oz0mKWxcwzCc1JSffG7kkRKwmXi+3B7D7Ab+kHFD
 +olX6/lDARgyZBiWXwMwjJARUa7Wvt0Sr23lXQ7dcUD5AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy
 LTAxLTMxVDE1OjI4OjEzKzAwOjAwPgVUbAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMS0zMVQx
 NToyODoxMyswMDowME9Y7NAAAAAASUVORK5CYII=
X-Now-Playing: Two Nice Girls's _Like A Version_: "I Feel (Like Makin') Love"
Date: Mon, 31 Jan 2022 16:30:33 +0100
In-Reply-To: <87k0egwxk6.fsf@HIDDEN> (Michael Heerdegen's message of "Mon, 31
 Jan 2022 01:36:41 +0100")
Message-ID: <877daf3oti.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > Lars, 
 you just need to follow the recipe of the OP in an Elisp buffer > containing
 some code to reproduce the issue. You maybe need to repeat a > second time
 (unfold + refold again). > > If still no [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Lars, you just need to follow the recipe of the OP in an Elisp buffer
> containing some code to reproduce the issue.  You maybe need to repeat a
> second time (unfold + refold again).
>
> If still not lucky, I'll try to create a step-by-step recipe, but maybe
> it's clear enough.  And I hope I did not misinterpret the original
> report.

Like Eli said, if hideshow is placing the window-start at an odd place,
it should probably be fixed in hideshow.  So a recipe to reproduce the
hideshow problem would be appreciated.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 31 Jan 2022 18:43:02 +0000
Resent-Message-ID: <handler.14582.B14582.164365457021521 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164365457021521
          (code B ref 14582); Mon, 31 Jan 2022 18:43:02 +0000
Received: (at 14582) by debbugs.gnu.org; 31 Jan 2022 18:42:50 +0000
Received: from localhost ([127.0.0.1]:40759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEbda-0005b3-31
	for submit <at> debbugs.gnu.org; Mon, 31 Jan 2022 13:42:50 -0500
Received: from mout.web.de ([217.72.192.78]:50771)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nEbdY-0005ap-FO
 for 14582 <at> debbugs.gnu.org; Mon, 31 Jan 2022 13:42:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643654561;
 bh=7xpQHwzEqzAf8stL5UySn5eg5MUnUhEwllVIAgz/EnM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=pG3x71HjlQ8o4vidL0peTI7FOdqsyypIoQ3d6YiXdwocIypN5JeZDYPtCCn0PeBw8
 TFyuPmer0GzYCUsv+Vzh3RMheerChGraAuoTKxZbmhubV/rQaNVum8QW4bgbyDGNMQ
 ngt6qUSpcShFmOW9bSrryv8U0nzjoY0VwGVQgRyI=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mf3uS-1mZVSl06lW-00gVQa; Mon, 31
 Jan 2022 19:42:41 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN>
Date: Mon, 31 Jan 2022 19:42:39 +0100
In-Reply-To: <83k0eg7y23.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 31 Jan
 2022 16:57:24 +0200")
Message-ID: <87sft37nmo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:zHufWRcjtHa2bUNV+pptj6t8mX9Ow6eiy5ihsFG8Tdi0S1QoUEg
 daT45kF4JKoLmQPpLvrdd8DxS4QtCb/VM6aQ7DOlk7oBWpPdCDPYnVnqcMq20vEO4dO+53o
 X0BLYxEyZ+E1tNdZKnZ6z/HM+a+7QXpauNaSJJFkGit1mLwHeCKgEG7a68/YtPBcJ5utKTH
 Sv1F60Oz1uMz+N1XLvVKQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:h/+aGxXUxzQ=:UUPsMmoklYogY7THJxqVJA
 l/zzBZXKdZzYqjk3rHp4z33zb5mV06Epff1EKM3cf/fcx4u8PxBJ6iea8tnOzB1QiwOl7iUFa
 +mzkNG8Kq+hKwUyEywtqwi2GJG/mGHzyJ0YITIvwZ2sNBRPW7zbaMalNShqzwgvcJ8e41EMtj
 NQ+VN0aWO05xmcMHbMEth7GSda88VIe7mKFQXyH9F2HBwrrjKHwHWhr4TbGrNiaiBOjWmeo0w
 3FThZxTOCvib3mXyvaPXfa8B+AApqXO9TIYnZsNf4A/vEaRcffaasI4/kWw++1fcYmpnECHFU
 JffGzoyAuICAFZHhN6ltEzJ7YDNdTbHiQHRqd36GaT8THc0/OopndsK0NKw1Lnqj6YsB65JSX
 1/Vm8SvLzqj0dXH5Pfxq0k/D1Aqdvx2eSXwueeV71xxwSgKz0EtfudrJY5mfG8fdd3XJXgNoJ
 rHu+dC3SAHKPewy6quLnBICvkxbNc644Vefcc7JhLqD5yu+GjN6+nl4+4JYtbCpmx6b1Rqsm9
 i27cKOSYuAdpGW3DDQedC2vvar/azAPg5fawcqv9kytbtu4rXxBpvwrsX1QR5FpNwzyg0eSvg
 ZtOqw5BMNp+716fY39PIqlSxS6t0FBnavbyQNA+fai8wR7odV0NI1MygiUzvY98GiK6CJBtNO
 gF68xodgiYmxD/3W9L/Jg5XFWK3lB3Pu5KgoHlVNjnWQfmn7UWv1V1V0FwIa0qm26qRQb+zqA
 zJ/Qm+GQSxAdNWv5B+z2nTJrqH3O3Y4bg9ty8gHu59Or1VvL6idSsQx3ttg4Vb2J4t9SddiDS
 iCf41a7h2bVd429cV+x50ok54mGLscUthbIrDgt+9MPA/uqt+Qsx4/Ltsq3XB64fjjQ9GUKbg
 0XKhROJqIDzCOsVdRF9WwxDl36reDuJYdLms20yHnnzi8XbjyGvaZXoy7vv6jRiFtdnIWzgjW
 RS6fbZgNezFpdcZARC0P4Xfbq8b5zSd7u/SgBLstgLigHkNI2uHt9MGqQYsr6CX++VRKn3SOw
 Y1aBi6OsnTqO6pndEoLD9VSiRrixuGlAe1QHBwdOp0MfPwszUPFlXN1C9232Z0S7MAPr++7y3
 ox5HreEp/MKj4M=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Basically, we are being asked to introduce application-level logic
> into the general-purpose parts of the display code: the application
> sets the window-start at some place which happens to be a bad idea,
> and wants the display engine to save the application from itself.  I
> don't think it's TRT.

There is a misunderstanding here: hideshow doesn't change window-start.

What actually happens is: Elisp, be it hideshow or whatever, changes
visibility of some part(s) of the buffer.  Sometimes it can happen that
the old window start position (in any window) is part of a fold
(invisible region) afterwards.  Then the issue I described occurs.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 31 Jan 2022 19:09:02 +0000
Resent-Message-ID: <handler.14582.B14582.16436561241140 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16436561241140
          (code B ref 14582); Mon, 31 Jan 2022 19:09:02 +0000
Received: (at 14582) by debbugs.gnu.org; 31 Jan 2022 19:08:44 +0000
Received: from localhost ([127.0.0.1]:40840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEc2e-0000IK-58
	for submit <at> debbugs.gnu.org; Mon, 31 Jan 2022 14:08:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44860)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nEc2c-0000I6-BJ
 for 14582 <at> debbugs.gnu.org; Mon, 31 Jan 2022 14:08:42 -0500
Received: from [2001:470:142:3::e] (port=53036 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nEc2X-0001dO-2R; Mon, 31 Jan 2022 14:08:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=lTwq5DbkSr4/lp2NOWioTQxjGpvHTmmGSEDE3w1dAF0=; b=c/odOxOp93Cn
 mcc4QV1XNVskSBscF+4bCQ6ABBYZHjzLdOFEmV2yGqWLN9BTY80lZeDoQ8F/4i9eoPaLkAuZkVm7F
 ZdKu2Z/8ZO5F4tmPupTJWd0CpXMIektXOCjpGs/OSBymAV1322U4Be1uczuuZZBzo+3l9lAOuNkpY
 nqXDAewQX8LUcg9tDM/dwqmN6Ktx6f0lLndUQMLBE9ldwPBj6a0pkXyDgRII5sS/F+bDAxauOoa4Q
 n78WxjWIk5Q5MrqpiuGCuUkdajsr6IWVF3rJ+jjrXwROj+uBEsPbxRekaSqPsntvwmsCNY61DUdNq
 deUXhHstNUg4ZdxiQU2akw==;
Received: from [87.69.77.57] (port=2367 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nEc2W-0004w9-FK; Mon, 31 Jan 2022 14:08:36 -0500
Date: Mon, 31 Jan 2022 21:08:33 +0200
Message-Id: <83a6fb90zy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87sft37nmo.fsf@HIDDEN> (message from Michael Heerdegen on Mon,
 31 Jan 2022 19:42:39 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Mon, 31 Jan 2022 19:42:39 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Basically, we are being asked to introduce application-level logic
> > into the general-purpose parts of the display code: the application
> > sets the window-start at some place which happens to be a bad idea,
> > and wants the display engine to save the application from itself.  I
> > don't think it's TRT.
> 
> There is a misunderstanding here: hideshow doesn't change window-start.
> 
> What actually happens is: Elisp, be it hideshow or whatever, changes
> visibility of some part(s) of the buffer.  Sometimes it can happen that
> the old window start position (in any window) is part of a fold
> (invisible region) afterwards.  Then the issue I described occurs.

Then please provide a full, self-contained recipe starting from "emacs
-Q" that uses hideshow.  The only recipe I saw and analyzed in this
bug was the original one, which did set window-start.  Perhaps you are
talking about a different issue.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 01 Feb 2022 03:04:02 +0000
Resent-Message-ID: <handler.14582.B14582.16436845974886 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16436845974886
          (code B ref 14582); Tue, 01 Feb 2022 03:04:02 +0000
Received: (at 14582) by debbugs.gnu.org; 1 Feb 2022 03:03:17 +0000
Received: from localhost ([127.0.0.1]:41349 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEjRt-0001Gk-1a
	for submit <at> debbugs.gnu.org; Mon, 31 Jan 2022 22:03:17 -0500
Received: from mout.web.de ([212.227.15.14]:39805)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nEjRq-0001GU-Nx
 for 14582 <at> debbugs.gnu.org; Mon, 31 Jan 2022 22:03:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643684587;
 bh=WpI1sN2GAZyxaOBGdC9vw3Uwg8XzTbSD4sVVS3KBvYU=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=GBfJb0gej2Ea0XglW622lY7JwDqsZ94j1nGpLa131kZSgfZDKZdA5/X0vZ4UcJZtw
 X/yYYDwrFnb7QseVhUE5GRR9gm9WhbVJQj+fX5pMYx22MDOKOm0Og66GNXB3jXMewh
 kwZ1Y1CdRpvo1mqMqQglDfbUhkmnXheoZ82EcR90=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.91]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MtPvm-1mNKJJ2nCo-00uxdf; Tue, 01
 Feb 2022 04:03:07 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN>
Date: Tue, 01 Feb 2022 04:03:04 +0100
In-Reply-To: <83a6fb90zy.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 31 Jan
 2022 21:08:33 +0200")
Message-ID: <87h79j2srb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:2Nz6pO56fJJYARSEEBjuTICEtyXr3kkr5KRdMSF+h6tEFl7/eAP
 jCMevJt970lS1Day0m9Q49I2pZxjFUuoK2v7c1DEj+85SKSEppfn+XoN8fX49qHhHApfWCl
 Ma+Bt1J3Fap+sBZzbUpS72lFWB/N7xU19wlajwMwSIKp9v/gFSZ/V47N2bv1J4AoBPL5EM+
 R45kMKuQFHIOhZSbbOF2g==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:6jsJF6xzxlg=:ez4eKf0CuFvfMzZmWSuRw/
 drnk8ANZZzsHDS6N+QzHQVSyYxexI4h7ZVoN2oSU8sWEDleA5KvhaZcK2ZyN+k4yQpOhhPzmk
 wqygniFfDpqo3TYmGbW6xR6cYlp0egTu9Nuq+0daBIeCKfUV5WGh9Jh/8Gltcly8YRTXUi9EU
 gFVB3+pI1TK0fQMU7HVKQG41n/DwhyxowtRc8EkASsxXSSPaAOjmprDYHMcRgtpcukip4Yq+X
 xLf4TAN3I1Zs1e/4g2KRXrceqlhI9yCWNjIKJXNo1a1m2+ox+RXd797erRL9ZYAN1hiPxkNQ9
 lV4JdYp5HnFCT3OAr6gBzOvDNsIPeVYpFb4Dfml/44Ut/hdvDUFcJ4HMwAxpF9+NNavRfPbpZ
 YZYUWOlWsBOmvg9xyLnVBlB8Pu+4atauBxkKH9m+/MICf8w6zJU+lhnaLQpJ6DAGdAj+LQctk
 whp8QWi8urRgK722TYNO6+VLxtcU0IMEQml4ghw3B7WQxwWWkLhvzc/2XSr8ZQi8BN+UR/v8+
 pYm3o7bn1gtDaj7Wo7j0FURyB02lIveu+HO44SStXhYDUnbqbDw68Z2Na60rl7etM/k9d6OaO
 bNB1eZ4tjX3yXb6Wq0lfAbaHK2v1+sLykX77OahV8LCX6airlbEmnz+BFHhMgdm3Cco/SMrOY
 riOgAFd62/JpgQy8DYXGjkE8OVe+OaI1kZJ+eJtH507zPkJWD1PRtxkC0NodH/KwkuDwjVaJX
 b3XBtZeqt94f+T5ZXG9M3C9gbTo7A0CCEhesV2wbhkwyM5ZXh/jlCP8EjMEPvl8PI7DLUcYkD
 VW8AevvaW3cdWxRb3qWj9DtUwQaUeOkhGFUe4Hmrg4ozydTGGhr6YQp1hmzaOaa/tFkn9KtTj
 /9F35UECMinyPviahHXsmln25em/2TdQ4zU3uxfQpJ+8Md9JWaNxlvjjnRhZbZg/+VPEcVMZr
 z128JkJDjDyNPQARWoAQlog3Qat6UGaNFNKFklF3Har96lKHxqH3sZVZZ3XI1J6o77zkDlTlD
 9rGPbalq+szYpxVqHq3A4L4WlxyOvPEArlLOaNknX/WwmAIwUtx96MdWYFgoGC0b2sRKhGIg8
 T/mNPbo10b4C58=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Then please provide a full, self-contained recipe starting from "emacs
> -Q" that uses hideshow.  The only recipe I saw and analyzed in this
> bug was the original one, which did set window-start.  Perhaps you are
> talking about a different issue.

I think I mean the same.  I guess the original recipe only explicitly
sets window-start to ensure the recipe reliably works regardless of the
number of display lines and such things.

Anyway, this here works for me:

Open emacs -Q (I'm in X), and evaluate (with M-:) the follow piece of code:

#+begin_src emacs-lisp
(progn
  (dotimes (_ 33) (insert "\
\(defun foo ()
  1
  2)\n"))
  (goto-char (point-max))
  (sit-for 1)
  (scroll-down)
  (sit-for 1)
  (hs-minor-mode)
  (hs-hide-all))
#+end_src

That gives me a display of *scratch* where the first visible window line
displays "...)" instead of expected "(defun xyz nil...)".

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 01 Feb 2022 18:19:02 +0000
Resent-Message-ID: <handler.14582.B14582.164373949726810 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164373949726810
          (code B ref 14582); Tue, 01 Feb 2022 18:19:02 +0000
Received: (at 14582) by debbugs.gnu.org; 1 Feb 2022 18:18:17 +0000
Received: from localhost ([127.0.0.1]:44033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nExjN-0006yK-2D
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 13:18:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36456)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nExjK-0006y6-CS
 for 14582 <at> debbugs.gnu.org; Tue, 01 Feb 2022 13:18:15 -0500
Received: from [2001:470:142:3::e] (port=46056 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nExjF-00007a-25; Tue, 01 Feb 2022 13:18:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=CTy7QpE56QXMWAFSFgDy+vMufVwQ2SAqBjMYo6pFs64=; b=RpVHLPIiZAJP
 f4KwYoDRUJclDVd/vE3CDOEbS5ks9YN9D2KBF1b811mcImuzB14yWjVBytv6vX7Fc/T4A/j37XlYf
 oDRl2qJonbUsJcpQwulv2aC5hAmye39KGXkQ6KruEmtsO7DUxoJdrRETRnC6I9krW/jKdpW9LlOH1
 LJaWYGCwBM36Fpuo3hQW9CIkzyDFLpd/wN3cdc9tKS2JyXjGWtAORkQbVwUqPRmGFXVG3xNGukeaG
 Bgr8NKvBw+QXQUQUoNCby9i518h+5lK3yP7Q0bgTW6r4ihW1SmDFXX5imaxFpm8Try4HXvtYQGgnA
 nrgQmdzUPqFQCB1GTcO5HA==;
Received: from [87.69.77.57] (port=3893 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nExjE-0006BB-Fj; Tue, 01 Feb 2022 13:18:08 -0500
Date: Tue, 01 Feb 2022 20:18:06 +0200
Message-Id: <83pmo678o1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87h79j2srb.fsf@HIDDEN> (message from Michael Heerdegen on Tue,
 01 Feb 2022 04:03:04 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Tue, 01 Feb 2022 04:03:04 +0100
> 
> I think I mean the same.  I guess the original recipe only explicitly
> sets window-start to ensure the recipe reliably works regardless of the
> number of display lines and such things.
> 
> Anyway, this here works for me:
> 
> Open emacs -Q (I'm in X), and evaluate (with M-:) the follow piece of code:
> 
> #+begin_src emacs-lisp
> (progn
>   (dotimes (_ 33) (insert "\
> \(defun foo ()
>   1
>   2)\n"))
>   (goto-char (point-max))
>   (sit-for 1)
>   (scroll-down)
>   (sit-for 1)
>   (hs-minor-mode)
>   (hs-hide-all))
> #+end_src
> 
> That gives me a display of *scratch* where the first visible window line
> displays "...)" instead of expected "(defun xyz nil...)".

Yes, it's basically the same issue.

So please tell me: why do you expect Emacs to move the window-start so
that the window displays starting at "(defun ...)" in the above case?
What would be the trigger for making that change in the window-start
position?

It's a good-faith question.  The display engine doesn't know anything
about the semantics and the intended effect of hiding the bodies of
the functions by putting the invisible property there; in fact, the
display engine doesn't even know what a function's body is, nor where
it begins and ends.  The original window-start position was inside a
function's body, and the call to hs-hide-all causes that position to
be displayed as the ellipsis, that's all.  There's nothing here to
cause the display engine to move window-start.  So it doesn't, because
it, by design, tries not to move the window-start fixed as much as
possible.

Perhaps your mental model of redisplay is that it determines the
window-start position _after_ it applies the various text properties
and overlays, which affect what will be visible on display.  In which
case it would have noticed that after hiding the function bodies the
visual line will start at "(defun ...", and would therefore start the
window's display there.  But that's not how redisplay works: it in
fact first determines where to put window-start, and only after that
redisplays the window using that window-start position.  And if that
causes the window-start position to be covered by some display or
invisible property or some overlay, it's all fine from the POV of the
display engine -- precisely _because_ it isn't any of its business to
understand what those properties and overlays mean and what effect
they want to produce.

hs-minor-mode _does_ know what effect it wants to produce, so it's
hs-minor-mode that needs to adjust window-start if it happens to wind
up in the part of text that is about to be hidden on display.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 02 Feb 2022 01:13:02 +0000
Resent-Message-ID: <handler.14582.B14582.164376433217700 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164376433217700
          (code B ref 14582); Wed, 02 Feb 2022 01:13:02 +0000
Received: (at 14582) by debbugs.gnu.org; 2 Feb 2022 01:12:12 +0000
Received: from localhost ([127.0.0.1]:50964 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF4Bw-0004bO-Kl
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 20:12:12 -0500
Received: from mout.web.de ([212.227.15.14]:47721)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nF4Bv-0004bA-IE
 for 14582 <at> debbugs.gnu.org; Tue, 01 Feb 2022 20:12:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643764324;
 bh=Pu4dhiiBu8t7BmYGheWsDPzPRemlmJQFWaWP4uoIxk4=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=erNZcapED/R6FEAXdr2KfRdVdv1j3PM5XMpys91IeWUWVS4VLg7KvzV3w0Nm8T20o
 AWX1YAEdY6EoQV/HSih12JiwFwlqZCCJxymobxERBWbrJZe7LODRycfJP0QajAYMHm
 +3BNlMHIlj0ZTIJI0SVEsT2HvySXlTbGvgqttmvE=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Ma0PY-1mlJxI2lJk-00WEaN; Wed, 02
 Feb 2022 02:12:04 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN>
Date: Wed, 02 Feb 2022 02:12:03 +0100
In-Reply-To: <83pmo678o1.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 01 Feb
 2022 20:18:06 +0200")
Message-ID: <87iltynkbg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:JNls/SUkl51r+ann2kw3OxoRnSFZyVmrs+AQpRqceI8ehiZTyrM
 HvfFZhUEhjb6W3q7HYnSwl09pG6YCQahkHjxgPo1toD6bzHCJrQuqsosDKza/nmVASBKO2c
 gzvCZq7KCOJBC+LbGV5y1fmehJdO8i8kQl1o8Z//fSUrqHWf2HBJU3Pmz9nQfGcG3YYqCm1
 aRDwWuvIV8HPZd+gPxyYQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:fTn4t0IWPfQ=:aia6NNedWY6Akp0lW8k//J
 rAAAf+mdU59FDRqg3Sob2GtTUE1gv7ZqyXMD3utFA4AFpYXZS+vOUEnDT8X4U/kQeAiDR4LHV
 Sc4c62u3dF+J8o/Bc9j9hfuHLVWxMb6GMyg6xASHRn1nG5/+IWddryypklSJr1l58QDnlG11D
 BhhStqyAEj9LWdhGJTqTO4bc9HG9VvMX/5QYDA9cBG6CMzQaUbvM/2dGVXphL94luNTbK3I83
 Q9hgVgNb0jYo7SWzkoxRAf4/VCbbxoXrSUwqtJA/ZRHnbt6dPy1oEoDwHyoY9h2xdJBOqRY4Z
 83NPhxTcYjqFHqA9h3qZVq9oQTyXQlqTxRA7Kya6M0lLds2uLdS5T/AZAalAEMPd8Qr47UoKT
 NE+g31Yhel5+tAHustN7u6/ZBd1fkF8gdb3jjhGUYIJJvJbTmNtKn9D4VfMUTB9wT+/8wD7Lm
 C4NFVh1Adu6TUs5pLo7j4it8JC4379rcBftxDCGs6fXP0Px+HRPEBqIZHjJgkDoTgMP3dsVxx
 NpFnQ4shA0WYmrSAzGjyQ6OtlVWOYKDwotZDARID/9ZaCTCAdGDVF6srqWLiRM9bmt/vjyBN0
 fsx4NDAVMiFgiksd9shjLszBdFnhE+2ZDUQkGgxxWJijCMaqilMOJO1VpZqvutaZnVsL59JSu
 M/xgY93FsfiLaBs7Ii6o9Y8DJgUeK/UuzXH9ByzBqZq0LBACxgZ/vMWV9DN/R+COkEj21mf3e
 moO2u213uUavhw3XxG28BIIH1rluV5/BKQZ/EaHQ5CjGcY7aC9SWF0YcLISPmCj/zJ1UP4jwY
 IGE5cPcUqUsJRFz7AEX6UT8kTG77Etlp1UFgT3aa454zbmdAB4/SXbfMKE+nDUvLv5S+pQees
 mJWknfHLmqHEDyaw6gYT9oj+na1i+bIQP8I7f+uylwr/ZDziQ5zJ9dldjtw9gh+TEwqpptnWC
 U5ji/WlZfwjgrHAjT1A+XvqHqBbXgblWEtqiIDwfaxh6gATKAAcjpUdlaAPa+wI7GZxzkaWan
 CCJ765ZedVwx6c6acWTXFx9XKri0NvjIiKni+fxmWmV8gJ5FlWCo56fa1RxihNivZxWCrFB+c
 Ip9lLvYs8jnK3I=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Perhaps your mental model of redisplay is that it determines the
> window-start position _after_ it applies the various text properties
> and overlays, which affect what will be visible on display.  In which
> case it would have noticed that after hiding the function bodies the
> visual line will start at "(defun ...", and would therefore start the
> window's display there.

Yes, something like that.  At least, I would not expect that only a part
of a (visual) line is displayed, however that comes.

> hs-minor-mode _does_ know what effect it wants to produce, so it's
> hs-minor-mode that needs to adjust window-start if it happens to wind
> up in the part of text that is about to be hidden on display.

Let's extend the discussion to invisible text in general - hideshow is
only one application of invisible text.  Are there cases where the
current behavior makes sense and is expected?  More sense than the
behavior I expect?

I ask because you said that the display engine can't know the intention.
Does it have to?  Why can't the credo just be "always ensure complete
visual lines are displayed"?


Regards,

Michael.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 02 Feb 2022 03:35:01 +0000
Resent-Message-ID: <handler.14582.B14582.164377289532321 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164377289532321
          (code B ref 14582); Wed, 02 Feb 2022 03:35:01 +0000
Received: (at 14582) by debbugs.gnu.org; 2 Feb 2022 03:34:55 +0000
Received: from localhost ([127.0.0.1]:51082 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF6Q2-0008PF-Ul
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 22:34:55 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nF6Q1-0008P2-G5
 for 14582 <at> debbugs.gnu.org; Tue, 01 Feb 2022 22:34:54 -0500
Received: from [2001:470:142:3::e] (port=52280 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nF6Pw-0002Hu-4a; Tue, 01 Feb 2022 22:34:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=uurZCHHIzNy6hsKUwPR0Q3EDX+5JVe3AEyVtBiCtzh4=; b=msd02b3tPxwp
 gGOBDhpebN7Fo3MxhycVtQlUsG2PmAlVhpVBoQ9H4lTy7ctQSu43eFyS/NcjlsBwtJHqdYf68wmr9
 fUPYfD1SyweltcRiamKMe9FG/oyQdUarHrvYFAd8/kJsN88eBmwlpHRJcn4bogDhpBA2ljy3Zzjf6
 ImPIsCg5F/TtjxyJCr7zf4bHuTkHF5pHJPtSBnC/CwQxFF4k0Ut45ugO3A1fs+Aj0XvAEBKjvyunX
 3sO/wGYXdfOHnnaUKjQltoMMmLDj2tTGbr1qkIvAWeJucO8ryTbFCdWdREjxuzBDWU32S72Mzfmid
 ZlgRtElA6fj6m6IMqDZiSw==;
Received: from [87.69.77.57] (port=2366 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nF6Pv-00005x-Li; Tue, 01 Feb 2022 22:34:47 -0500
Date: Wed, 02 Feb 2022 05:34:49 +0200
Message-Id: <83h79i6iw6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87iltynkbg.fsf@HIDDEN> (message from Michael Heerdegen on Wed,
 02 Feb 2022 02:12:03 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Wed, 02 Feb 2022 02:12:03 +0100
> 
> Let's extend the discussion to invisible text in general - hideshow is
> only one application of invisible text.  Are there cases where the
> current behavior makes sense and is expected?  More sense than the
> behavior I expect?

How can we know?  There's any number of Lisp programs out there using
invisible properties.  Starting with Org.

> I ask because you said that the display engine can't know the intention.
> Does it have to?  Why can't the credo just be "always ensure complete
> visual lines are displayed"?

Because a Lisp program may wish otherwise.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 02 Feb 2022 04:03:02 +0000
Resent-Message-ID: <handler.14582.B14582.16437745723484 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16437745723484
          (code B ref 14582); Wed, 02 Feb 2022 04:03:02 +0000
Received: (at 14582) by debbugs.gnu.org; 2 Feb 2022 04:02:52 +0000
Received: from localhost ([127.0.0.1]:51145 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF6r5-0000u8-QV
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 23:02:52 -0500
Received: from mout.web.de ([212.227.17.11]:59029)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nF6r3-0000ts-Rx
 for 14582 <at> debbugs.gnu.org; Tue, 01 Feb 2022 23:02:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643774562;
 bh=aC9vZxQWHX/P1gJc9EtMxzbi17gYcvNwIvMz7++HJ+M=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=TXyibOWaOhZ1s4rnpb0VXbS+MtaZdulrLHtVFcIZXmOzjuxeGl1mVy2fW2d8jmMTM
 vvvGZg+izu3IgLwEA543/G73IQSFCoBQP1DiOV7iVGutu5KgNpvjM1y/3YTq36aZz6
 wGyLDVFNQ+IS6P8fWF/RES9Xttdb0j2ONcgGwETA=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N5lj7-1m8u8f2cQd-017HZG; Wed, 02
 Feb 2022 05:02:42 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN>
Date: Wed, 02 Feb 2022 05:02:41 +0100
In-Reply-To: <83h79i6iw6.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 02 Feb
 2022 05:34:49 +0200")
Message-ID: <878rut6hlq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:lD8VtsagN1V++L2I8SB6ruZ+pOTCTVh8tGFxJSUK7qU8vlVSUJR
 mZUz5BIStpehhSsNx4YVnY3y0GnPCJ+XfnmOIJ9iFpUkQKeYMa1NVPidUPhKvUGj959KxTJ
 Wq2rHN4AkVTP3RyoLJedUTBZ57nCtuB0ZR6KsbghAwHImC96jotYvPB3ONDWxft/GMMj5MW
 k4WpKauLbd/qJWXMTYmbA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:aAIqL18trvg=:dZYNzTLq0O+IFCVnH1uA2M
 NLqNNigVIIKJiU4A2e/5VC+8pfdlyaJpPZmTj0hjGgYhTLcCBBL0IHwFGYEa4i7sG56UwAklz
 fcoJJ6eK1lV+olUkTwpJ1a+tvcouFn3f7NhdiG9r+V8HsRBtJPqOp5fBykmFBo/2cBhjilx7T
 NV3lMtJBDiqho8b5pjXkOLmDSi64A3njRq7iSkObT4gWwovX0EpbqyGR3MpWJLIw7hU+PNCXF
 9kAlRuw1ylxDpiCAirco4HLAufudOa3C9dTKlIRpTtfzvOy56CnGFJPZffNftgvxdcs3y61pC
 pV8mEcdFavviUu7QwseDmu2NdD2Vp8YHrsR6HCPRccpIW4aZ1KXPykUojuezy73L9ikXG6SoF
 Uy7CVN+9BIjCbvGgIzsyP4iQZQcfu8Q4/HRMRMkWGCVgDC7ehTRGVxevXJxh/dm0JPrlhdnM0
 0FQMdjBAHPy7TpYikfi+B3PzaY1l+ffiYREeAqP6aCaNoZBWNQc7wpcJa8Zku4XQj/pjIoUdt
 XBPvDjtV7fQOZXuUMFH5xQ6D01HfMdDDY2iHg2AJjBWbIxX8ik5muzh41BBkUVxH+HyG8WjBc
 O2bDe0iHrlKu7eYYc/u71pILni9WXIoW4Vb6AsRFAwXQ7OPgpGz+cidK6gox+tQbTymBReOpn
 ZqXcn1C3KtN/OVkpNICmD15d3Jg9hvXEgvaCIEIALz0c1YBitRDZqGkm+R9nP4DfmpvS6UnzY
 MtNJWw5aPTBEQrYst1jwqmOlwY4JJUGtMdBCw8Lkq+JU82kf3DLsIcATY0JcQwk0a2BeMWA7y
 R3Qr599tinL0tkAWIsp/nk/OgcgO27KA1qs7UAO3K2Hb6z85OSgbMMG4aDLXWlzQ9A+GPs9RD
 f9o2kPipnihrL+VCFn1iBIpXwZK0NsJioqg5AAp1CIkQwlkXs51nBSuSggI89jWVJl1iiLDhq
 GxvGOWtpCKTDwGYvlPDIQNjXRgHAgC59NDnsbtYiaJzAM1cla7KI5NJc3JSdn8Ylk0TL67r8d
 SySKoOpZiVPL6+RNGHbJRIBXwaAFnv10TdzfX3mAyzm+BrUpPkwqGarb1fxIwVx9ade9VSITH
 ZyPX0NJWOKuP+c=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> How can we know?  There's any number of Lisp programs out there using
> invisible properties.  Starting with Org.

In Org I actually see the same bug (I tried org-shifttab).  Isearch also
has the issue when re-hiding opened invisible text areas.  Could be that
in most usage scenarios the current behavior is not wanted.

> > Why can't the credo just be "always ensure complete visual lines are
> > displayed"?
>
> Because a Lisp program may wish otherwise.

I do know and only know Lisp programs that wish like this.  It feels
wrong that Elisp programs should have to adjust window-start.  Anyway,
no surprise that I see it like that.

Is there a third alternative, a hook or something that could be used, to
perform this task automatically?  I mean, else, every program that
toggles invisibility of text would have to loop over all windows that
display a certain buffer, examine text properties and check whether
window-start has to be adjusted.  I would not even be sure what to do in
situations when the first line is only partially visible and such stuff.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 02 Feb 2022 12:32:02 +0000
Resent-Message-ID: <handler.14582.B14582.164380510422741 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164380510422741
          (code B ref 14582); Wed, 02 Feb 2022 12:32:02 +0000
Received: (at 14582) by debbugs.gnu.org; 2 Feb 2022 12:31:44 +0000
Received: from localhost ([127.0.0.1]:51770 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nFEnX-0005uU-SS
	for submit <at> debbugs.gnu.org; Wed, 02 Feb 2022 07:31:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nFEnT-0005n9-EU
 for 14582 <at> debbugs.gnu.org; Wed, 02 Feb 2022 07:31:42 -0500
Received: from [2001:470:142:3::e] (port=59248 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFEnO-0005i7-2v; Wed, 02 Feb 2022 07:31:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=SHBXg8bYKX6RGk40+B4XEwZuvFbKPsWnfuZsjY74iuw=; b=agXX8Xng/TZq
 FuXPIHZB6M/CTKTiDiAjLioxEQpBVwGjj5oe9HQJ5kYTvhEbMCmApZjuy+7uBW5R2wWhzrQ3v1l08
 w2waGWJQTjBZ50AvU0M+yXExcvdgCFeGDuFmJ/nGPVWawGfxqFP/GHVMP8KIZ/KpOnbhxr9V6/Siz
 w1gkvxzPUI/wNTGaOluCdjMbWY61JcBNO+bX06qoqKRzOxv0Bh+AsHpgAlw7J0YTg/2dEWvKdhQJd
 VSlkDVntM88euxEPyycXSc9qitiJpdInpbzcSdC4W8U5fGJEAAxOvBTuDegdssecLOXmLPBMY6Gri
 oa3qwpMHxdrLKtUGo1bY6Q==;
Received: from [87.69.77.57] (port=3253 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFEnN-0003uj-Fb; Wed, 02 Feb 2022 07:31:33 -0500
Date: Wed, 02 Feb 2022 14:31:35 +0200
Message-Id: <83czk578m0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878rut6hlq.fsf@HIDDEN> (message from Michael Heerdegen on Wed,
 02 Feb 2022 05:02:41 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Wed, 02 Feb 2022 05:02:41 +0100
> 
> Is there a third alternative, a hook or something that could be used, to
> perform this task automatically?

It cannot be a hook, because from the display engine POV nothing
happened that could trigger a hook.  The visible contents of the
window is different, that's all.

So it shouldn't be a hook, it should be a buffer-local variable that
would change how redisplay behaves in these cases.  I will see what
can be done about it.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 03 Feb 2022 17:41:02 +0000
Resent-Message-ID: <handler.14582.B14582.164391005718334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: michael_heerdegen@HIDDEN
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164391005718334
          (code B ref 14582); Thu, 03 Feb 2022 17:41:02 +0000
Received: (at 14582) by debbugs.gnu.org; 3 Feb 2022 17:40:57 +0000
Received: from localhost ([127.0.0.1]:57650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nFg6K-0004le-NF
	for submit <at> debbugs.gnu.org; Thu, 03 Feb 2022 12:40:56 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nFg6H-0004lL-2J
 for 14582 <at> debbugs.gnu.org; Thu, 03 Feb 2022 12:40:54 -0500
Received: from [2001:470:142:3::e] (port=35898 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFg6B-00045X-AH; Thu, 03 Feb 2022 12:40:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=uBLKl2PfB6YBoNWIugZJMO8/v2n+HcykQIyiqBUTTWc=; b=M16J/40kdGTf
 URAuXARVpUAtv+zARi1/vHcqkOIx2VH1J3PagEPpRqAuedTQtYWahUw9EG1lZ9l5bU9fGnwBPFSNR
 cOcPxJffVDLImIHVC7mf2nZf8rTtGpIc3RT2jmp8RueW1oNabi7tZk0zV/Pa/jrQdJb3skbg9zO/r
 IJyz6k1cDIGnl+qaYQj6iaQsYuKE1WYrYh1CJVdSsQIuNYf9tyWad31jwCD6PwYE2/g318e5QODbj
 R7X5xnmzCs8nBjRmGMLOwvgLOj5Wi/XQ2irwCZ9uKy0lKZ0Iv9j9jzCkM+hq4kzPT2dxdwUB5+SPX
 c4qJWuDN8ePzaSv0/MgeOw==;
Received: from [87.69.77.57] (port=3438 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFg6A-0007Fo-9M; Thu, 03 Feb 2022 12:40:47 -0500
Date: Thu, 03 Feb 2022 19:40:49 +0200
Message-Id: <837dab4zmm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <83czk578m0.fsf@HIDDEN> (message from Eli Zaretskii on Wed, 02
 Feb 2022 14:31:35 +0200)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN> <83czk578m0.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 02 Feb 2022 14:31:35 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
> 
> > From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> > Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> > Date: Wed, 02 Feb 2022 05:02:41 +0100
> > 
> > Is there a third alternative, a hook or something that could be used, to
> > perform this task automatically?
> 
> It cannot be a hook, because from the display engine POV nothing
> happened that could trigger a hook.  The visible contents of the
> window is different, that's all.
> 
> So it shouldn't be a hook, it should be a buffer-local variable that
> would change how redisplay behaves in these cases.  I will see what
> can be done about it.

I installed a change along these lines.  A buffer that sets the new
variable make-window-start-visible non-nil should force redisplay to
reject a window-start point that is in invisible text or is covered by
a "replacing" 'display' property (which also makes window-start
invisible), and choose a different starting point.

Please test.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 04 Feb 2022 01:38:02 +0000
Resent-Message-ID: <handler.14582.B14582.16439386757456 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16439386757456
          (code B ref 14582); Fri, 04 Feb 2022 01:38:02 +0000
Received: (at 14582) by debbugs.gnu.org; 4 Feb 2022 01:37:55 +0000
Received: from localhost ([127.0.0.1]:58419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nFnXv-0001wB-HG
	for submit <at> debbugs.gnu.org; Thu, 03 Feb 2022 20:37:55 -0500
Received: from mout.web.de ([212.227.15.14]:59733)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nFnXs-0001vy-RD
 for 14582 <at> debbugs.gnu.org; Thu, 03 Feb 2022 20:37:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643938666;
 bh=JlDWQHZnwdPi4pienOLGXgEkueiOs9r4+lWClVjJjPE=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=NNqT2j5MLu9rDzUBBxvSVV0NzOsUEEvId8uDWTlOOIzq6Aqe0cp5YoVpHF/Xk1TAt
 WCEg4PxD5mYMxaHS+dMAUTqokYiw/eBjSp02POu2XWLOyI877bx1VCNPTfFvOxWf21
 K2jYBZkw82b5EJ5CpPNRjcxSEK1LYK4FY1sHc3JY=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M8TBM-1nBPpZ3wHY-004wmp; Fri, 04
 Feb 2022 02:37:46 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
Date: Fri, 04 Feb 2022 02:37:44 +0100
In-Reply-To: <837dab4zmm.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 03 Feb
 2022 19:40:49 +0200")
Message-ID: <875ypvcsyf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:e6DWu7FKHkWVpA9fYQ3tmbXH9E/XqO9mXDaBIgMsGgcaKSXOQss
 KVYL2DnRyeuCwzXvTxUuMqwqhJPRmZGKPMtU7lGqP81iwkDACpd35L9/1xytDahCvd0mfr5
 T6In1Zisy0ZGxVCue1dsOBabzhr1nELx3Yf0I6bviCksFvdkyejvwPlEnKtHQFMg8e9osvH
 yzcfqFcVnoUCpVp11Nu+w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ULdZ3+M1PIA=:Z+mIviU4C3HOLY32e8Y5To
 2FxlC4QvykWI4sQORe4Tdk/xPqs6PT1yNV61EYIeEYdPnWh5PPlVHCF+TlPSv99toiYkx16X2
 06UcSVsbm/5OZpSv53+QhReo4uhb1qQirMRp5pC5COiTsQzKR06qcWW9crZP7okJ6pWL+e/FB
 IQR0uRJ1NxIO7fy1iC4A3jBV/sdjRtjxcyaEoSiz4uPTDMjottjPCJYck9pYMF9epePyiyxpI
 DH/ClEjOktlYi8g9ImoYa2OQOd1KGhCapCYupCUWkHMkRUu7FmZLb6rjR3soJ70DUk9A11r/U
 SlZGaXlDpR+MRgLJ/bQXq4n1khtBy1lBdkL2pm600JRJAElihYinDeRrKPUeAzxAwgnlc0vCv
 iiMXEGXQ+R6pP1IoVCq/byUIHXYKLod6dOQ39QwHGcDL+b1qDuz08uAW1azdFliyBucMl4DO9
 70PEH2v/oBfTtZ5MaoolIas5MvuTBHRk9H0SFAqWQ1dycxji0mCNTjlDYj5dfobPjXXH/H4h2
 rxza2HJ2IX6n0kpqWuDdYvcFRuvCDo1xLYFz4inqx1eoZHCA+Q3cZDaqSapr4uw+lUYuNfAw6
 i7Uq/Z7RQ4lRyt07t7wlv3wogiaSTVPqoQJqq7OKeRaLblIAtESgLHpNqfvZfVlVGv/0Rk1LB
 6d8fZEInzzgk20LO6YJYRUNxdG+cVFwWDaXy904julpY3fxzyaZxitaw6URpGFXcLvo4WCYab
 WCpQTshFa9+xqFryURWC3JV1OsQIJ8qqTbwUU3R3RNDUds+GtVL0xkaNyVcQRQ3AdDTE6L9DX
 c1M0VyIhBQ5Mdt5jMAFK21acSF2dR+u24K8EZQc2xNPsmjQocQKPJu98L5s5M2BQCTEUPJno/
 i7IJLaVeCqyTERQqKoRJ88n8rYE1/L1bXw1n+aCarpKYLHLg6Jq0laPeevPMqOaJ1SgT99Nqh
 j+iJ4vXORxmodJU2V+0jDOPPErJYduRXtCzE8jxCVwx0borZ7+IOrhF6maNNl6JK6rEGcM3Xy
 sIcR2dyGFnqTS4NG5KVT6l6BAbQSmDWrXJuahF/re2NNFIuf1YeEd6crrAutVZrnZnErr/7J/
 MCZ5SBnKDR2k60=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> I installed a change along these lines.  A buffer that sets the new
> variable make-window-start-visible non-nil should force redisplay to
> reject a window-start point that is in invisible text or is covered by
> a "replacing" 'display' property (which also makes window-start
> invisible), and choose a different starting point.
>
> Please test.

Cool - thanks.

I played shortly with the new option enabled.  I didn't experience this
issue, but in some situations redisplay seems to infloop.  Seems that
happens when the first line is wrapped - at least I didn't see the same
problem without wrapped lines.  Here is a reproducer for emacs -Q (just
eval with M-:):

#+begin_src emacs-lisp
(progn
  (dotimes (_ 100) (insert "\
\(defun foooooooooo (long-arg another-long-arg an-even-very-long-arg \
and-one-more-arg)
  1
  2)\n"))
  (setq make-window-start-visible t)
  (goto-char (point-max))
  (sit-for 1)
  (scroll-down)
  (sit-for 1)
  (hs-minor-mode)
  (hs-hide-all))
#+end_src

BTW, I wondered - do we also have to care about window-end - or can
the thing this report is about only happen for window-start?

Thanks,

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 04 Feb 2022 13:57:02 +0000
Resent-Message-ID: <handler.14582.B14582.164398299624123 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164398299624123
          (code B ref 14582); Fri, 04 Feb 2022 13:57:02 +0000
Received: (at 14582) by debbugs.gnu.org; 4 Feb 2022 13:56:36 +0000
Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nFz4m-0006H0-AU
	for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 08:56:36 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nFz4k-0006Go-F0
 for 14582 <at> debbugs.gnu.org; Fri, 04 Feb 2022 08:56:34 -0500
Received: from [2001:470:142:3::e] (port=46056 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFz4Y-0003mY-TT; Fri, 04 Feb 2022 08:56:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ODc1p0d6ubFvkiy2kNteKDOhTi83zCjRPwYVbCOGLqg=; b=rbrnTmUecWA2
 7e9Bx43WhCBRaAbJTWkj+risEswoP4jguI3v9zw1scOHlVErxEV2wFSnsZHE3HklefyCCeyCVTWvW
 1jI2a/hbWQ5ewYhiDKyO7KyXkuSrtCegId52+xm6pXbXn2vxKA7VDLyjaROOHIjq3V39qtTJnNyFY
 bzHrBy94nstVUkFykGHuMJU4MTfeMV21+I/6pJiAf/QcdeaUhLr1Q4eT/nO95xa+iBDIq36W+cY8Z
 iyg55yjsu3HK4Lff1bpU37AMAMHBZoTAdwTpsDz9K5jFnmFwhFd56qcJCwd9EkGj8S3P9lL/sitDK
 TV5q3GAkpcnet+ZGj7Rhuw==;
Received: from [87.69.77.57] (port=2626 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nFz4Y-0000Fo-7o; Fri, 04 Feb 2022 08:56:22 -0500
Date: Fri, 04 Feb 2022 15:56:29 +0200
Message-Id: <83k0ea3fci.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <875ypvcsyf.fsf@HIDDEN> (message from Michael Heerdegen on Fri,
 04 Feb 2022 02:37:44 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN> <875ypvcsyf.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Fri, 04 Feb 2022 02:37:44 +0100
> 
> I played shortly with the new option enabled.  I didn't experience this
> issue, but in some situations redisplay seems to infloop.  Seems that
> happens when the first line is wrapped - at least I didn't see the same
> problem without wrapped lines.  Here is a reproducer for emacs -Q (just
> eval with M-:):
> 
> #+begin_src emacs-lisp
> (progn
>   (dotimes (_ 100) (insert "\
> \(defun foooooooooo (long-arg another-long-arg an-even-very-long-arg \
> and-one-more-arg)
>   1
>   2)\n"))
>   (setq make-window-start-visible t)
>   (goto-char (point-max))
>   (sit-for 1)
>   (scroll-down)
>   (sit-for 1)
>   (hs-minor-mode)
>   (hs-hide-all))
> #+end_src

Thanks, should be fixed now.

> BTW, I wondered - do we also have to care about window-end - or can
> the thing this report is about only happen for window-start?

window-end point is determined as side effect of successful complete
redisplay of a window, and cannot be determined before redisplay is
complete.  The window-end point isn't necessarily at the end of some
physical line, and it is by definition at the end of a visual line.
So I don't see why would we need to care about something similar
happening at the window's end.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 06 Feb 2022 02:55:01 +0000
Resent-Message-ID: <handler.14582.B14582.164411606018210 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164411606018210
          (code B ref 14582); Sun, 06 Feb 2022 02:55:01 +0000
Received: (at 14582) by debbugs.gnu.org; 6 Feb 2022 02:54:20 +0000
Received: from localhost ([127.0.0.1]:36085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGXgy-0004je-4T
	for submit <at> debbugs.gnu.org; Sat, 05 Feb 2022 21:54:20 -0500
Received: from mout.web.de ([212.227.17.11]:59403)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nGXgv-0004jN-Rx
 for 14582 <at> debbugs.gnu.org; Sat, 05 Feb 2022 21:54:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644116051;
 bh=and77lcsV2Ndzx9PBnxjDBkeRi6NX1EYqI/aHMDsEc8=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=HGIFhdjclorBrT1j4DR+j3vJfGXX5SzO9PujCBXfPZSZXxKycIXahxogODY/kSELf
 1GQ6M5C0h7ydsfEia5tb2FqqJcNYLoURhADrYLJAbtIijPRG1veRHfUkmj/vnqIG/E
 JLuHLFCKCX5C2RsRntWSm4y+EppZpYLSP2VReXnQ=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M3m9J-1nFik54Bb1-000ZEF; Sun, 06
 Feb 2022 03:54:11 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
Date: Sun, 06 Feb 2022 03:54:10 +0100
In-Reply-To: <83k0ea3fci.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 04 Feb
 2022 15:56:29 +0200")
Message-ID: <87r18gn1rh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:PiqBg2CJhrF0gYu41X1E6SzIEDnLMGpQZoe6CzzKPVE9jf3NP0l
 9g0aAebSoLsiS+INYmtXBRNK/wt+gqPZGJbcQFIs6rJG/YXINtlxFX51FWsAjX/NbrogAl3
 T0RA9V+Yw8a6XZ5lgldU8js8c1YPuzZ8kYY315GJH9JFKebrPwLwWf0fSyi3g5X9fm/yDtC
 DxEPnhJryxpCLrcjJjsww==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:R7lA7MOQ/Ik=:IB0Jkr0KA0bamAJK/N/8CW
 NCmA4pQWllvoayrslL7Iep9tNC716FbR6IhyU8KRfujdy6/H+SCC2u/cOeex6w9K0Ng589s9/
 apX6zEA/QlZdIuPGSTCI6Imdpz4ODaViYYA1VKMaAxkvGa/aBreXixyZ7J4XPYdixrOkYiP5/
 54Q0Psgf9Xm9Jwwhg8a/BCFffkV33otyTF7fy6M03jyxquSUPRaL2npmfqB+jD/o82jMnuf7g
 w5JSPULG5LzPfK7BeR8XjKGVAVPyRBiACggPzz7RMYbIAnBTZOIo9QlFeXq/zWsGn5Aup6W2Y
 RVtzOQWsztx7ETnT8tpZdRWhGC6Pm6ibGfBgDBrHteu0EmJ1I3nDNrYyYpPBIzXAAceIbtZsJ
 cYjSJOSdeZBbq3CLOBb9mxUv1yQs5ZgzFStYQ7pbey4q4yTQEClkMEdE0bIOtNY3/3dQh51uU
 r6T40YbtCTPma82oUZ5pMlxSKlvAyYju5uH0OdF+ZakGmZJhtAkkNfIAMDxG9I4R4y2Hv+evE
 7H7f74Jwtsg/bttjgL4w0yW3hAZeGJWBA//hb7Nb3oP3nFkEIDXi6Qaaq/YBlgU3Zxc9ZrXUu
 FEE+uIznT2fQCPB2GjI4wF1x483JqfxT82VyCU0Z+lm04OOvx1yGD9T43LB+fozj3Ih/XycD9
 6U1MYKxVGnMrqvjQQ0LNlThB9ZkI6OJO+nSDmwxu1QovlDmyNBONNqLxUtZ8n/99Y7uxcck9D
 qhdcFw8RwkReZg4kDilc4RDqerq6rTE5mcAeyBTboeM/whjtitdkJp23MqSr1UJMTrLHCMreg
 10PrwkUKfZ9CysYtepW1xHTMJtzvc7Z4tsKL82+R9Rpq+1aTZePlTYycB7h/yJZO2TIt4wQf3
 QXbHbK8/dxghiv4E5vC6XoKfb4BhC83AELutVceW2SPL41CjBZK5sLkWiNcOeR0gRCKA+XJma
 dVFpjs8yT9FkveT4aWFviV3ICpWA3FR0qTZkPtE17JiRgYSwHloX1Y5atcZDS9J3dMcaPbHTF
 zkkwmLV73UAOqyfbYBvWQKdCFG0/jYwUohbOoDW7RLEpPpkBSgMbp2Q8IDGk0RpazCky8tm1M
 V7qsywOyVBbBPM=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Thanks, should be fixed now.

Thank you.

Hmm - found another infloop, even without invisibility involved, when
narrowing:

#+begin_src emacs-lisp
(progn
  (dotimes (_ 100) (insert "\
\(defun foo (x y)
  1
  2)\n"))
  (setq make-window-start-visible t)
  (goto-char (point-min))
  (sit-for 1)
  (forward-line +12)
  (sit-for 1)
  (narrow-to-region (point) (save-excursion (forward-line 6) (point)))
  (sit-for 1)
  ;; (hs-minor-mode)
  ;; (hs-hide-all)
  )
#+end_src

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 06 Feb 2022 10:29:02 +0000
Resent-Message-ID: <handler.14582.B14582.164414332025111 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164414332025111
          (code B ref 14582); Sun, 06 Feb 2022 10:29:02 +0000
Received: (at 14582) by debbugs.gnu.org; 6 Feb 2022 10:28:40 +0000
Received: from localhost ([127.0.0.1]:36540 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGeme-0006Ww-Db
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 05:28:40 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44712)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nGemc-0006Wi-Jf
 for 14582 <at> debbugs.gnu.org; Sun, 06 Feb 2022 05:28:39 -0500
Received: from [2001:470:142:3::e] (port=54548 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nGemX-0001nI-8C; Sun, 06 Feb 2022 05:28:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=VKSfT39z/zoHDfPo99k3GNA7M83WXRtH+7mEJkPkuk8=; b=e+SSyC2AsQGl
 snrmoafqSLbJ7a2ZOmEnWDXPjGmQyu13CZqqk8lajLATU1+mh0TTWkVS43XWe2jOlfTaZOHG99PIx
 THFQS2ToDXTNGv8P+PEyGB6MKLotQnYV3LsYiqEWhGmDqbakQ0wUVx0GSJLRKVL/I2DZuh4o2vgMQ
 H4DQJiEqtqF9ctNyYZBfw3uOMcdAQiAGMgs+uA8hVP++MLnQGG1JEicYWN1L1wEMFXogVnhyBsi+a
 Su/pPnqq8B4CrDsJIBizn7fJqbC7DyXaFTFQump990h9enY1pjyl5bLBt6ahcQtydOqw347qQjJ1m
 jwGJGGwo8/x9YiDzMRfjdw==;
Received: from [87.69.77.57] (port=3373 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nGemW-0006Kr-BU; Sun, 06 Feb 2022 05:28:33 -0500
Date: Sun, 06 Feb 2022 12:28:15 +0200
Message-Id: <83k0e8z3uo.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87r18gn1rh.fsf@HIDDEN> (message from Michael Heerdegen on Sun,
 06 Feb 2022 03:54:10 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN> <87r18gn1rh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Sun, 06 Feb 2022 03:54:10 +0100
> 
> Hmm - found another infloop, even without invisibility involved, when
> narrowing:
> 
> #+begin_src emacs-lisp
> (progn
>   (dotimes (_ 100) (insert "\
> \(defun foo (x y)
>   1
>   2)\n"))
>   (setq make-window-start-visible t)
>   (goto-char (point-min))
>   (sit-for 1)
>   (forward-line +12)
>   (sit-for 1)
>   (narrow-to-region (point) (save-excursion (forward-line 6) (point)))
>   (sit-for 1)
>   ;; (hs-minor-mode)
>   ;; (hs-hide-all)
>   )
> #+end_src

Fixed, thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 08 Feb 2022 00:30:02 +0000
Resent-Message-ID: <handler.14582.B14582.16442801741822 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16442801741822
          (code B ref 14582); Tue, 08 Feb 2022 00:30:02 +0000
Received: (at 14582) by debbugs.gnu.org; 8 Feb 2022 00:29:34 +0000
Received: from localhost ([127.0.0.1]:44296 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHENx-0000TJ-Q6
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2022 19:29:33 -0500
Received: from mout.web.de ([212.227.17.11]:32975)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nHENt-0000T4-75
 for 14582 <at> debbugs.gnu.org; Mon, 07 Feb 2022 19:29:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644280162;
 bh=owpNyZIRoK6+tkyVHnilhsjxzfX1MdBXde3fd0VqISs=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=HAl6QV3hIImjJDkM1ynZcEWdx2XeyLvIlq5FCeENpJgY9ebqc88ZDzVOPH9Kjsacm
 5niuhHHEkmjlcuVsMRVtHB1v8533WOczNiKz6j6zIX9g84BZF1JyHIzJLsGV8OF7Ob
 9kECkBa1MnzvFNpHEboG0FCQnAFrCZ3mmLqtCNb8=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MXXRF-1npcLN18cp-00YlCL; Tue, 08
 Feb 2022 01:29:22 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
Date: Tue, 08 Feb 2022 01:29:21 +0100
In-Reply-To: <83k0e8z3uo.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 06 Feb
 2022 12:28:15 +0200")
Message-ID: <87k0e6xkta.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:SsfHP7Ky+YIu7Tf9Uvml4rjDhqnjh5q749mU8bNu7a8sXM6Cbrd
 KoIUnDAeifC1k/0qmF2dnarWAZhE18TLwaiC3xp42JxLvhjy5OfPW5arrDT7a1kOmfRKk6O
 ZD0YbQfyBA0q0MXmLNj58W+txr31tuP/AqzHSCwa1vQ+P4qVfy5u3qWdgM06zwtvWFwmD0Z
 070UD18h/BofxxlxLjy5g==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:TsZ3LqjLhcU=:F5APw5Ntmd0IwWZMly4h9Z
 aBniOICziOHqjpszoHvMfh2wUF69cJtleFvADTDlXyr7FTxho1u3hZkA8SRO+qZRDePmE+lOM
 ueDxla6xWZi5MFExv1jGpYPHEkPC4fkaSmZAsHC9hjAXqZ+kQ0Q+QkWZTFs4aoTNW7BLVSOr3
 Xke5C673WTfviwa+oxS/M0qyPu2tkUObGmjciDZ63gFGoCloEnU9Nd0xkxAYUVDZInFdtJEMP
 TQabmiIP2Y9qZRroTLKJ4Ud7XhzlQvagwRWjdbdPvCBJbtJmeFE8VzGJ9qTP2kUNArN5xIhHT
 /jeFJVGJKGijPSeFp7euMXKKEf4r4Ev4GApx2m8ZgQ2MH1Fh/eWB63akXhBGKuiJQPXdq1sV2
 vRndWEN6D6zyNZ7SslZPcotZZmUHo0U+xURLKlblR3o15z9help4OI7jI1jVjsJ791poyhGPL
 a03g6/LG3Fb7qVcRT4PwxdYhwyVvYOCUQcaj2EYhHCOgxfbbOlmjz0XOei1EC18eYF1gpdfV+
 h6+orF35ey8CSfg10+CRabyKE0KblPI9anSFQwZIrUFEyurlbzFoKK/mzFpD67/IUUXHoEHv9
 or0euUdEWtwiCVT0I9NHfedoKqLG3V1xWc5kQ2SokGCyt+c4NbD7rXL1mXmNpEGT3MPbSuAGE
 guBP4rHKAo2Uv/lFADwvbL5f+7KoQWCVnh+oM6TM5ZT4DWECAxS38vePw7ijrmWZ+QAUyRWHq
 j9ncv8fBLsdzynjoHUvX41pPoKEWTUXsNO7TEWKg35dMYTqi3okEZArlu+zUxSenvF5xeFyEm
 dDdxBMNCG4YvT+yofrf9Nvwo3l+IjojBgQARgfBGbEpwMAuwCeJe1u0GJWGW9ZSPtOUAnH6O2
 FsPFx4s7AQDZXXe1HvfXNFnCC5UNBSVZ6f55iIG8EfnJZGPWwaMiipq+s4oKXexaAl59rqJN7
 Lf9+t9RDH80Um3t1tFTFG3sMxlFIkRPsq6nJAB8zlG4GRv4qf9UyF0rX3Zg2flqqIla/6cXWh
 cjjHzKkdcuJG1IOpTVpPyAh/27R/VtFXVkuUyUI+V6WZVx43ftj3kX9zHBNcfHcjBhKZ5yMZJ
 4OrwpwIbUYvgdo=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Fixed, thanks.

Ok, thanks.

The next problem: I'm reading *info*.  I'm hitting [down] multiple
times, and when a line starts with something in Info-quoted face,
hitting [down] one more time scrolls the buffer one line or two lines
upwards, although the cursor is far from the last visible line.  With
other words: when continuously hitting [down], when the cursor crosses
some line with a certain property, the display is scrolled by a tiny
amount, but only when the display starts at `point-min' (i.e. with the
beginning of the narrowed section).  It happens only once.

I think this "has to do with different line heights" or so.
Unfortunately I'm not able to reproduce this problem with emacs -Q.
Should I bisect my config, or do you already have an idea where this
behavior could come from?

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 08 Feb 2022 03:35:02 +0000
Resent-Message-ID: <handler.14582.B14582.164429126819508 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164429126819508
          (code B ref 14582); Tue, 08 Feb 2022 03:35:02 +0000
Received: (at 14582) by debbugs.gnu.org; 8 Feb 2022 03:34:28 +0000
Received: from localhost ([127.0.0.1]:44559 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHHGt-00054a-OD
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2022 22:34:28 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nHHGq-00054K-Ak
 for 14582 <at> debbugs.gnu.org; Mon, 07 Feb 2022 22:34:26 -0500
Received: from [2001:470:142:3::e] (port=47418 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHHGk-0002aC-VG; Mon, 07 Feb 2022 22:34:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=8bhcKQpD2zH0JgCmmgGTTBiY/7LhlZmgcDDHvTns6Xs=; b=Bg8IQDAfBtQp
 GKZhMWxpFYY0wBXescM+eNb+BwASzCmOVdoyQErixtHgk8XDx+elnFEKpIOxddxICEYYynTeWm7wc
 par8yW0YvBGWBzKiqcNDL/7GfO5fIpTVm+EWfzfkrSCYD/hbXSDZl2upxwjSDloZ2+etzCOECBgri
 FR1Nz7IxYP1uuy5QIk7jamIp5JyqRIXfbszj1tkIOUH3Hyz45jXIrwTKoPl3UEMxiO948GrsCn+0U
 Uubnf14XedZNiUP9XEfQCCZLkkhjxnem7NRnhEh1HEJeNhVhVAUAoYOGn4YvZkqqbRhiUh7bArTz7
 9u3QGxYW2KscflTvOS3u/w==;
Received: from [87.69.77.57] (port=3190 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHHGk-0003rQ-CA; Mon, 07 Feb 2022 22:34:18 -0500
Date: Tue, 08 Feb 2022 05:34:06 +0200
Message-Id: <83v8xqvxox.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87k0e6xkta.fsf@HIDDEN> (message from Michael Heerdegen on Tue,
 08 Feb 2022 01:29:21 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN> <87k0e6xkta.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Tue, 08 Feb 2022 01:29:21 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Fixed, thanks.
> 
> Ok, thanks.
> 
> The next problem: I'm reading *info*.  I'm hitting [down] multiple
> times, and when a line starts with something in Info-quoted face,
> hitting [down] one more time scrolls the buffer one line or two lines
> upwards, although the cursor is far from the last visible line.  With
> other words: when continuously hitting [down], when the cursor crosses
> some line with a certain property, the display is scrolled by a tiny
> amount, but only when the display starts at `point-min' (i.e. with the
> beginning of the narrowed section).  It happens only once.
> 
> I think this "has to do with different line heights" or so.
> Unfortunately I'm not able to reproduce this problem with emacs -Q.
> Should I bisect my config, or do you already have an idea where this
> behavior could come from?

I have an idea, but I prefer that you find the customization
responsible for this (something related to scrolling, I guess?), to be
able to reproduce in "emacs -Q".

But what does this have to do with this bug report and the new
make-window-start-visible feature?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 08 Feb 2022 04:06:02 +0000
Resent-Message-ID: <handler.14582.B14582.164429312031530 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164429312031530
          (code B ref 14582); Tue, 08 Feb 2022 04:06:02 +0000
Received: (at 14582) by debbugs.gnu.org; 8 Feb 2022 04:05:20 +0000
Received: from localhost ([127.0.0.1]:44618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHHkm-0008CT-Hh
	for submit <at> debbugs.gnu.org; Mon, 07 Feb 2022 23:05:20 -0500
Received: from mout.web.de ([212.227.15.4]:55707)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nHHki-0008C7-TQ
 for 14582 <at> debbugs.gnu.org; Mon, 07 Feb 2022 23:05:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644293109;
 bh=YwCeVrdshnZMCYcpQmQfrW6mZRF9mWudhBhjGQaF5Xc=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=OqB6lqfB6ihkPInt5L8ruJ59YT0N/1JXwYOwnv3+l/KDIyOo1sRAka+ZilnwaBuh6
 nhuIf/JBhK1v8LFIARdIj59LgJioymasFOOqnQ9YQDEFzEty24sP+nkkb2vIgoPENJ
 RCG0pxawGveCN1qLBmvq3SrpZgeyK59rbLlrGUVc=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MWQud-1noSa62tFD-00Xi2I; Tue, 08
 Feb 2022 05:05:09 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
Date: Tue, 08 Feb 2022 05:05:08 +0100
In-Reply-To: <83v8xqvxox.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 08 Feb
 2022 05:34:06 +0200")
Message-ID: <87r18ej957.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:9HW6eGOP917+GGDXdG/UFfGcyb7LVeD6QGZLof20qTAI1Sumo7w
 hafdbS00pl6waiad0tku4Bt7IWHiiSuazgRJFmh/WpdN/LarRDoGnKvW1NmcEKVHlnEknId
 G6gXKnPiUW5N5+Tj075zPHXx81Lvo6CNovd7Ym7wVjWeVMaXvw6veRkWLR2fiGTvZuLek9/
 9JZMp/VfbPUnuQqC9BiEg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:JL3ejrKAq+M=:hQrg/R5g/PO/CxeSABrVEm
 78gOSFcPk9bsRSJEs6hjq+jsN7SeKH0rq+pKs0gRvwILlePgBOKG8EWTaOMfdxrNZuUPIERHJ
 KIyREYpLIzCSHgpW/Mwe+5W3yaNtlEFbM9SGet4YkbbFfcarUhFjQ0urp6pI4CYJAb9i+QlBS
 OLI9e8EqdWQsQq3JB7N15LTnN+viVRnEalL2VfWahAGRGPpuOM1kRNrW9swMfyPG/MLuiBll7
 muF0kWPnQ2Uxr6qa3UbxsFSdmmEQD0L7RqlLEm34F/nCME8mblwn5VY9jNwMAtcKsPqj4R41p
 A1RR9DweddkYCCAwqtOZaga45UUFyBHX4p2KTEveoMEcrAd3DVUkU71dJhX0CMSU+UsS1k08o
 cOKBs5p36JfwFMuoSVMp80C5E9psirTNBwcbKLzu1gfQODPeQmTMkQW95TaKyjlfE1zTrznBR
 9J/pdSeN8WCXujTwuO/3Jk7AKB8dGh2S2g9sryMPHkDHTZYuhb/uIAMLBfEKXUqk8NJVJb9wY
 w3fp4IAIGQ+4+ju0uLGFZ7bkb6dUIIFpIZFHSbWgtT0Qplwmn97+wsXaiiTeVl4t0NUK+zlVx
 m/RFozoLXV21j2Q0UhyXUYSrSc0f6bbs6mZOsd04KB6MsEMnWxnMn+Ixh9u7+IXmreZa87AtG
 CO7Rh4vfmObxvv1Q3TTn7BheqEHCoti7fYq7TF6K4C/0r3DX9yupRxDDdUbL5buvhZe+hE1JR
 0hySwBagoWQVr5Jw2NNZoAIZALAu63qkdNfwpfIafpI8iFtnvVHk1z/TUx4QMiyKqFF8XaBxi
 RDMCp8Qc41r7SCiny0vrGpImVYA7yT4LLQrZIVgYSZITlTDGKz0q+QyFGRSm+qFR/oQ9x+atD
 GM81SO1/xUvCGOeAso+Kp9VwY7tvXWEE2fKch8tb6sueJFFvBv5Qpz1ALDemMMAAjcj5Dj6ns
 RgowZEHDYwNzphTWqsXXfJSwm432XOrcwbOFT+4BQdVKCaMI71Eam9G9EniuG66rT2i8GR6NI
 rL0And4JZcWOW6sa8alNNUan3hlNWyuRHK2Q30pyputJaQzPndrB6Bs7o1pDbLdQSWm3A8Kla
 A7aE1Zzza09LbE=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> But what does this have to do with this bug report and the new
> make-window-start-visible feature?

It only happens when the new feature is turned on.  Sorry that I failed
to make that clear.  Never saw this problem before.  Issue disappears
when turning the new feature off.

But I don't see the problem in -Q when I enable
make-window-start-visible.

I asked for your ideas because finding a recipe is a bit harder this
time.  Just evaluating my big "set all important options" block in emacs
-Q is not enough.  I guess I will need 10 or 15 mins, so don't waste
your time when a related setting is not obvious.  It doesn't seem to be
just a simple scroll-* option.  I guess it's not scrolling related at
all but simply caused by the new feature.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 08 Feb 2022 12:25:01 +0000
Resent-Message-ID: <handler.14582.B14582.164432304730130 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164432304730130
          (code B ref 14582); Tue, 08 Feb 2022 12:25:01 +0000
Received: (at 14582) by debbugs.gnu.org; 8 Feb 2022 12:24:07 +0000
Received: from localhost ([127.0.0.1]:45724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHPXT-0007pu-2i
	for submit <at> debbugs.gnu.org; Tue, 08 Feb 2022 07:24:07 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nHPXP-0007pA-Tm
 for 14582 <at> debbugs.gnu.org; Tue, 08 Feb 2022 07:24:05 -0500
Received: from [2001:470:142:3::e] (port=55342 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHPXJ-0001f5-7N; Tue, 08 Feb 2022 07:23:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=2vua8a0NQx7YomGlCLdks/tvpE/hq82kHluv+cZm/Ho=; b=kUahp0LpxWiw
 7A496tO7btvfl/6Bi0U/tIatcimu7KNwI+FN6jTbym7Kzgtb2nA5bR5vO49vuAuYmJl6i6FaKdVd/
 2S8iHlyay9x4rTj+fCeZ5Zr5EZdjt03/5TwZgVYhLs+XY8WUfFThw7+iEOrWwWjq6lWcdVU2z64y6
 wcsBaMK0GtmqCI23npZBpWgbnz/Vn8PDYiBAIQ2OVwdmSBVeIGOPNgBTKbzki+gEFHjbEiBrma9U/
 uA8AEq9G99/8Ic6zTjOJtkBSDVbCB8vVnHinVZk8/DYeGQ+QBD/ciJPyR/EO+PdzwhaQPv55A2kMg
 GmHxg24RbMrfg6H/f6zzFg==;
Received: from [87.69.77.57] (port=3612 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHPXH-0000Ks-Qn; Tue, 08 Feb 2022 07:23:56 -0500
Date: Tue, 08 Feb 2022 14:23:44 +0200
Message-Id: <83r18dwnqn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87r18ej957.fsf@HIDDEN> (message from Michael Heerdegen on Tue,
 08 Feb 2022 05:05:08 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN> <87r18ej957.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Tue, 08 Feb 2022 05:05:08 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > But what does this have to do with this bug report and the new
> > make-window-start-visible feature?
> 
> It only happens when the new feature is turned on.  Sorry that I failed
> to make that clear.  Never saw this problem before.  Issue disappears
> when turning the new feature off.

Why would you turn on make-window-start-visible in Info buffers?

> But I don't see the problem in -Q when I enable
> make-window-start-visible.

Neither do I, so there's something else at work here.

> I asked for your ideas because finding a recipe is a bit harder this
> time.  Just evaluating my big "set all important options" block in emacs
> -Q is not enough.  I guess I will need 10 or 15 mins, so don't waste
> your time when a related setting is not obvious.  It doesn't seem to be
> just a simple scroll-* option.  I guess it's not scrolling related at
> all but simply caused by the new feature.

The new feature overrides the decision about window-start made by
redisplay, and that is very closely related to scrolling, because
scrolling in Emacs works by basically setting the window-start point
and letting redisplay do the rest.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Feb 2022 00:22:01 +0000
Resent-Message-ID: <handler.14582.B14582.16443660672849 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16443660672849
          (code B ref 14582); Wed, 09 Feb 2022 00:22:01 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Feb 2022 00:21:07 +0000
Received: from localhost ([127.0.0.1]:49133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHajL-0000jt-JD
	for submit <at> debbugs.gnu.org; Tue, 08 Feb 2022 19:21:07 -0500
Received: from mout.web.de ([212.227.17.11]:41153)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nHajI-0000j0-Dl
 for 14582 <at> debbugs.gnu.org; Tue, 08 Feb 2022 19:21:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644366057;
 bh=SQWWpMdyqu0ZRIHwStVlEvj7HdxMFrYjpUHSj5Xt/b0=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=XrpY9bgIFxG7STjYHjK2RRVYyKxCpXQBRSuqYupfxG+yvL7CBTXfWB6TjX0VNHU5W
 BAc4qNbeBIQ5zu8KEbn/uZlRDPDzxBgHN+EPH6k907YEut4euTE2zScoP3vH6et2pl
 gfG4HX2xD2KKJDsxH0reF9CsdEuayvlCW9HSa1Y0=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MqIB7-1o3M4Y10mR-00nQN2; Wed, 09
 Feb 2022 01:20:57 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
Date: Wed, 09 Feb 2022 01:20:56 +0100
In-Reply-To: <83r18dwnqn.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 08 Feb
 2022 14:23:44 +0200")
Message-ID: <87sfss51qv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:R+x0W3/EyetrnoHbnBdvIFTxni0QsvpwFymBfLELEH5uZPY2Ive
 Gim1xtn+AwPsEYGWulm2SQTB5hfvXob7AGWNj0WiqgedhXMFSYNPk4FEwbxhDOdEEugtr9u
 FRV1xJkPlha1tyINAi9CVO8NDRKnIqItLkRhQxn+zVR6kSTMzyU8mPPQCDYjku0dxPvGFrr
 rPl9QhYblqweK3gUX7ABg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:BjuU3GnbQ9M=:CXN94kmJ5bdL/9NAhFnn/z
 PHa4sXmSFYuw/UFtxdoyBujanK0RDNZ3vxXwX6MCJrbYk6xJkA2pRUZs+xa7oYt4yQ+QrQoxG
 79hltlsuLWHafeTS8rB9us1AXJ+5R06094cLN8heCm8qf1rTiJyUdwHMpgr/TN6hhZkd1gJ8J
 DIGF6y5rSXWuGBjhWyYJ49oRPwHU51nSkos13OvOK49sHbYG5OE+m+wyfAjIWe3VOOLbopoDF
 Uj7nYh2k9+LOqgCiWN/gQYyQZL5ZaFvjKE9h9qWaWZaHKtO2nHUuOrg1Jxx/FazwqIH+kT37f
 Lb7RX7pCtY9CgXgCxI+DRLOIvErQwON/vcoj7Qc11EqNvLdE4vLpeHqFdZOvLXoM3CN33xCZ9
 IETfvjlfEPJJNtoWXxdxy+eehmdSsmoFrrtzus9/IffOXkG7ro9USi6wRXAO5ZjplpI+5FYgj
 Phm8h3GoNUN7CyQXWEoS2BMIrDCbU6s/1RHAM0jeTDipz62D7NWDgTlIr7eNQNesplTM2B2au
 8XF1bPLYUJuZwhIdrg1ANrK0xixhUmWOL79TGaP3b/C3WmNEVJhuFwX71HbBttla4auxkL6+Q
 DoBF6ujohtqXNgTvd28zoT5Y31xBLLgC7e1z1xWYPLMflHezbdn+m0Jd1LR5XgN3Jk6BS4jo9
 vWS5QOkb3aED9F5tBJYOdu2DmjQ76QPNVE5SWo7bQLRVbQ3zpIyVNfJ0sOgyIv02/SOayB8YW
 2577YwI0w+qbs5H2l32Jo3TS64npGywyUbyx5RDZjAnDSXXJ7H1hirJrRsnROtfgyrqNjkCuD
 WVm8rSkIivfXhWoVhWhBVWx+ax6rgoJM/oPXg2fC53zf463NJxrKBP7QQN4U67ktnr5SZNAwn
 PTIuCNcbYktBHWvI2HAVDMfOE6Omj5eTOCbRStqKk0S4Zm4lh8RHXpoPyKpM1B6b+etszDKVZ
 6ajuD+HBWLU/DXtsGZPq3WCxsYTp3wGcnateQm1UZkMAP2yOJZQDqkBctBaDBXxx02qcYoNh8
 TMnPLIff70z1HXCKwTpTUjPRVYqeqJ9iOTRm4lkh8nl4wZPV80bu0Xh/fdBLUMJD8/fBDzH7l
 824ZxAm/Xqa358=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Why would you turn on make-window-start-visible in Info buffers?

I currently (setq-default make-window-start-visible t) to test the new
feature.  And, honestly, I wanted to keep that setting.

Michael.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Feb 2022 03:54:01 +0000
Resent-Message-ID: <handler.14582.B14582.164437879425157 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164437879425157
          (code B ref 14582); Wed, 09 Feb 2022 03:54:01 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Feb 2022 03:53:14 +0000
Received: from localhost ([127.0.0.1]:49313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHe2c-0006Xh-I9
	for submit <at> debbugs.gnu.org; Tue, 08 Feb 2022 22:53:14 -0500
Received: from mout.web.de ([212.227.17.12]:57855)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nHe2b-0006XV-FP
 for 14582 <at> debbugs.gnu.org; Tue, 08 Feb 2022 22:53:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644378786;
 bh=1LrhpZbjEKQPY0r5NMtp4KihTRo+pYR5h+GVsCGuD6U=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=RndXBw7JATv/ZOR+elluY2jfp6pUlVe51fe+wQSo8Yk5nebDtbaqBfV6khmgt3Umm
 oapeRkHvoH6ZXA0EbfOVxzVKS6/rrr8zQHTyBHrKqfQTNSskUHVPCSZbeoR6ZoXiNd
 N7yqFG6vRD42TxZ6YuFbfhZHKDmihgIdH4TS/Xjo=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MKuKF-1ncKn115Tx-00LGzR; Wed, 09
 Feb 2022 04:53:06 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
Date: Wed, 09 Feb 2022 04:53:05 +0100
In-Reply-To: <83r18dwnqn.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 08 Feb
 2022 14:23:44 +0200")
Message-ID: <875ypor90e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:eDSEvXAiw6dxPmB+p9A/tI5MTKaQJ/GEV9Xm+juFM/AuASVPgtl
 48gpKpZabGkKqmen3/SkY6YTsTkwHRcqki+y7ufZAzwMpc/oQZMhWHMeDG9WiI/++vCfP6j
 2VVaaZnVr6goY/s9CodIgBld3BiD23yKPsSFJnCFL1hjoFNsYPQCOIXGOQaDOmJSGt8NMPp
 KTnjIH6qmEl1dH/1O+/LQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:w4qu23r8+/I=:li5Ej8LQeHT3eXWqad8jak
 e5Rwpn7eGuaQ5lT/PyRygXK3O6iW/Zf2ZnT/3ynuvVi8SVUG0qLHmMwB0Y2oE2eG8Nw7DrNi3
 kqR2s5eYScX80L+9GAOhpYPyG0WpNH7dgAJbdPQBYbvkWde5hPg0AF3CMgKKbb2/XHHd/AT6k
 pXxtzqcJRWFYsySfMqqLB465FXFZiVYZhj3B16GbL8xhWEo0KeT8iW1ZOATn+x0nystr4opx4
 xP6e028nWpxxPtBPfCXEKpq0R8iTrOcx2oGngRiW2bcz1HoHbJ461TW5aWk+veBZIZJX+fqsT
 Fh5uMzOqn0PlAWxabfrqVx2dpRbjUPydbCxV72mw5s6nJS3OdJ/Bl8yDL4uLIi+WFzbdJXCI4
 /LWGSB69DTCgXO5gqp0os14GthdG5p9UsXog4EdqY1zpPkzHf2Dob0j8PyrlIfik52UGsQ4K0
 3kqi3RQEj5Hdu+9nwo/XcQdmciFoE1L3vnRFNU28GFjcMHVQHeZT59QTRfGD/ngxXuhtrqAue
 q62SqWkDXOAIODHvaUEBsMCMfqwiS86ccF+z0jnbmW6wJZvOqT9c1xiLAlyPaOawvKxfRNvJV
 UJvtNv/7Li4sBa8YgkVnCMPphODdiG2kga44mrh73Oe9unizTLu0wwJoKiSlxJZKBsFwBXh6E
 2zOR6/cv3UY7BvlOxRq7GRo0e9xkyjxdM/5VBLsKc7ldjDKPdXMXOaakhDWNWOM0rhbCKjpRu
 ejwFGwmLj85djUlPsuPJgS3z31uJy9euhM0ukmqjdMDD/jIZF+LX02Oz1FHbSd9PaYmzf9wp+
 rFo5FUkx/Blaf841S5+NPLsXrk1gFrr0wjnitE93s0MmqUtrGyJH47QHrP8O305ZXBYGCYjhJ
 fAfHU9DrrnVukVlVfYnWZrWEDI1MnPyPFKH0ML7Y0GYHlYEfLFdaPUdTtZ0HqwRZF6hkrQjsl
 QiPQsPGO1xN7OyKZyiriVHfjEEOC/bDaaVvY+hmNpkKvOpVjpCCz1hVm12oTTfcOvBKO9r4AK
 SWuLbb2iK/Y/Q0mY9upbADi6vrRmjehk6u7YqasVmH0zcefMCcTgGCMx5RZiV2L6ICCKPkq9I
 9eEgLYHz7DIhYI=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Neither do I, so there's something else at work here.

I failed to find a recipe in half an hour and gave up for now - instead
I found one for a very similar case of unexpected auto-scrolling that
only appears when the new feature is turned on.  Also seems to depend on
the buffer contents.  Maybe it is related and a fix fixes the other
thing, too.

emacs -Q
1 C-h i
2 move point to the beginning of one of the last visible lines.
  no scrolling happens (good).
3 M-: (setq make-window-start-visible t) RET  => *info* buffer scrolled

If you scroll back so that (point-min) becomes visible and repeat step
2 any activation of the minibuffer, e.g. just hitting M-: or C-x k,
scrolls the *info* buffer.

Doesn't happen in C-h n.  Dunno what makes the difference - the fact
that *info* is narrowed or that different fonts are used.

Ah - wait, now I can reproduce the other thing, too:

M-:
(progn
  (setq-default display-time-interval 1.)
  (setq display-time-format "%H:%M:%S")
  (setq-default make-window-start-visible t)
  (display-time-mode +1))
RET
C-h i
[down] [down] not too fast ... until it scrolls

I guess it's the same and just differs in when and how redisplay is
triggered.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Feb 2022 13:49:02 +0000
Resent-Message-ID: <handler.14582.B14582.164441451529992 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164441451529992
          (code B ref 14582); Wed, 09 Feb 2022 13:49:02 +0000
Received: (at 14582) by debbugs.gnu.org; 9 Feb 2022 13:48:35 +0000
Received: from localhost ([127.0.0.1]:50254 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHnKl-0007nf-J1
	for submit <at> debbugs.gnu.org; Wed, 09 Feb 2022 08:48:35 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nHnKk-0007nS-Dq
 for 14582 <at> debbugs.gnu.org; Wed, 09 Feb 2022 08:48:34 -0500
Received: from [2001:470:142:3::e] (port=57124 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHnKe-0003wF-Qo; Wed, 09 Feb 2022 08:48:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=03guygA9CgTJcOrXYfNvq3CDX2uKBlQdpr3P3gUOyG0=; b=JrNDw3eXIpFu
 4S+yROzI3a/cXokt12NVACoB8vikNxe8YB4a/BF3NaCy5ZEBb2I80fQgEqJY8RcNgMHnIXJtIq/Rd
 WvrasUa1dn82aGayPY5jEzmiRoGFJ/UP+fIbnmFn9WhLpCNOmRuZPtOtDuJ0QB2slwDDIG38sxjfe
 tDWegpQ80Kef9rBaPkkvrdGk3e4frh/Rk8efJ8XuslKlRrh0gfoXUfgty/m5cqARw+WV+3RB0w9zm
 2J9vQWsHUugqu1XkFHLfg2hZX1dYdSPKJfaa1+Tqy5V8fEH74qp5fqCTxrdypoODtuFZwrb2O61Bt
 x0/VD5uHvrIXvU2K5jP+yg==;
Received: from [87.69.77.57] (port=2146 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nHnKB-0007kv-Un; Wed, 09 Feb 2022 08:48:27 -0500
Date: Wed, 09 Feb 2022 15:47:51 +0200
Message-Id: <83wni4up6g.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <875ypor90e.fsf@HIDDEN> (message from Michael Heerdegen on Wed,
 09 Feb 2022 04:53:05 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <87czk87vmo.fsf@HIDDEN> <87k0egwxk6.fsf@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN> <875ypor90e.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Wed, 09 Feb 2022 04:53:05 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Neither do I, so there's something else at work here.
> 
> I failed to find a recipe in half an hour and gave up for now - instead
> I found one for a very similar case of unexpected auto-scrolling that
> only appears when the new feature is turned on.  Also seems to depend on
> the buffer contents.  Maybe it is related and a fix fixes the other
> thing, too.
> 
> emacs -Q
> 1 C-h i
> 2 move point to the beginning of one of the last visible lines.
>   no scrolling happens (good).
> 3 M-: (setq make-window-start-visible t) RET  => *info* buffer scrolled
> 
> If you scroll back so that (point-min) becomes visible and repeat step
> 2 any activation of the minibuffer, e.g. just hitting M-: or C-x k,
> scrolls the *info* buffer.
> 
> Doesn't happen in C-h n.  Dunno what makes the difference - the fact
> that *info* is narrowed or that different fonts are used.
> 
> Ah - wait, now I can reproduce the other thing, too:
> 
> M-:
> (progn
>   (setq-default display-time-interval 1.)
>   (setq display-time-format "%H:%M:%S")
>   (setq-default make-window-start-visible t)
>   (display-time-mode +1))
> RET
> C-h i
> [down] [down] not too fast ... until it scrolls

You asked for it.  Info buffers have a 'display' property whose value
is a string at the beginning of each node, and that 'display' property
makes the window's start point invisible.  So whenever Emacs can make
the window-start visible, it does.

IOW, here you have one example why the default way of handling
"hidden" window-start point is sometimes exactly what we want.

Bottom line: I advise against making this the default.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Feb 2022 01:08:01 +0000
Resent-Message-ID: <handler.14582.B14582.164445524912372 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164445524912372
          (code B ref 14582); Thu, 10 Feb 2022 01:08:01 +0000
Received: (at 14582) by debbugs.gnu.org; 10 Feb 2022 01:07:29 +0000
Received: from localhost ([127.0.0.1]:53135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nHxvl-0003DU-A1
	for submit <at> debbugs.gnu.org; Wed, 09 Feb 2022 20:07:29 -0500
Received: from mout.web.de ([212.227.15.4]:46067)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nHxvi-0003DB-UL
 for 14582 <at> debbugs.gnu.org; Wed, 09 Feb 2022 20:07:27 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644455240;
 bh=dIOy6Pc+kL66Vi8NpukrIXzUMCHlINinYhUaSW7ORx8=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=LsMPYaksPscuiNd9iEOHDqPkVwEzw1mesYpBJqy5I0C1GvDXmfqfftfhAcqeb6RI1
 9M8d/Swf7YgyBAFGxsZgJAzjpyusZ2NWTYctcVo3l1lVFW93+ZEyZS+U2cc8Pn3Riu
 vNx8JgWZIe/6rpyqC9zR2Q5tGSGUfcIVmaYjR5lU=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MBjIG-1nRppc1WFI-00CTXM; Thu, 10
 Feb 2022 02:07:20 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
Date: Thu, 10 Feb 2022 02:07:19 +0100
In-Reply-To: <83wni4up6g.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 09 Feb
 2022 15:47:51 +0200")
Message-ID: <87pmnvr0l4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:X3LPwoWG+6Wm9LishHhLjwIEihe/V6p7tLxBnjrTNZIPSSFa7bK
 HP33VhpJ4IKC1CCZuGj+UMpB9+1Ge8Xc8eW7wdiarIuJUjEhI2wVHVArJ/8VMLPdsXHQURT
 4YO1+er/adYd1707Z+KewXgaSLjaiYF09L5bTvszvV48Lh9/AKs1K9OCanG28ExS9hXxmmh
 Y+mOL0ACEus7GvfIO/LqQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:qPN0p5uHNTI=:QWktp025AqKuFKO/0Ho8Aw
 7L0qXMJ89TQiZzgeUgMMRcgwiGwafZB26miPhngzp5r+/YWsWqqjzV7sCX+g67gFysYloJDt4
 EzXXqsONehXLKQOBpv8MXKT8XhsWg3daZM5BhlDdBSbrx2X/hLVuxBZXh4HQSDegqbRXZETdL
 sHnf7pRfh5mOtjCUaEx8CU179eDHIEBDdzg1dVq7LLnl/Dzpm697WLeTme0Dc2debfELgV+lj
 cvRU73iVBIUxknx+ncqBv5l+6PMPS77baDcv02AfK6ARYyMdprX5pxjUg3eJMSsWeZ0ovFwZ8
 3/CbgZ2nbghDJkZ5T7fqfm/o+m6aJ7h2Z2REULg6Y0TwrrxCnbl/odEQzLNSVH+X8iICbtRPf
 oM69n9RMtWtXkn5V0JlG3jQp8ny6rjooPHWSi9bJcESUspHmK8gEedkOhHBC6k4amq/ZaWMzr
 QttdMCZlVmXuINK4T62zm3flFrWjOc4yf0DutndTh434P/tlLgXUxGRrfXLzYYLp56ddoyw/y
 hdn1i5fUYtqXATbzpH/dLsdcBAgeVTQO6iRywTY3rY9WC8bMKB+A8cBxJmq0H3+XgaDCUpxyU
 z+gjz754wqCG4OOhF0IbgqVp1OU1gai6K97EWPdC+QOj9biHEOyDc+GrV4jroFHj+rNz3TeqB
 MpflCyPBvbZlJxhLLGvSEwbvXUzyqYPaEXJPg3SVJbWfthlHrL9Nu+uc0qHwJ4kvN32CYvTbn
 ShgOEKcnrP9R+m7D+qmfynHDMh8JUiOAWkmBLAXk6iUEaUoJonvomrZtOL4zCa8/xjPzLUkJP
 Yb467jPaeN8T+tt8VCuxlwyOQLTTMrMlauOqCJeH7ZVF2oiptDrahas8GF+PQpmYFRk6Xu5wI
 7pADYy/UKxu7DpEY7cAol30SMhUYfi+XBp12dmKVGyGd9dKFTTHNi/dSs6IRs/8eHbuyFFwXu
 NA2NxxFPrcq4xUJUCffkKdShS7oH72t064HUEeXDvYTYqwQ+4EwMcNHiJia6tXCNYg1v0lTJr
 BfhMXmBhPeP2yoiXgVUeHzSJnhzko1kTIwhbMHw4zf8muBsatDsmt2faohjHHyHrkWA3UGUZ/
 X0EcnluSONVi+U=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Info buffers have a 'display' property whose value is a string at the
> beginning of each node, and that 'display' property makes the window's
> start point invisible.  So whenever Emacs can make the window-start
> visible, it does.

But Emacs scrolls the first lines out of view: at the upper edge, less
text is visible after the adjustment.  How does this make anything
visible that had not been visible before?

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Feb 2022 06:17:02 +0000
Resent-Message-ID: <handler.14582.B14582.164447377312616 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164447377312616
          (code B ref 14582); Thu, 10 Feb 2022 06:17:02 +0000
Received: (at 14582) by debbugs.gnu.org; 10 Feb 2022 06:16:13 +0000
Received: from localhost ([127.0.0.1]:53399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI2kW-0003HO-RJ
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:16:13 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nI2kV-0003H1-Ee
 for 14582 <at> debbugs.gnu.org; Thu, 10 Feb 2022 01:16:11 -0500
Received: from [2001:470:142:3::e] (port=49916 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nI2kQ-00018u-55; Thu, 10 Feb 2022 01:16:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ZIkY39+cHd5aVkYCwXLv0XeRdV7Na61DomX3p9gyaDU=; b=OcSj14Otszxo
 br5ScQAICNuosOpaqZWPqzQ82ZE05URlD/hBVDBfmZkbKrG2SKNhJZj+ZCS7l26NX1PxHYHyfpzPw
 IActU+o4y/nX0DAusMQav3n9AF6mIyU5BmsGhXU4bD4S9I1nGnYcgI3jgBAh2eJhGxcqtYIWcEO8f
 s1nefDPXizh8BsJmatBxoziE0x+YD1pmuovF/DiKf5jlQyf44VPVx9EnmlKHy3/6GxiZnW5W9s6uc
 Qgr/8rzUvylOEFAM5YQEYvVHMSnCMpAL6v9UKNsOgYh2VPdkpkK9qSWJJX4sUiJLTCh5NwS3ms9vB
 yKscAAq90a3wvCO+jJIb4g==;
Received: from [87.69.77.57] (port=2952 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nI2kP-0007d8-HW; Thu, 10 Feb 2022 01:16:05 -0500
Date: Thu, 10 Feb 2022 08:15:59 +0200
Message-Id: <83a6ezuu00.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87pmnvr0l4.fsf@HIDDEN> (message from Michael Heerdegen on Thu,
 10 Feb 2022 02:07:19 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83k0eg7y23.fsf@HIDDEN> <87sft37nmo.fsf@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN> <87pmnvr0l4.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Thu, 10 Feb 2022 02:07:19 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Info buffers have a 'display' property whose value is a string at the
> > beginning of each node, and that 'display' property makes the window's
> > start point invisible.  So whenever Emacs can make the window-start
> > visible, it does.
> 
> But Emacs scrolls the first lines out of view: at the upper edge, less
> text is visible after the adjustment.  How does this make anything
> visible that had not been visible before?

That's not what make-window-start-visible means.  It means "if the
current window-start is invisible, try to find an alternative
window-start that would be visible, while still showing point".

Your interpretation of the setting is simply impossible to implement:
the display engine cannot possibly do anything to uncover the hidden
window-start point without scrolling the window in some way.  So
_something_ that was visible before must become invisible after,
because we scroll the window.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Feb 2022 04:43:02 +0000
Resent-Message-ID: <handler.14582.B14582.16445545756596 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16445545756596
          (code B ref 14582); Fri, 11 Feb 2022 04:43:02 +0000
Received: (at 14582) by debbugs.gnu.org; 11 Feb 2022 04:42:55 +0000
Received: from localhost ([127.0.0.1]:57960 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nINln-0001iK-8Q
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 23:42:55 -0500
Received: from mout.web.de ([212.227.15.4]:49495)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nINlk-0001i5-L7
 for 14582 <at> debbugs.gnu.org; Thu, 10 Feb 2022 23:42:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644554565;
 bh=JifrRVydk6Qzo5akJxhbPYXdmby1jAmnDG7bF55d3nQ=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=BHWKnphD+8con0k/yR9DZyq0+vnKKtyyFb0tlQIY/86aJEtyQ5VF1Lo504xdJNaSY
 0Wllt5MFXpXYfOH4VhjJjHSYgai2API4qEK0qbbfN0B0LnYGhWTPtF0hSqyP0Qoaky
 hLyt9qITRZcAf47gT9FzKcbUKN9Id9VvWcDSvg2Y=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Md6xz-1nrieU1J9H-00a0lN; Fri, 11
 Feb 2022 05:42:45 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
Date: Fri, 11 Feb 2022 05:42:44 +0100
In-Reply-To: <83a6ezuu00.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 10 Feb
 2022 08:15:59 +0200")
Message-ID: <87wni2ypx7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:O+dZpVt5VEyU6Gcwus0UjcRy4X8NCvH7XR1RpzWQJOKy7RHCdHP
 persX/Iwrpatc+EbskAzjMthTJgVZGC50O9Q/8yrz3A4LsEj0LnYCnWzk2Elbr59uwCjcmp
 a11V4L8AB8uNWs1ztIwBhRDyoZNagXXnwWRZv6OhIo1dAqYoc+Qln6RQBxrHkoFMrajje7x
 8clymCyevkJW9e+/2C+Xw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:HIW963uTiiQ=:/dj0eXuVKbp1qAD4p8FxYP
 pu1b+gt0sTAfZgj9Yl+cwBoPYF8B2Jar2nppxr9eGZ6mooUW3dTKQKTI5Wp1Xc9njCpjeRHtU
 sMRkvARk6EJ43WTee3uuastRGFZN9m8wXiKu5X5g7djJ4vKQiRqCtPXLzjlVCqDpE1woYiQW5
 IYRMvB4IMKQ2IXYsTTLCH6fKFLjdPVqMtTzgfxaIJrsj7FW4T2ADY/WXn8jv5flqnN/R6FivI
 DzqxYqRtpezEqf5SPKzju7/yw/RwO3/PlPKOPTdLgDuh6CeCmeFTDrY2ehfFPmA/2OzISv6z5
 H/lU/S0q0mnszfYaLTyTcVBAMuKwB5iRP64kDo2nC7p0ob+JMAzHxiDhDX54UvqFGRXQh7zep
 7sexpXbZLUZn3+aOW1JMal41nprw70pRqCTnGtfqsl5ki18NQLMUA/XTwe5YgY4r05vleQsYC
 vTHdnoNOU+q6D1ui3etfg/sKtIqwWPXAYL56XicvIE0IwMi2kHDR8pXgfnOd2LMVJ4xZEKgIU
 oMqL21XtEN4QtWJUd6fZ1QXBiguz/RPtfu/3ZFYkhmJ7pCkqTTxXy25pUJLrcw/gb4u3oaOO6
 ivCWXZKah6jh2aTevhmqloXtqoMvvstT/p0Aj2f3nEaUoy1uFVto78ViSB8w2kXISrXHfZRp+
 TATtFF6XYfP1fbirP9Fk5xsHcdhwkGUPMB1/ztd/cRHMRm6M5kjkJ/4nanHIJkgzgCXp/4IF5
 xgh0AEL+B+jlAG2EEOe534lSt6vKMQGf1IPc6ozygHk/UMgRh9ZREr11DFvSWkBvIlzSgbswt
 FOxrOSraa645W6eRogBREdoxlwaXv7UFxIxCRJPzqEzaqmGQUT1jHYG6tQ5RMJepkeEZptRP0
 4TUHEvFps87nxJp3RMwnazpiJ+BPyLcXf5i7Ob6Avto8TVe0aaAka1YIZw18PJcJADiaAP1mN
 W5SEvErRl4ZBhsJNYkB46ZiGaSj5osl1UHx5vgNev3Gxng6vvOTIpg5sQ+gJzRwn/5Xvtbtji
 4zN2qg0TT+GDMrkEpTIvGBdQeiGCTxXSDgrXtFPYrlp3S7Kv28b228ruYlDHnoaOwwMXx8kOo
 nsjPYLT9mTv5C0=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> That's not what make-window-start-visible means.  It means "if the
> current window-start is invisible, try to find an alternative
> window-start that would be visible, while still showing point".
>
> Your interpretation of the setting is simply impossible to implement:
> the display engine cannot possibly do anything to uncover the hidden
> window-start point without scrolling the window in some way.  So
> _something_ that was visible before must become invisible after,
> because we scroll the window.

I'm irritated that the newly chosen window-start can be after the
original position.  I don't know any use case where this is useful, and
it was only irritating whenever it happened in my test.  Is this
unavoidable?

BTW, why does the adjustment happen when I just move the cursor inside
the displayed window content without causing any display change?  The
new heuristic seems to depend on the value of `point' (I don't mean
values that would cause scrolling the normal way).

Thanks,

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Feb 2022 08:47:01 +0000
Resent-Message-ID: <handler.14582.B14582.16445692037441 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.16445692037441
          (code B ref 14582); Fri, 11 Feb 2022 08:47:01 +0000
Received: (at 14582) by debbugs.gnu.org; 11 Feb 2022 08:46:43 +0000
Received: from localhost ([127.0.0.1]:58233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIRZj-0001vx-4O
	for submit <at> debbugs.gnu.org; Fri, 11 Feb 2022 03:46:43 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nIRZh-0001vi-9Y
 for 14582 <at> debbugs.gnu.org; Fri, 11 Feb 2022 03:46:41 -0500
Received: from [2001:470:142:3::e] (port=47314 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nIRZb-0004Ga-TD; Fri, 11 Feb 2022 03:46:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ON0QXWEcfLhiHZLUt+p/xs+sQg6nkg3fh4hJFsBjKNM=; b=TrGxsIbrct3L
 8Rm7/NjHFxtvP5Vi8kfdj9NXGfIrLUvKKe/qAGSu3bt8oU7jKUSzne6dz1+khIduYXqs3Y1K8qtlm
 IKs9aXA0Av86tg4+Y2NiDRBuOefIufTOs7uheOU8+XjdIWmDKf9LAk9ORbepzzax0A8AX0Nxz98oT
 TvTTPvtB5ip+OvnL83xiVcMk0kR7JRt7Y9HKwPUe2LCF/BCfIryT2O1LVDACfmDuN2pOIpB/DIiqj
 GKrQhmGSjwv7McCNfm/9sWSwnryBigpv5rgQFDScXQE0r7yIgnHYcM9WAyW5n6Tp2JZLsZI0egcXv
 RU/4iXTTXqMl8jc7z2iujg==;
Received: from [87.69.77.57] (port=4818 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nIRZb-0004FQ-CN; Fri, 11 Feb 2022 03:46:35 -0500
Date: Fri, 11 Feb 2022 10:46:31 +0200
Message-Id: <83tud5ssd4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87wni2ypx7.fsf@HIDDEN> (message from Michael Heerdegen on Fri,
 11 Feb 2022 05:42:44 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83a6fb90zy.fsf@HIDDEN> <87h79j2srb.fsf@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN> <87wni2ypx7.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Fri, 11 Feb 2022 05:42:44 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > That's not what make-window-start-visible means.  It means "if the
> > current window-start is invisible, try to find an alternative
> > window-start that would be visible, while still showing point".
> >
> > Your interpretation of the setting is simply impossible to implement:
> > the display engine cannot possibly do anything to uncover the hidden
> > window-start point without scrolling the window in some way.  So
> > _something_ that was visible before must become invisible after,
> > because we scroll the window.
> 
> I'm irritated that the newly chosen window-start can be after the
> original position.  I don't know any use case where this is useful, and
> it was only irritating whenever it happened in my test.  Is this
> unavoidable?

It isn't unavoidable, but doing something more sophisticated would
call for a significantly more complex code.  The current solution for
when this variable is set and the window-start point is invisible is
very simple: we recenter the window around point.  The recentering
method is safe, because it always succeeds, which is why it also
serves as the fallback method of finding the suitable window-start for
redisplaying a window.  The code that implements the recentering was
already there, so the introduction of this new variable boiled down to
recognizing the conditions under which we should go directly to
recentering, bypassing all the other methods.

Anything else would mean a much deeper surgery on the (already
non-trivially complex) logic of redisplaying a window, whereby we both
verify that the previous window-start is still usable, and try various
optimizations to make the redrawing itself as cheap as possible.

> BTW, why does the adjustment happen when I just move the cursor inside
> the displayed window content without causing any display change?  The
> new heuristic seems to depend on the value of `point' (I don't mean
> values that would cause scrolling the normal way).

You may be unaware, but moving point always triggers redisplay of the
window.  That eventually nothing happens on the screen except showing
the cursor at a different location is because Emacs is smart enough to
detect that nothing else needs to change.  IOW, it's not like
redisplay is being explicitly told that only point moved, and moved
slightly enough to allow the same window-start to be used, it has to
deduce that by itself.

When this new variable is set, and the window-start is hidden, Emacs
falls back on recentering the window around point.  If point is closer
to BOB than half the window, recentering will normally fail to find a
better window-start that would show point at the center of the window,
but when point is farther than half the window, Emacs will scroll the
window as result of recentering.  That's why you see the dependance on
point position.

Once again, this option was intended to be used in relatively rare
situations.  I do not recommend to set it by default, especially if
the side effects annoy you.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Feb 2022 00:26:01 +0000
Resent-Message-ID: <handler.14582.B14582.164462555421623 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164462555421623
          (code B ref 14582); Sat, 12 Feb 2022 00:26:01 +0000
Received: (at 14582) by debbugs.gnu.org; 12 Feb 2022 00:25:54 +0000
Received: from localhost ([127.0.0.1]:32979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIgEc-0005cg-AL
	for submit <at> debbugs.gnu.org; Fri, 11 Feb 2022 19:25:54 -0500
Received: from mout.web.de ([212.227.17.11]:38365)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nIgEa-0005cT-FI
 for 14582 <at> debbugs.gnu.org; Fri, 11 Feb 2022 19:25:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644625545;
 bh=8RZGoFq4qHcTO1BYz2N/akJXh3CW/Yj1y2iO+oVbhIQ=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=JwLk9MxKVn2MHVDJBOs3BjBSmGVbkR4O29HS0FNzXz3qp+NFWz/FiYZ8cuHoxliVg
 0zoU5rfOwJrG2uGclg0j/NYxYIfKObjictA4N2A+QzWqIt3lVJ5nkrE466NI2ESEKM
 s+IdOBV1l43+EVpJpU+3Tp6zwipqp2nOUySRTTWI=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N7QQB-1oNmUe0v0P-017pQz; Sat, 12
 Feb 2022 01:25:45 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
Date: Sat, 12 Feb 2022 01:25:44 +0100
In-Reply-To: <83tud5ssd4.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 11 Feb
 2022 10:46:31 +0200")
Message-ID: <87bkzdj5h3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:v1n2/GdGaIl6AlTp3Z2O4oZAC4wSeNOmVph6RiN/xY4DE7sMJFv
 wiZGJ3YiHXiTaSs+M9ed9dvUxDp3PpL82MfCyoMXYxCbGKvt/SR1HVijUjz+7NMKJPdlcCD
 8e6fw9aKHC4zw3+uSv+UVIMkVkTlmfDt1qGVybKtILt3FMmycvEGDQB4Ozwb5uGkxbupLaD
 S7DJ0LaNpeJwweRoozmUg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:+zkWIr5F2vE=:ASoOKLr5LczSgDpGkQymoI
 ChgS6IYo3VJ5eGPIAuCl0LhkLGxby+Nk/+ZhjHvAmEUNoHz67+riMoM89YyodMkzWk3o/a4Db
 5Md8r1df0+D1KxgkBDqyA7GqbiDkn+V888QRG72rSs/ay95+4rqVwE6IfWvlewAJ4IuxI2ed0
 6KYabbkSdBinPz2SqPmPrSgHbsEV9+eBfHyr2VxItjbY4NnE6qyjNB6NRG1x/U7Jeo1oKsJVp
 06ZZcJ/GyEE8/hyGQTNaoDMpAdMTlVZcS5/Nd76GACN3bK24isi5x3u9eUDY5svRFTsf2xGXd
 AMBz12I/X1nagwtNqFrfpwmWtd1PBXg2YBWT6pbCfLvIpcA75MsX5VxYRw7n8wRGpphqGQ08Y
 4W9bj4VuBB4pCWtM8EAn42XbNVc64r/Dr0fOuC5/RUkAM1qKwRc+ShYtXXktTKMfRiY54s7AG
 zTsC1/PzZl5gbt08P3Q6bKbdAl0dGrcHol6i0UKjzeXZISd1xx+iGhxnuWnmCJJ0oCkjP3Zi9
 8EvdT4odyrfIGPb/yGwDbNKhBvo63EavPD/V02SSgTXy6F0KFQnYzBw8rvnsCdcURUP/rG+sa
 A7i6x+LHNpewIOgSnQMwS6Dc455VhAe6M0ji7b2cDX83ABO6Wgnl4uSIiSW5gI7ZGd6z3l2ga
 9avfyX5SIVcV07mxAHDWTgvlZWD3TVuX1L7xZYa9k7+2zGYjG2Js+k/QhO18NTgizBDleJtGX
 A/x/aQUjfkxWwtGamKYyIhykJZ8MiuAjkXmWTNZtjBi1wCNSuDq6OOAQZD0DL/sap/dWH5FH7
 UuzKrbGFXs30exr/Os7LhIbij1R+aBRjuPdebvyYi4WVyTzWaY5VasE/p2l0CnuloHlmPiLU/
 9k8eOQTWl97WgUfxQd6PdSvo15y2w/8/J9UEXr3B+ESWZOTTtPkadH7BWlWBNLBibPUQAitcx
 4IqSpL3JfIhiHFMDODEjc43NikAFOvUgrs+nacfyM4s/HRqYzEL0w1si4BxnEfWDE9M3LzLND
 cIuMwZ4eIJfYfEtqfOCqkRDZ+WKuE50xtKdxgMBkaVPwN2h8qLtZUdikNKNBfA0KrsddT6Pzr
 SY7jVGJk2eS27g=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Once again, this option was intended to be used in relatively rare
> situations.  I do not recommend to set it by default, especially if
> the side effects annoy you.

Ok, finally I understand now that the display engine can't do what I had
in mind.

IME folding can confuse the eye, and the vertical position of the cursor
is one of the main visual anchors - I would want to avoid any scrolling
involved to solve this bug.  Which would mean a fix is yet to be found.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Feb 2022 07:29:01 +0000
Resent-Message-ID: <handler.14582.B14582.164465092416691 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164465092416691
          (code B ref 14582); Sat, 12 Feb 2022 07:29:01 +0000
Received: (at 14582) by debbugs.gnu.org; 12 Feb 2022 07:28:44 +0000
Received: from localhost ([127.0.0.1]:33294 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nImpo-0004L9-Ic
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 02:28:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:43020)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nImpm-0004Ku-Ja
 for 14582 <at> debbugs.gnu.org; Sat, 12 Feb 2022 02:28:43 -0500
Received: from [2001:470:142:3::e] (port=58874 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nImph-00088W-1m; Sat, 12 Feb 2022 02:28:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=YAvCZscDYJbcjmn3S31Xyub6hKOONDu5J3Jge9stvrc=; b=rkZs90xmY79Q
 ZQUu8HEaWWojAMTTQjtOzW/bZzMV+MulowM4ZzhpPPuzeYZX17rgKtmOpqkpFPk7ve16s6qduXtyM
 72He+bCGIOsmzmcCXBl9vFH3IB/PP77AKsOqF1Uf80CCNFkFF5ENXH6r/fyD9yUD7wbamS1H2Qpnh
 P/P0y+g/V3/lq9TviUE2aBxXQpFNwiwE38Rldcx3v1Bd0X3u9+WA5QVKWumGJgO8CRHXaodGXjPwD
 w6U2DExygbmvMzNaNbgrMp774t1Qmt/AJUe4M1ddcuycHsaD/vWfykVMUIj2vnk1YUwqjT788S+Jc
 CqOA596WFMLstrHSPpkHvw==;
Received: from [87.69.77.57] (port=1574 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nImpg-0008EW-Dc; Sat, 12 Feb 2022 02:28:36 -0500
Date: Sat, 12 Feb 2022 09:28:28 +0200
Message-Id: <83fsoosfvn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87bkzdj5h3.fsf@HIDDEN> (message from Michael Heerdegen on Sat,
 12 Feb 2022 01:25:44 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83pmo678o1.fsf@HIDDEN> <87iltynkbg.fsf@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN> <87bkzdj5h3.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Sat, 12 Feb 2022 01:25:44 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Once again, this option was intended to be used in relatively rare
> > situations.  I do not recommend to set it by default, especially if
> > the side effects annoy you.
> 
> Ok, finally I understand now that the display engine can't do what I had
> in mind.
> 
> IME folding can confuse the eye, and the vertical position of the cursor
> is one of the main visual anchors - I would want to avoid any scrolling
> involved to solve this bug.  Which would mean a fix is yet to be found.

I disagree.  The fix for the problems originally reported here was
found, and it so far solves all the use cases presented here that
involve either folding or selective-display.  The fix handles the
potentially confusing display when folding or selective-display
settings are changed so that the previous window-start point winds up
being hidden.

After the change in folding or selective-display, and as long as these
settings don't change, the window-start point is expected to be
visible at all times (due to how window redisplay is done, something
that wasn't changed by the changes in this bug report), and thus no
unexpected scrolling should happen.

The use of the new variable in all buffers is not recommended, and not
what it is supposed to support.  In particular, its use in Info
buffers may cause unexpected side-effects.  Since display in Info
buffers is fine without this variable, I don't see how what you get
there is any evidence of a missing fix.  A fix for what problem?

Bottom line: I think this bug should be closed, as the original issues
were all resolved.  If you disagree, I guess I'll let Lars close it in
about 10 years from now.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Feb 2022 22:54:02 +0000
Resent-Message-ID: <handler.14582.B14582.164470641613082 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164470641613082
          (code B ref 14582); Sat, 12 Feb 2022 22:54:02 +0000
Received: (at 14582) by debbugs.gnu.org; 12 Feb 2022 22:53:36 +0000
Received: from localhost ([127.0.0.1]:35928 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJ1Gp-0003Os-Lo
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 17:53:36 -0500
Received: from mout.web.de ([212.227.15.14]:44349)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nJ1Go-0003NW-0Y
 for 14582 <at> debbugs.gnu.org; Sat, 12 Feb 2022 17:53:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1644706407;
 bh=bsjWV9/XcA9xaJpPRRcNsQn4MUrLW4Sl/vXOHwH/6LQ=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=CiFeef3N4dF0ejvbh646K8PUo5f2ulYtzpHVypPkw8i5jsqDaIeFq0uNMwgRReY0y
 e9MnY+inpJQRxCrySgZLnAZhEtLpeZzg8mr8hV53LMpbDs2oobmH2SwVGTUlFXqGCf
 KdyG8u2gnK3NDZyX89DuQyy3yyV1JmIKphGxq2LM=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M6HKG-1nLC4F0WyG-0078eE; Sat, 12
 Feb 2022 23:53:27 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN>
Date: Sat, 12 Feb 2022 23:53:25 +0100
In-Reply-To: <83fsoosfvn.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 12 Feb
 2022 09:28:28 +0200")
Message-ID: <87fsong0ii.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:O2VEfYirxZeXX1v3dIXp53ZBqChhR9V4PPVFjaGsll/jWGrPitO
 lAAFy3TXFpfGvaHLpdSda720Mu/QbkY8xXEp/pu0d9bqwSA/6jTFT3QmstTdqL13fQ3U+W/
 bmG6PB5lCKEt8agiyKSnUtFpAjSnkI+l1aAs5X4/gEKfHioYPIUIUa+WoQ4uONhAxeJoZjU
 CAxNyBy/BzwAj/R0jd+dg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:5M8chgQHJ2o=:HRDuXCsj+x70xXrep6Nan4
 0HSlAKXdMOb7sH/VnydW/qXaOTtZutXetBg3bDxsf9Nm2rQ0Pyvgq7HrCnQdyNieXbyMbLXZE
 lE8IHqw4wlqiAb9dF3MgchWY9b//kNK/7/fEo9rvFM28mR/TiY2Cara4YQxVmsWlTsYYRuHyE
 l6/XZFtKN/OEvzHvdmgGcAog0O8jZhDS4vwqCnPY9y/z4KIoQFfkVH3BWCl2KFy1/draXzXod
 dIyOnNGLj9TtY3O+LzC1TxX4JX2OVEslH6iMb6Ll1eGf0a/4jmqsCPsainQPSQ0BGRDdB4bts
 MwTLfr/6QChnLdBw3KPiAHL5suOLWEgtcfcDeGc5Hg4omir2VHipLbm8QJnjJ95cV3T49cLNg
 8bIoNDVMpep51yklF+iGB+GqYuzwecGl0EAhok6pllkQ/V9O+hMo16rd5i9X4gPKctgc7LQ9d
 i518ujvMoU88Hb+Srt0beEaMiWAJGtvEomHiyDST11miSHW5isv1FMa/b77tkfzeutmRmOtZ9
 2R6vCHREeYLO0C9hHzOXGlPbME1qkblk0ne7hH7sExNVFGBi1z2JRz+G21bkQiVMm/DTQ1AOp
 seT93Vi+KsP6h8k74VkAdDCLnbCZgCoKTCGIEEgP9p4oVOp89xa8vZ8mCiOoxPw/3MKVkqBIg
 0Bs6aZd7Jg/BPTVVNPvgkv5c/W1rgpFgKEfyk1HfLG8M9j0He/YWt2k3UEmBEBPmNlQFRtceF
 R4L1Z/DThNGekKpYrQG6sOPt9aIaE9W91yjHGKU9MIrUhAdruWDU1JpL3+ewI3Nd8S2Y33rU1
 Kquxi7wiyLLZf4QidT77ZiPXknFoyy4UBoO+YWJlYRixq9TV8OO8FGdkf2X2HRunxnsDDr1+w
 KWAfzBILNVrz5/Z5dHK/Lcvm8a5RPKM64rRDzsQmsQCgX6gtMoZkPgihT4G2T4/aoNcWW0vKm
 bYBmTYEqEQnsGKs3Buss/UDIiqC1/Zp6JKdkEEzfA8S8pH4M6FR/KiVTcrzGiFYYQTbODCQnF
 pmhL35OBFntzI1lGENVxiiudWnLhTiyrPbPzbSDP88kUJWSBJ2T66foA5L2wDEOiHq9oKjCU9
 nRhIs408Dj2bk8=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> > IME folding can confuse the eye, and the vertical position of the cursor
> > is one of the main visual anchors - I would want to avoid any scrolling
> > involved to solve this bug.  Which would mean a fix is yet to be found.
>
> I disagree.

> The fix for the problems originally reported here was
> found, and it so far solves all the use cases presented here that
> involve either folding or selective-display.  The fix handles the
> potentially confusing display when folding or selective-display
> settings are changed so that the previous window-start point winds up
> being hidden.

Ok, we have introduced a new variable.  So far it is used nowhere in
Emacs, and it's said to not turn it on by default.  Nothing has actually
changed.  The recipe I had posted behaves the same.  Do I miss
something?

BTW, did you ever use folding?  I think not as often as I do, else you
would have known the issue we are talking about.  My feedback was not
meant to annoy you - I wanted to share my experience as a user.  Didn't
know that that's irrelevant.

> Bottom line: I think this bug should be closed, as the original issues
> were all resolved.  If you disagree, I guess I'll let Lars close it in
> about 10 years from now.

I don't even know what to respond to that.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2022 11:44:01 +0000
Resent-Message-ID: <handler.14582.B14582.164475259322685 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164475259322685
          (code B ref 14582); Sun, 13 Feb 2022 11:44:01 +0000
Received: (at 14582) by debbugs.gnu.org; 13 Feb 2022 11:43:13 +0000
Received: from localhost ([127.0.0.1]:36714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJDHc-0005to-NO
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2022 06:43:12 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nJDHa-0005tc-Ih
 for 14582 <at> debbugs.gnu.org; Sun, 13 Feb 2022 06:43:11 -0500
Received: from [2001:470:142:3::e] (port=34276 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nJDHV-000372-1W; Sun, 13 Feb 2022 06:43:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=UyVoe4iC5MXoCKew20riimQYsc2dahj/CCcYKnJMkeI=; b=pS6fO2P7hIxn
 w+ibwbozAH5VV0J9JF0MAlTHYWomtBChU52s50Wf0Wxc9DbEjl9ra6h4Gln+lZzyaWPyFI4/39JvH
 H52KavfrZtqeTy0fok/Qe2PnibAqcwh/V1uUXcY35x68g104WLZnshDtBNfNNyLS5K0qWDJ0EmBXg
 nxV89a8fcbTjgk0XHVv/d2zUwhiRXfyowk13RMKm38BiDqdPfMr86pAQgq9Y4XX/pi/UNxQVdvpms
 gClGngPHpILo1PilxxBtYRrVAC8FbAeeJMkl6GAnN4QYbyTzg8cZHh0ALbaLl1pklmIZOjMKOn86G
 8MVAdtJ7HHHB09nMycVJ/g==;
Received: from [87.69.77.57] (port=1448 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nJDHU-00082S-Hl; Sun, 13 Feb 2022 06:43:04 -0500
Date: Sun, 13 Feb 2022 13:43:00 +0200
Message-Id: <83leyfq9ff.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87fsong0ii.fsf@HIDDEN> (message from Michael Heerdegen on Sat,
 12 Feb 2022 23:53:25 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83h79i6iw6.fsf@HIDDEN> <878rut6hlq.fsf@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN> <87fsong0ii.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Sat, 12 Feb 2022 23:53:25 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > The fix for the problems originally reported here was
> > found, and it so far solves all the use cases presented here that
> > involve either folding or selective-display.  The fix handles the
> > potentially confusing display when folding or selective-display
> > settings are changed so that the previous window-start point winds up
> > being hidden.
> 
> Ok, we have introduced a new variable.  So far it is used nowhere in
> Emacs, and it's said to not turn it on by default.  Nothing has actually
> changed.  The recipe I had posted behaves the same.  Do I miss
> something?

Please feel free to submit changes to relevant modes and features to
use this new variable.  I use them only very infrequently, and am not
annoyed by the issues that started this bug report, so I'm not a good
candidate for suggesting such changes or testing them in Real Life.
(I thought as soon as the new variable is demonstrated to be able to
solve those issues, the patches to the relevant applications will
follow immediately, either by Evgeni or by you.)

> BTW, did you ever use folding?  I think not as often as I do, else you
> would have known the issue we are talking about.  My feedback was not
> meant to annoy you - I wanted to share my experience as a user.  Didn't
> know that that's irrelevant.

It was hardly perceived as irrelevant: I spent some non-trivial time
working on this, which I wouldn't do if I haven't thought this is
relevant and worth working on.

> > Bottom line: I think this bug should be closed, as the original issues
> > were all resolved.  If you disagree, I guess I'll let Lars close it in
> > about 10 years from now.
> 
> I don't even know what to respond to that.

Sadly, it looks like I can never disagree with you without annoying
you to the extreme.  Happens all the time.  What am I doing wrong?  Am
I not entitled to my own opinions about how things should be done in
Emacs?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 27 Feb 2022 03:55:01 +0000
Resent-Message-ID: <handler.14582.B14582.164593405624971 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164593405624971
          (code B ref 14582); Sun, 27 Feb 2022 03:55:01 +0000
Received: (at 14582) by debbugs.gnu.org; 27 Feb 2022 03:54:16 +0000
Received: from localhost ([127.0.0.1]:56644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nOAdT-0006Uf-N8
	for submit <at> debbugs.gnu.org; Sat, 26 Feb 2022 22:54:15 -0500
Received: from mout.web.de ([212.227.15.4]:35725)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nOAdR-0006UP-7t
 for 14582 <at> debbugs.gnu.org; Sat, 26 Feb 2022 22:54:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1645934044;
 bh=JuoPlkHJ/6JtEhz0LlQZDwId8h6KMy19rjynQqEQRnI=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=Y175AztDRmTdeVHpycO081I/FwFicJijmHgg5dOCCpQB/NqJ1iz2KOKWnnIf4DIUU
 2IUORFTqUGZ4VlKXtaN+DTH7TeykKdTJ1/xlD4ijMpLsZ+4IoeicZstNRN4kstkpdo
 oNNj0F6nw22EJRJ6vuZxfZsrTFDtDSZKHziKLX9U=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MdfCH-1nxVJi3KDZ-00ZPrp; Sun, 27
 Feb 2022 04:54:03 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN>
 <87fsong0ii.fsf@HIDDEN> <83leyfq9ff.fsf@HIDDEN>
Date: Sun, 27 Feb 2022 04:54:02 +0100
In-Reply-To: <83leyfq9ff.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 13 Feb
 2022 13:43:00 +0200")
Message-ID: <878rtx6k2t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:1RzUbOk2lZ4GCeE2kIka7QMviAjRE+ZZWazAF2Spn7Qf2BJl3F1
 irc8joIuU2Qjt9NhERKezgaQJmdBkXCmyf+HAGih4XWgMAEzLScPsFFACUTpnB87I+Fvzbl
 k3yWG0Yn6jxm+7WufCqiBC8VqXkKy2/NlNN3NwqjBm6CNLUVYOflNeBPIWnrswWlxhWb/3J
 YQuVoI5CU+iqYsBpW9PBQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:GOh51sHoiAg=:YhouMVKbR+/FiO9/ZH13fo
 nI1JNQT4ZYMC3y8C7mfMkWOkOdZyLenfQ01A1ct3qgHeVKiw0/T6TrgNdKWJV/MD6wqNQ9gbu
 lZDxc+9odQdA+JSek3apdqEb+ylK6hL98MxE4ouOnqH6592Uy5WLpUDj0BiEPFSAdVDPXnb/e
 AW+OFwYTYVco6QbxVzbsvOtJHBW3itnMUNb4Q2bY+gXzhAPyaicE/vcIDOCuRQKG8Fs2D66KQ
 4Ysk65ziCIYeM31sGLp9r/8jdmespSA6gfadFcZf3ZQUIfVINcUwcAkyqR8+Dj/BodZb0MIx+
 mMKP76rPesx0tKyb3RADh2a8eVpnVEV0o6kmZctXnAP9+oWoPoQUv1xxsQHDL3g7vRP8pipFl
 ARE6cFQiH1aBxg0DqktlALkv1vEwmcdZD/SElECi6mhO1BHUMHb/tIHIMxfib3xI1y+uSWBGY
 Netd+RIAnVFbzuPeBNgB6z5M4fNOC1bWgeriMH6jlFIRg86ndTgY7ckL373zU7Mb2T5FnrE1z
 jX7aWRFtGn6/59nRoAvFCbt/vDG7HyKtc/OdHa37RfEsHcQxIhviVwELoLFZGI8AnYb6y7ZFA
 daIL1ZQhB3XlU0ItH4SB01rVEQAgv/n9OlOgUCOOh80HvOCs1uKjNgOCaLxRztXrGYtdXshUj
 1qOHSaRmFO5JeJNfxQOjiwgZ53WZHrIpPcqTkFOZp0SplVCmKEP4ri7ZOZKl/fhCPIwCe0pqR
 PQ3NvsYm4e2sSdrecR56sSMswrHgo3KEcSXA3pkiIPvc6sHQlroRQGxff6FD3D8tahNc79FZn
 ZHpn4jXHO6qc1b6EYh8O4ax23dJKsZbxCauyEplIKkPiqEZBzYH+I5djLyg0jfdWf1JTNbSO4
 VNIK9HfvAwrzv1i9iwbn26MMuOXrFPCuWb1HJIz9KG7GaRyf1LI+3js9303Sga7ID3FPR8Vzb
 TPwi91Xamd7b4QDoCrHnGUgRgY1EPdBgHplo+Ou2LRpNKl8DDoJ6BQI9AmqLoQXMdyJWeX+VN
 EB+Je6CFGJsJwmFoANvP4VtqeDdwaKxnPLN3ues9pht1LzMGoKOI9LeEV2u+QS97HnxKcyBPi
 /XN0Q4uZQlLTck=
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Please feel free to submit changes to relevant modes and features to
> use this new variable.  I use them only very infrequently, and am not
> annoyed by the issues that started this bug report, so I'm not a good
> candidate for suggesting such changes or testing them in Real Life.
> (I thought as soon as the new variable is demonstrated to be able to
> solve those issues, the patches to the relevant applications will
> follow immediately, either by Evgeni or by you.)

But what when I do not what to scroll?

> > BTW, did you ever use folding?  I think not as often as I do, else you
> > would have known the issue we are talking about.  My feedback was not
> > meant to annoy you - I wanted to share my experience as a user.  Didn'=
t
> > know that that's irrelevant.
>
> It was hardly perceived as irrelevant: I spent some non-trivial time
> working on this, which I wouldn't do if I haven't thought this is
> relevant and worth working on.

I was referring to my latest feedback telling that scrolling is
suboptimal in my experience in this case, not to the conversation before
that.

> > > Bottom line: I think this bug should be closed, as the original issu=
es
> > > were all resolved.  If you disagree, I guess I'll let Lars close it =
in
> > > about 10 years from now.
> >
> > I don't even know what to respond to that.
>
> Sadly, it looks like I can never disagree with you without annoying
> you to the extreme.  Happens all the time.  What am I doing wrong?

It's not only me - that ever happens only when talking to you.

Please stay friendly and if you don't agree with what I say, at least
tell me.  And tell me that a solution without scrolling involved
is not possible, and why, or why you think that scrolling is
unavoidable.  You said it can't be avoided when we do something in the
display engine.  Then maybe we should do it in a different way?  Would
that be ok for you?  If not, why?

> Am I not entitled to my own opinions about how things should be done
> in Emacs?

There are other ways to express them.  This is not about different
opinions.  To be honest, I don't know a lot about your opinion here.  I
would if you had given me feedback about the problem with scrolling I
had raised.

That message was not a friendly or neutral response, at least the part
about the alternative would be to tell Lars to close the report in 10
years.  Or was it?

You just ignored what I said and told the bug should be closed.  If
you intended to say something different, I don't know, I can only answer
and react to what you wrote.  Saying "Bug should be closed" without
replying to mentioned problems just sounds like "the discussion is
over".


Michael.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 27 Feb 2022 08:09:01 +0000
Resent-Message-ID: <handler.14582.B14582.164594931323507 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164594931323507
          (code B ref 14582); Sun, 27 Feb 2022 08:09:01 +0000
Received: (at 14582) by debbugs.gnu.org; 27 Feb 2022 08:08:33 +0000
Received: from localhost ([127.0.0.1]:56802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nOEbY-000674-Uq
	for submit <at> debbugs.gnu.org; Sun, 27 Feb 2022 03:08:33 -0500
Received: from eggs.gnu.org ([209.51.188.92]:43916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nOEbW-00066p-D1
 for 14582 <at> debbugs.gnu.org; Sun, 27 Feb 2022 03:08:31 -0500
Received: from [2001:470:142:3::e] (port=45982 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nOEbR-0003i4-06; Sun, 27 Feb 2022 03:08:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ZLKJLh29sqdq7hwtnVMsiJEFwhAEcORABWyIMh5WnAI=; b=YZolHYHC3avM
 A8oIfMqwejWK+Og/VS/w/BEPDg2gEmHmof7M19fKYpZFEEDarYXYRP0K6P2FhIrT4Aszjw9fWWnL3
 tSyfzLPHmGf+7zJtl0oDtjqW3O77EGMclE0714RBbBxQh+9dYjVt5JjDZZpegBLpkHz9WbVDoyINK
 sLw+Kdot7JkZNrcqw6k+oUcApJzERYOa2HgAmrUWf5xLiImUkJAwGaqCPrSmkJV5WpezbUJ6bjTRu
 o0q4I0GNSZagQ2pWGCT2wsmOt0tQDP9GkmvT0+fBkgqrSL3JVrYu4+Co5P4oOA71Gh8nkaYqlY8ZG
 hjeWEJAl2CIrgonXn/Rk4A==;
Received: from [87.69.77.57] (port=3937 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nOEbO-0004oX-Cy; Sun, 27 Feb 2022 03:08:24 -0500
Date: Sun, 27 Feb 2022 10:08:08 +0200
Message-Id: <83v8x0ohp3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878rtx6k2t.fsf@HIDDEN> (message from Michael Heerdegen on Sun,
 27 Feb 2022 04:54:02 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83czk578m0.fsf@HIDDEN> <837dab4zmm.fsf@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN>
 <87fsong0ii.fsf@HIDDEN> <83leyfq9ff.fsf@HIDDEN> <878rtx6k2t.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Sun, 27 Feb 2022 04:54:02 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Please feel free to submit changes to relevant modes and features to
> > use this new variable.  I use them only very infrequently, and am not
> > annoyed by the issues that started this bug report, so I'm not a good
> > candidate for suggesting such changes or testing them in Real Life.
> > (I thought as soon as the new variable is demonstrated to be able to
> > solve those issues, the patches to the relevant applications will
> > follow immediately, either by Evgeni or by you.)
> 
> But what when I do not what to scroll?

In the context of redisplay, any change of the window-start point is
referred to as "scrolling the window".  So when you tell the display
engine to make sure the window-start is visible, and the last used
window-start isn't, you cannot at the same time ask it not to scroll,
because that's a contradiction.

> > > BTW, did you ever use folding?  I think not as often as I do, else you
> > > would have known the issue we are talking about.  My feedback was not
> > > meant to annoy you - I wanted to share my experience as a user.  Didn't
> > > know that that's irrelevant.
> >
> > It was hardly perceived as irrelevant: I spent some non-trivial time
> > working on this, which I wouldn't do if I haven't thought this is
> > relevant and worth working on.
> 
> I was referring to my latest feedback telling that scrolling is
> suboptimal in my experience in this case, not to the conversation before
> that.

About that, I posted a detailed explanation why I thought the original
problem is fixed now.  How does that count as perceiving your opinions
to be irrelevant?  We surely disagree on this, but disagreement
doesn't mean I consider your opinion irrelevant, and the detailed
responses are the evidence that I didn't.

> Please stay friendly and if you don't agree with what I say, at least
> tell me.

I've re-read every message I posted, and didn't find anything
unfriendly I wrote there.  What I did find was a lot of effort to
explain how this stuff works and why the effect is what it is.  I
thought it will count for something.

> And tell me that a solution without scrolling involved
> is not possible, and why, or why you think that scrolling is
> unavoidable.  You said it can't be avoided when we do something in the
> display engine.

That's not what I said.  Quote:

  It isn't unavoidable, but doing something more sophisticated would
  call for a significantly more complex code.  The current solution for
  when this variable is set and the window-start point is invisible is
  very simple: we recenter the window around point.  The recentering
  method is safe, because it always succeeds, which is why it also
  serves as the fallback method of finding the suitable window-start for
  redisplaying a window.  The code that implements the recentering was
  already there, so the introduction of this new variable boiled down to
  recognizing the conditions under which we should go directly to
  recentering, bypassing all the other methods.

  Anything else would mean a much deeper surgery on the (already
  non-trivially complex) logic of redisplaying a window, whereby we both
  verify that the previous window-start is still usable, and try various
  optimizations to make the redrawing itself as cheap as possible.

> Then maybe we should do it in a different way?  Would
> that be ok for you?  If not, why?

I need a more concrete proposal to answer these questions.  IOW, I
don't think I understand what kind of solution do you have in mind
here.

> > Am I not entitled to my own opinions about how things should be done
> > in Emacs?
> 
> There are other ways to express them.  This is not about different
> opinions.  To be honest, I don't know a lot about your opinion here.  I
> would if you had given me feedback about the problem with scrolling I
> had raised.

I did explain much more than I thought was strictly necessary, in the
hope that you will see my POV.  If you have more questions about those
explanations, feel free to ask.

> That message was not a friendly or neutral response, at least the part
> about the alternative would be to tell Lars to close the report in 10
> years.  Or was it?

That was an (obviously failed) attempt to joke about the practice not
to close bug reports where there's nothing left to do, that's all.
Why you saw that as unfriendly, and against you on top of that, I
don't think I understand; I certainly didn't mean that.

> You just ignored what I said and told the bug should be closed.  If
> you intended to say something different, I don't know, I can only answer
> and react to what you wrote.  Saying "Bug should be closed" without
> replying to mentioned problems just sounds like "the discussion is
> over".

I didn't "just ignore" what you said.  I posted 2 detailed
explanations why my opinion is different:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14582#112
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14582#118

The latter explicitly provides, in a very detailed manner, my reasons
why I think this bug should be closed.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 27 Feb 2022 23:26:02 +0000
Resent-Message-ID: <handler.14582.B14582.164600430619668 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Eli Zaretskii <eliz@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164600430619668
          (code B ref 14582); Sun, 27 Feb 2022 23:26:02 +0000
Received: (at 14582) by debbugs.gnu.org; 27 Feb 2022 23:25:06 +0000
Received: from localhost ([127.0.0.1]:59557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nOSuX-00057A-Na
	for submit <at> debbugs.gnu.org; Sun, 27 Feb 2022 18:25:06 -0500
Received: from mout.web.de ([212.227.17.11]:50819)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nOSuV-00056X-Td
 for 14582 <at> debbugs.gnu.org; Sun, 27 Feb 2022 18:25:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1646004297;
 bh=RcBUew7YpnX2O2o0So2iw+5/GGdfoC+f6H+bLOX0Qzo=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=hEPzOSzEer3sS6K/246oaS17mBmHFBXYrGIedQIUctOHdkZLdJC/NHzCm8OOeceQI
 bN8GGaK3SqFY4xGmVp9piaY7szaGecfucx3/Vksnr7QDOZeT7E8h3Fa1WFQaThA6dK
 KgLe7DpXtvJT/avzfmSFXx5uU83ulqmXbqBYBd7Y=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N2BM4-1oLYOt3LFG-013goQ; Mon, 28
 Feb 2022 00:19:38 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN>
 <87fsong0ii.fsf@HIDDEN> <83leyfq9ff.fsf@HIDDEN>
 <878rtx6k2t.fsf@HIDDEN> <83v8x0ohp3.fsf@HIDDEN>
Date: Mon, 28 Feb 2022 00:19:36 +0100
In-Reply-To: <83v8x0ohp3.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 27 Feb
 2022 10:08:08 +0200")
Message-ID: <87wnhfrj7b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:UJ88EH/x5CsTlJlhCjq/suoB9Iz2tWSUIUac4He4xZqBUrA5eX7
 emfemSNCO6CGoiY/d4WqUVyKB5kKddH71QVhqWOdt0SlKnvwoax9/uVVCSq8GPXfyBJ7FO+
 sLuzvjtj+NQh/eQ6dXtfX4QhmXos7xL4snttLc5EBxtUn6b7cuEFzcoi7zfhZgsdjqW0tPA
 mxM4vyN9GLcVMIaV4SmCQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:3nu6Z2fazuA=:/XZnGPhvWz4p548QPJ5wW9
 frK40oOmn7jTy3e6CJSOTFs3xJSHQm0aulOrbfDLleLlqy54eir/eWUpZXs1HBSagLJBK7jC+
 Sbwoa+TAPgNhS3F4kxh//8GsNfuBJrkk7hzwzKnWGCqnEP6DrP41uC+YwZewst/yfmu1aLvQM
 J3ZCZewQhSKxzq6K0Oag4SkqEwcANzbCAUEBKlmIDNPnplUifhu0zmjtisDDde8hgf4eIrAtY
 mBbryu7w9Vgh9mixEspggD07K7j71BLfsZpleuHP5mhDAErbc2ttTL6ja+V45C6we3ZfKUh+9
 fQUtAgMm5bAa9w3l6olcIGUeJXb1sAdFVN3SSFDk7MRaIE1ywUBToKqIXigSHitNcAAXxlYVQ
 /RmXEaCmLGC42wLFNHGbcxQw80+4pN+jXss+JAuKFz0PEYDLMU9Z0pwLUH+UlRKYIYvpBUbB2
 ncYyEsjkVeNJQITKJsosOx9wYRS5TpXdyqni8ajvuVgR6KLvlEbUKne4zkWy08xmwkjez7+/L
 CTa7f4lzqA8uK67u1z+XgqR0t6NwKSulHrv/+dScdwiLB4mOy81NM82GPfcvqgsX+QxeDAM2Z
 Ub90+WqGtmrB082JEt4h3GiZg5bmnoRB1GqZebNrdG8aTbLq7Brnv7d6+83ReT3aDKsMFeYAa
 nInYDyyCE1Lq7p4/s9Jsx1LST1DLV9a5E2Cz5bjGMhIK17mGCvH1c15k//KJznYwNsxNRzDiy
 cSQn0K1P6HeYAksLPFZeljTQk+VTDdo9Hy4ZERYkcBlaGQyu833Q/+VYji8wYwoSo5THCutgJ
 WIESzPYQXdSWIwfw0zzyY585WCulqimsSPUTaTXTadUXQFXqJS0qXYPGv5JqsCrbOIPpj1BKb
 2zE4h1W1Y7iq1PSVvYQVc99jAShc1zssVlHGhsHsInyeOCVe9ne5YH1FhQzNKnF0uUqGeBNpW
 HESn2wK0UJswRsf8ahYs67J3HgMl6w2pnoLdjdtf57iEDbd7LYB67TIsg6pk3DJN8CICExxu6
 kD3uTbSHUdG3goVGajaH4/iBTUCkVGxwvup5ilP3MMj6EFhlahP3eTVTBoBunouWypG1zEfZH
 ToY0YOwv7oJ+zA=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> In the context of redisplay, any change of the window-start point is
> referred to as "scrolling the window".  So when you tell the display
> engine to make sure the window-start is visible, and the last used
> window-start isn't, you cannot at the same time ask it not to scroll,
> because that's a contradiction.

But when I said that using the new variable makes Emacs really scroll,
visually, not only in an abstract sense, didn't you say mean that was
unavoidable?

> > And tell me that a solution without scrolling involved
> > is not possible, and why, or why you think that scrolling is
> > unavoidable.  You said it can't be avoided when we do something in the
> > display engine.
>
> That's not what I said.  Quote:
>
>   It isn't unavoidable, but doing something more sophisticated would
>   call for a significantly more complex code.  The current solution for
>   when this variable is set and the window-start point is invisible is
>   very simple: we recenter the window around point.  The recentering
>   method is safe, because it always succeeds, which is why it also
>   serves as the fallback method of finding the suitable window-start for
>   redisplaying a window.  The code that implements the recentering was
>   already there, so the introduction of this new variable boiled down to
>   recognizing the conditions under which we should go directly to
>   recentering, bypassing all the other methods.

Recenter means actual, not only per definition scroll - right?

> I need a more concrete proposal to answer these questions.  IOW, I
> don't think I understand what kind of solution do you have in mind
> here.

I didn't make one since my knowledge here in inferior.  Personally I
would adjust window-start from a hook and call `redisplay', which is
probably not the best solution.

> That was an (obviously failed) attempt to joke about the practice not
> to close bug reports where there's nothing left to do, that's all.
> Why you saw that as unfriendly, and against you on top of that, I
> don't think I understand; I certainly didn't mean that.

Ok..ok.  Then I misinterpreted your intention.  Didn't sound at all like
a joke to me.  Then let's try to get back to the issue.


Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Feb 2022 13:11:01 +0000
Resent-Message-ID: <handler.14582.B14582.164605383720441 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14582
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: larsi@HIDDEN, esabof@HIDDEN, 14582 <at> debbugs.gnu.org
Received: via spool by 14582-submit <at> debbugs.gnu.org id=B14582.164605383720441
          (code B ref 14582); Mon, 28 Feb 2022 13:11:01 +0000
Received: (at 14582) by debbugs.gnu.org; 28 Feb 2022 13:10:37 +0000
Received: from localhost ([127.0.0.1]:60492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nOfnR-0005Jd-3C
	for submit <at> debbugs.gnu.org; Mon, 28 Feb 2022 08:10:37 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nOfnP-0005JO-7Y
 for 14582 <at> debbugs.gnu.org; Mon, 28 Feb 2022 08:10:35 -0500
Received: from [2001:470:142:3::e] (port=39410 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nOfnK-0002rW-1V; Mon, 28 Feb 2022 08:10:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=+qjZmmVKokBPnanZf5QxAReFWansQHu/xa3dIdcQFzI=; b=YdeYGvBTbMQk
 NsQxiGS247Ht2p7A1ioHdtQb4CfDjAIapRaOmD+BcYrNXiD3ACbnbuQrXw+a8Dwnk90P3V7EmtV9W
 RX9tWVav/bf8Yo+eB3DmYUdBrZZLHXHWHwzMDPXs5jkbzHHaXIz9qB9K8iKMCRc+pfzYOWWuLVQdy
 iPtNO98brOLpNfLevOBQ7fpQhPgeero+RsiYxzY0SinY7VA1huRMzYVUv3if4DiY5Mosm+2yCZT6Z
 asDaPhYOBx5zvYi3YJ03KOfq5omeueN4u9dAqSgJlGpZdEfUFpjMe5TeOn1EKlRXs30x3+01LzkBs
 fuvnrczhm0Hiknr8/yma4w==;
Received: from [87.69.77.57] (port=4682 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nOfnG-0008Ch-5z; Mon, 28 Feb 2022 08:10:26 -0500
Date: Mon, 28 Feb 2022 15:10:16 +0200
Message-Id: <83r17nm91j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87wnhfrj7b.fsf@HIDDEN> (message from Michael Heerdegen on Mon,
 28 Feb 2022 00:19:36 +0100)
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <875ypvcsyf.fsf@HIDDEN> <83k0ea3fci.fsf@HIDDEN>
 <87r18gn1rh.fsf@HIDDEN> <83k0e8z3uo.fsf@HIDDEN>
 <87k0e6xkta.fsf@HIDDEN> <83v8xqvxox.fsf@HIDDEN>
 <87r18ej957.fsf@HIDDEN> <83r18dwnqn.fsf@HIDDEN>
 <875ypor90e.fsf@HIDDEN> <83wni4up6g.fsf@HIDDEN>
 <87pmnvr0l4.fsf@HIDDEN> <83a6ezuu00.fsf@HIDDEN>
 <87wni2ypx7.fsf@HIDDEN> <83tud5ssd4.fsf@HIDDEN>
 <87bkzdj5h3.fsf@HIDDEN> <83fsoosfvn.fsf@HIDDEN>
 <87fsong0ii.fsf@HIDDEN> <83leyfq9ff.fsf@HIDDEN>
 <878rtx6k2t.fsf@HIDDEN> <83v8x0ohp3.fsf@HIDDEN> <87wnhfrj7b.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: larsi@HIDDEN,  esabof@HIDDEN,  14582 <at> debbugs.gnu.org
> Date: Mon, 28 Feb 2022 00:19:36 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > In the context of redisplay, any change of the window-start point is
> > referred to as "scrolling the window".  So when you tell the display
> > engine to make sure the window-start is visible, and the last used
> > window-start isn't, you cannot at the same time ask it not to scroll,
> > because that's a contradiction.
> 
> But when I said that using the new variable makes Emacs really scroll,
> visually, not only in an abstract sense, didn't you say mean that was
> unavoidable?

I think we are having a terminological misunderstanding here.  What do
you mean by "really scroll", and how is it different from the other
types of "scrolling", in your mental model of what we are discussing?

I'm asking because it is not trivial to define "real scrolling".  For
example, suppose Emacs changes the window-start point, and then
redraws each and every screen line from top of the window to its
bottom -- do you consider this "real scrolling"?  It may well appear
to the user as scrolling, since every line moves up or down by the
same number of screen lines.

> > > And tell me that a solution without scrolling involved
> > > is not possible, and why, or why you think that scrolling is
> > > unavoidable.  You said it can't be avoided when we do something in the
> > > display engine.
> >
> > That's not what I said.  Quote:
> >
> >   It isn't unavoidable, but doing something more sophisticated would
> >   call for a significantly more complex code.  The current solution for
> >   when this variable is set and the window-start point is invisible is
> >   very simple: we recenter the window around point.  The recentering
> >   method is safe, because it always succeeds, which is why it also
> >   serves as the fallback method of finding the suitable window-start for
> >   redisplaying a window.  The code that implements the recentering was
> >   already there, so the introduction of this new variable boiled down to
> >   recognizing the conditions under which we should go directly to
> >   recentering, bypassing all the other methods.
> 
> Recenter means actual, not only per definition scroll - right?

No, not necessarily.  Recentering in this context means Emacs
calculates a new window-start position such that the line showing
point will be centered in the window, and then redisplays the window
using that window-start position.  _How_ it redisplays the window is a
separate question -- the display engine has several optimizations it
will try to make redisplay as fast as possible, and some of these
optimizations can be considered "real scrolling" (according to my
interpretation of that term).

> > I need a more concrete proposal to answer these questions.  IOW, I
> > don't think I understand what kind of solution do you have in mind
> > here.
> 
> I didn't make one since my knowledge here in inferior.  Personally I
> would adjust window-start from a hook and call `redisplay', which is
> probably not the best solution.

The question is how would you compute the new window-start?  What
happens after that, i.e. how the call to 'redisplay' redraws the
window given a specific window-start position, you cannot control --
it could very well decide it wants to scroll the window.  It's no
accident that scroll commands in Emacs do precisely that: they compute
a suitable window-start, and then let the display engine do its job
under the restriction that it shall abide by that window-start
position.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 31 Mar 2022 12:03:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 31 08:03:35 2022
Received: from localhost ([127.0.0.1]:38172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nZtWY-00080f-U7
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2022 08:03:35 -0400
Received: from quimby.gnus.org ([95.216.78.240]:53498)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nZtWX-00080Q-FG
 for control <at> debbugs.gnu.org; Thu, 31 Mar 2022 08:03:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=CDuxCtKJr48wbvn40AGSCNy7CKA2bgXlJzigDpjMBrQ=; b=ldOfPU8tar4alpS9Ay8otGwQzv
 67p+AkNOm2o8VtrYw/L3MehY2eavqq63sysytaEdYFR/mLvtIw2FJVWG3iZJFF5u+pqp3Mqxrcmg0
 KctvbGdU7Dx+6u2KM9x9WLhGPDDrfI1Mlc/8pFOr0UO0YNrcxsilutBhPDq3+x5U3Wio=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nZtWP-0003IU-P8
 for control <at> debbugs.gnu.org; Thu, 31 Mar 2022 14:03:27 +0200
Date: Thu, 31 Mar 2022 14:03:25 +0200
Message-Id: <87zgl65nxu.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #14582
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 14582 - moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 14582 - moreinfo
quit






Last modified: Thu, 31 Mar 2022 12:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.