From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay. Date: Fri, 04 Feb 2022 02:37:44 +0100 Message-ID: <875ypvcsyf.fsf@web.de> References: <83y5ajmcwk.fsf@gnu.org> <83sj0rmat2.fsf@gnu.org> <83r4gbm991.fsf@gnu.org> <87czk87vmo.fsf@gnus.org> <87k0egwxk6.fsf@web.de> <83k0eg7y23.fsf@gnu.org> <87sft37nmo.fsf@web.de> <83a6fb90zy.fsf@gnu.org> <87h79j2srb.fsf@web.de> <83pmo678o1.fsf@gnu.org> <87iltynkbg.fsf@web.de> <83h79i6iw6.fsf@gnu.org> <878rut6hlq.fsf@web.de> <83czk578m0.fsf@gnu.org> <837dab4zmm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29742"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: larsi@gnus.org, esabof@gmail.com, 14582@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 04 02:38:37 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFnYa-0007XT-9F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 02:38:36 +0100 Original-Received: from localhost ([::1]:34694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFnYY-0007Na-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 20:38:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFnY2-0007N7-Iz for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 20:38:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFnY2-0000Hr-8t for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 20:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFnY2-0001wV-7a for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 20:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Feb 2022 01:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14582 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14582-submit@debbugs.gnu.org id=B14582.16439386757456 (code B ref 14582); Fri, 04 Feb 2022 01:38:02 +0000 Original-Received: (at 14582) by debbugs.gnu.org; 4 Feb 2022 01:37:55 +0000 Original-Received: from localhost ([127.0.0.1]:58419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFnXv-0001wB-HG for submit@debbugs.gnu.org; Thu, 03 Feb 2022 20:37:55 -0500 Original-Received: from mout.web.de ([212.227.15.14]:59733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFnXs-0001vy-RD for 14582@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 Original-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 In-Reply-To: <837dab4zmm.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Feb 2022 19:40:49 +0200") X-Provags-ID: V03:K1:e6DWu7FKHkWVpA9fYQ3tmbXH9E/XqO9mXDaBIgMsGgcaKSXOQss KVYL2DnRyeuCwzXvTxUuMqwqhJPRmZGKPMtU7lGqP81iwkDACpd35L9/1xytDahCvd0mfr5 T6In1Zisy0ZGxVCue1dsOBabzhr1nELx3Yf0I6bviCksFvdkyejvwPlEnKtHQFMg8e9osvH yzcfqFcVnoUCpVp11Nu+w== 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+GtVL0xkaNyVcQRQ3AdDTE6L9D X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225947 Archived-At: Eli Zaretskii 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.