From: David Bremner <david@tethera.net>
To: Tomi Ollila <tomi.ollila@iki.fi>,
notmuch@notmuchmail.org, Jani Nikula <jani@nikula.org>
Cc: tomi.ollila@iki.fi
Subject: Re: [DRAFT PATCH v2] modified notmuch-emacs-mua v2
Date: Tue, 20 Jan 2015 19:58:51 +0100 [thread overview]
Message-ID: <87ppa9xor8.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <1421776424-24304-1-git-send-email-tomi.ollila@iki.fi>
Tomi Ollila <tomi.ollila@iki.fi> writes:
> This is second draft patch of (first being)
>
> id:1405026779-29966-1-git-send-email-tomi.ollila@iki.fi
>
> I saw potential problem with only supporting emacsclient(1) in
> the version David sent:
> id:1421598115-4889-1-git-send-email-david@tethera.net
>
> (no emacs server running and no tty -- new X client not started)
>
I don't understand what use case is failing for you. I think I tested
all 4 combinations of DISPLAY set and unset and emacs server running and
not running. Do you somehow want to run the notmuch-emacs-mua script
from a process not attached to a terminal (from cron?).
> In case emacsclient(1) is used and no --no-window-system, '-c' arg is
> given to emacsclient like in the version David sent.
>
> (this means that if emacs is not running on X, user may get this message:
> "emacsclient: could not get terminal name" -- we need to document user
> to give -nw (--no-window-system) option then)
As I wrote above, I'm missing what the tradeoff is. The version I sent
works fine (at least for me) in the case where DISPLAY is not set and
--no-window-system is not given (i.e. it's implied if DISPLAY is not
set).
d
next prev parent reply other threads:[~2015-01-20 19:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 19:25 [PATCH] cli: add a tool for starting new message in the emacs ui Jani Nikula
2014-03-19 21:24 ` Tomi Ollila
2014-03-19 21:54 ` Jani Nikula
2014-03-20 10:31 ` Tomi Ollila
2014-04-06 15:43 ` [PATCH v2] " Jani Nikula
2014-04-07 3:59 ` Jameson Graef Rollins
2014-07-01 20:02 ` [PATCH] " David Bremner
2014-07-04 17:36 ` Tomi Ollila
2015-01-18 16:21 ` David Bremner
2015-01-18 21:07 ` Tomi Ollila
2015-01-19 16:32 ` Tomi Ollila
2015-01-20 17:53 ` [DRAFT PATCH v2] modified notmuch-emacs-mua v2 Tomi Ollila
2015-01-20 18:58 ` David Bremner [this message]
2015-01-21 9:38 ` Tomi Ollila
2015-01-21 16:50 ` David Bremner
2015-02-22 20:34 ` [PATCH] cli: add a tool for starting new message in the emacs ui David Bremner
2015-03-06 7:06 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppa9xor8.fsf@maritornes.cs.unb.ca \
--to=david@tethera.net \
--cc=jani@nikula.org \
--cc=notmuch@notmuchmail.org \
--cc=tomi.ollila@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).