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: Testing redisplay code in batch Date: Wed, 23 Sep 2020 21:51:58 +0300 Message-ID: <838sd0uy0h.fsf@gnu.org> References: <83tuvovaer.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3109"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 23 20:52:52 2020 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 1kL9sq-0000jI-2Z for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Sep 2020 20:52:52 +0200 Original-Received: from localhost ([::1]:44898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL9so-0002Q3-UU for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Sep 2020 14:52:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL9rs-0001Zs-4W for emacs-devel@gnu.org; Wed, 23 Sep 2020 14:51:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49249) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL9rr-0003Oq-MQ; Wed, 23 Sep 2020 14:51:51 -0400 Original-Received: from [176.228.60.248] (port=1878 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kL9rq-0005DV-WB; Wed, 23 Sep 2020 14:51:51 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 23 Sep 2020 14:37:50 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:256376 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Wed, 23 Sep 2020 14:37:50 -0400 > > Indeed. In the past I was thinking (abstractly) of much more demanding > circumstances, but for this specific test, all I need is to know the > `window-start`, so the corresponding data is already exposed to Lisp. > I don't know if that makes it easy enough to implement it without > significant work. What about running a second instance of Emacs as a subprocess, starting it without -batch? On a Posix system, that would use a PTY, which supposedly will look to the sub-Emacs as a text-mode display. Then at least the features that don't require GUI capabilities could be tested. Does that make sense?