unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch emacs mode could be friendlier when the user has never run "notmuch setup"
@ 2013-09-05 14:43 Daniel Kahn Gillmor
  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-27 13:11 ` notmuch emacs mode could be friendlier when the user has never run "notmuch setup" David Bremner
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Kahn Gillmor @ 2013-09-05 14:43 UTC (permalink / raw)
  To: notmuch

[-- 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 --]

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

end of thread, other threads:[~2014-01-27 13:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 14:43 notmuch emacs mode could be friendlier when the user has never run "notmuch setup" Daniel Kahn Gillmor
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

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