]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch-emacs-mua: make --auto-daemon imply --create-frame
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 30 Sep 2015 06:36:52 +0000 (09:36 +0300)
committerDavid Bremner <david@tethera.net>
Thu, 1 Oct 2015 11:40:32 +0000 (08:40 -0300)
Before this change with --auto-daemon but without --create-frame
emacs server was started but no clients stay connected to it
(in both graphical and terminal displays).

Note that this changes how --client --auto-daemon works on
graphical display; New emacs frame is now created for the
message (and message-exit-actions hook appended).

doc/man1/notmuch-emacs-mua.rst
notmuch-emacs-mua

index c3689eb82c8af4324ae0cfd0f60f49084161845e..7c5729047173815a08bb2ce0c10754120a528db3 100644 (file)
@@ -43,7 +43,8 @@ Supported options for **notmuch-emacs-mua** include
 
     ``--auto-daemon``
         Automatically start Emacs in daemon mode, if the Emacs server
-        is not running. Applicable with ``--client``.
+        is not running. Applicable with ``--client``. Implies
+        ``--create-frame``.
 
     ``--create-frame``
         Create a new frame instead of trying to use the current Emacs
index b51d8d0e2c5be5000371e00337d9c9941322547b..016fa12613c49c217b11fa8959c55a1e50a8e40f 100755 (executable)
@@ -108,6 +108,7 @@ while getopts :s:c:b:i:h opt; do
            ;;
        --auto-daemon)
            AUTO_DAEMON="--alternate-editor="
+           CREATE_FRAME="-c"
            ;;
        --create-frame)
            CREATE_FRAME="-c"