From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Arranging for windows of particular dimensions in xdisp-tests Date: Wed, 31 Jan 2024 15:15:03 +0200 Message-ID: <864jet3aqw.fsf@gnu.org> References: <87eddyf27s.fsf.ref@yahoo.com> <87eddyf27s.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40564"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 31 14:16:06 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rVARg-000AI6-4h for ged-emacs-devel@m.gmane-mx.org; Wed, 31 Jan 2024 14:16:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVAQn-0007XK-7v; Wed, 31 Jan 2024 08:15:09 -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 1rVAQk-0007Uu-4J for emacs-devel@gnu.org; Wed, 31 Jan 2024 08:15:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVAQj-0005Ru-QR; Wed, 31 Jan 2024 08:15: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=owanX21HSKMh1v0OUMeKA6JUFoqmr2TIuX7VZFpZLmc=; b=P8B+4I7whgG/ 00tFwcfhaXSITLtFnDh5VTva0YPvhFJImrUCSg06ncnqjTa6eNqsqLn34IjkkoSza/IINAtOABCwt tTXs6IG81LlBrFnsUTI3oPYmEBZ4H27LpQDLnN54FHRgbmCia32p9spwXiU9sGGX86L585SUTxZ2m fH64eoSCnwG25Z92pRn105HUnVne0YckXZhWNnQrUF7bV74wAukmd1XLbs4RryEM6rLFn2c+PV4IG DGBi+Ab6YwZb1fDa9UeLdEGAPec8zM9Q2UNIWw3+n03ZBDxp3PxyLhmVHS4FVlk0fhtqPGq7LOvAs /Osk3HkFVXqxMDDDsKOD6Q==; In-Reply-To: <87eddyf27s.fsf@yahoo.com> (message from Po Lu on Wed, 31 Jan 2024 14:26:15 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315663 Archived-At: > From: Po Lu > Date: Wed, 31 Jan 2024 14:26:15 +0800 > > I've just fixed several hangs in redisplay arising from `display' > objects' being denied sufficient space by a line or wrap prefix, and > consequently continuation lines being produced in an endless cycle > inside move_it_to and display_line. Needless to say, tests for such > bugs require that the windows where they execute be set to a particular > size, which, considering that ERT tests are expected to run in both > interactive sessions and in the initial frame, appears to be impossible. > > Ideas? Thanks in advance. Our capabilities for testing display code in batch mode are very limited, almost nonexistent. So I suggest to add these tests to test/manual/redisplay-testsuite.el instead -- those can only be run interactively.