]> git.cworth.org Git - notmuch/commit
test: run emacs inside screen
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 1 Jul 2011 04:55:16 +0000 (08:55 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 5 Nov 2011 23:49:27 +0000 (20:49 -0300)
commita1ea4e914f5392a07ede2e6fc5f4350368e267b1
treeb96022b1127ddc4c975e08f846c3f9f3ea57d66b
parent749abb74f2c838552a4f26e26be2edaa353d7fe4
test: run emacs inside screen

Before the change, emacs run in daemon mode without any visible
buffers.  Turns out that this affects emacs behavior in some
cases.  In particular, `window-end' function returns `point-max'
instead of the last visible position.  That makes it hard or
impossible to implement some tests.  The patch runs emacs in a
detached screen(1) session.  So that it works exactly as if it
has a visible window.

Note: screen terminates when emacs exits.  So the patch does not
introduce new "running processes left behind" issues.
test/test-lib.sh