From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: notmuch <notmuch@notmuchmail.org>
Subject: notmuch emacs mode could be friendlier when the user has never run "notmuch setup"
Date: Thu, 05 Sep 2013 10:43:41 -0400 [thread overview]
Message-ID: <5228989D.8030607@fifthhorseman.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
in testing out notmuch on a new user account, i just noticed that
bringing up notmuch mode in emacs chokes with an unhelpful error for
users who have never run "notmuch setup". it seems like there ought to
be a way for the emacs mode to detect this error state and prompt the
user to walk through "notmuch setup" directly from within emacs.
my emacs-fu (and my time) is too limited for me to try to implement this
bit of user-friendliness, but i just wanted to put the idea out there
for folks who might want to take it on as a well-scoped project.
At the very least, the error message could say "please run 'notmuch
setup' from a shell".
The current behavior (notmuch and notmuch-emacs 0.16-1 on debian) is to
open a *notmuch-hello* buffer that says :
Welcome to notmuch. You have
And in the minibuffer, a message says "notmuch exited with status 1"
*Messages* shows:
process-lines: notmuch exited with status 1
--dkg
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1027 bytes --]
next reply other threads:[~2013-09-05 14:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 14:43 Daniel Kahn Gillmor [this message]
2014-01-26 18:54 ` [PATCH 1/3] emacs: add a function to heuristically test if the CLI is configured OK David Bremner
2014-01-26 18:54 ` [PATCH 2/3] emacs: add function notmuch-assert-cli-sane David Bremner
2014-01-26 18:54 ` [PATCH 3/3] emacs: add notmuch-assert-cli-sane to notmuch-hello David Bremner
2014-01-26 19:13 ` [PATCH] emacs: add a function to heuristically test if the CLI is configured OK David Bremner
2014-01-26 19:41 ` Mark Walters
2014-01-26 19:54 ` Tomi Ollila
2014-01-27 13:11 ` notmuch emacs mode could be friendlier when the user has never run "notmuch setup" 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=5228989D.8030607@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=notmuch@notmuchmail.org \
/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).