unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame
@ 2015-09-30  6:36 Tomi Ollila
  2015-09-30 10:09 ` David Bremner
  2015-10-01 11:44 ` David Bremner
  0 siblings, 2 replies; 4+ messages in thread
From: Tomi Ollila @ 2015-09-30  6:36 UTC (permalink / raw)
  To: notmuch; +Cc: tomi.ollila

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 | 3 ++-
 notmuch-emacs-mua              | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/man1/notmuch-emacs-mua.rst b/doc/man1/notmuch-emacs-mua.rst
index c3689eb82c8a..7c5729047173 100644
--- a/doc/man1/notmuch-emacs-mua.rst
+++ b/doc/man1/notmuch-emacs-mua.rst
@@ -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
diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua
index b51d8d0e2c5b..016fa12613c4 100755
--- a/notmuch-emacs-mua
+++ b/notmuch-emacs-mua
@@ -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"
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame
  2015-09-30  6:36 [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame Tomi Ollila
@ 2015-09-30 10:09 ` David Bremner
  2015-09-30 16:31   ` Jani Nikula
  2015-10-01 11:44 ` David Bremner
  1 sibling, 1 reply; 4+ messages in thread
From: David Bremner @ 2015-09-30 10:09 UTC (permalink / raw)
  To: Tomi Ollila, notmuch; +Cc: tomi.ollila

Tomi Ollila <tomi.ollila@iki.fi> writes:

> 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).

this change is OK for me.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame
  2015-09-30 10:09 ` David Bremner
@ 2015-09-30 16:31   ` Jani Nikula
  0 siblings, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2015-09-30 16:31 UTC (permalink / raw)
  To: David Bremner, Tomi Ollila, notmuch; +Cc: tomi.ollila

On Wed, 30 Sep 2015, David Bremner <david@tethera.net> wrote:
> Tomi Ollila <tomi.ollila@iki.fi> writes:
>
>> 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).
>
> this change is OK for me.

I'm fine with this as well.

BR,
Jani.



>
> d
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame
  2015-09-30  6:36 [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame Tomi Ollila
  2015-09-30 10:09 ` David Bremner
@ 2015-10-01 11:44 ` David Bremner
  1 sibling, 0 replies; 4+ messages in thread
From: David Bremner @ 2015-10-01 11:44 UTC (permalink / raw)
  To: Tomi Ollila, notmuch; +Cc: tomi.ollila

Tomi Ollila <tomi.ollila@iki.fi> writes:

> 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).

pushed.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-01 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30  6:36 [PATCH] notmuch-emacs-mua: make --auto-daemon imply --create-frame Tomi Ollila
2015-09-30 10:09 ` David Bremner
2015-09-30 16:31   ` Jani Nikula
2015-10-01 11:44 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).