From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#61704: 29.0.60; Crash in get_narrowed_begv Date: Thu, 23 Feb 2023 15:54:39 +0000 Message-ID: <96b742a05d89e5dd1aab@heytings.org> References: <874jrdq4ct.fsf.ref@po-lus-librem-15.mail-host-address-is-not-set> <874jrdq4ct.fsf@po-lus-librem-15.mail-host-address-is-not-set> <83cz61svnc.fsf@gnu.org> <834jrdstl4.fsf@gnu.org> <87bklkoh77.fsf@yahoo.com> <96b742a05d29fcf9a7d7@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Eli Zaretskii , 61704@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 16:55:21 2023 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 1pVDwF-0002RM-8W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 16:55:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVDw1-0004yS-3b; Thu, 23 Feb 2023 10:55:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVDvz-0004xu-2H for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 10:55:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVDvy-00040m-O1 for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 10:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVDvy-0000t8-HW for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 10:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2023 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61704 X-GNU-PR-Package: emacs Original-Received: via spool by 61704-submit@debbugs.gnu.org id=B61704.16771676833370 (code B ref 61704); Thu, 23 Feb 2023 15:55:02 +0000 Original-Received: (at 61704) by debbugs.gnu.org; 23 Feb 2023 15:54:43 +0000 Original-Received: from localhost ([127.0.0.1]:35050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVDvf-0000sI-CZ for submit@debbugs.gnu.org; Thu, 23 Feb 2023 10:54:43 -0500 Original-Received: from heytings.org ([95.142.160.155]:41624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVDvc-0000s9-S9 for 61704@debbugs.gnu.org; Thu, 23 Feb 2023 10:54:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1677167679; bh=dd5nZyaRkqxAF0kRY9dB80Av/p8MWePrF5TL0yCuMFs=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=5gddqj4apvayKUQM4Nqa1n74+kfaeVyC74jJd93aIInrTpFypBecFZRo0KIYvvjdm 8fzUHSdiuDuvSvIAb3dGIrsHllHetyPZ1ku0JiG12T5qIfVVENPZPobwhOgq6Ugsqv PJXfdkvp4/XC/R4tcA6R3u8ndrj7e6G7f+nNIQsKz6vpGRYlC48mAED22/YutW87vh AmnmvJsVSo+8ShbC+EIruy1XGH+PXd+6BfeNbnCln9gCoWrMpFHA2knZC9cdBqVVGL tRENn4URo5iuQMEr8bzGfnh/imwKnUp8OqieBJD3n4Ha+kswdq1aJwaPtpHB9zQyXb rfJ8ekFDXWNqw== In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256481 Archived-At: >> I maintain that the bug is (was) most probably not in get_narrowed_*. I >> just built Emacs with the GTK, Lucid and no toolkits, I disabled >> everything (tool-bar, menu-bar, scroll-bar, fringe-mode 0), and even >> with that, after resizing the Emacs frame until it is literally a >> single pixel on screen, I'm not able to get (under emacs -Q) a window >> width or a height equal to 0 there. The smallest values I get are >> width = 2 and height = 1. > > What you listed above is not likely to affect the height of a window - > it's the header, mode and tab lines that count more. > Yes, I disabled all this to make sure the frame (and therefore the windows on the frame) would become as small as possible. I tested this with emacs -Q, with several windows on the frame displaying a buffer in which (long-line-optimizations-p) is non-nil, without any header line or tab line. Perhaps I should have tried to disable the mode-line. Let's see... M-: (setq mode-line-format nil) RET No, still no way to get a zero height or width. Increasing or decreasing the font size in the buffer also has no effect, I can't get a zero height or width. > > Don't worry. What Po Lu saw is something I've seen in different forms > much earlier. Small frames can be a problem for redisplay. > Indeed.