|
From: | Stefan Monnier |
Subject: | Re: 27.0.50: How can I test a buffer-local window-configuration-change-hook in batch mode? |
Date: | Fri, 25 Oct 2019 08:53:11 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Yes, but it it also is impossible to write a batch-mode test which > runs _any_ of the display-related hooks, because the only "correct" > way to do that is to trigger redisplay, and you cannot do that in > batch mode. So you can only write partial tests for these hooks, by > invoking them directly from Lisp. IIRC there are ways to run Emacs in "batch" yet make it "display" at the same time. E.g. you can run it in a virtual X server, and I'm sure there are ways to do the same in "virtual terminal emulators". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |