unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: fcc: say we are doing Fcc
@ 2016-09-29 13:44 Mark Walters
  2016-09-30 10:40 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Walters @ 2016-09-29 13:44 UTC (permalink / raw)
  To: notmuch

Since doing the Fcc with notmuch insert could be slow (if the indexing
takes some time) add a message saying we are doing it.
---

Jani pointed out on irc that if there is a delay in sending a message
it is unclear if it is a slow mail server or notmuch insert being slow
when called for the fcc header.

(Note we don't say "done" when we are done as most message-mode code
doesn't and the final "send done" should be the next message.)

Best wishes

Mark



emacs/notmuch-maildir-fcc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el
index 1218c01..40b1254 100644
--- a/emacs/notmuch-maildir-fcc.el
+++ b/emacs/notmuch-maildir-fcc.el
@@ -195,6 +195,7 @@ This is a rearranged version of message mode's message-do-fcc."
 If `notmuch-maildir-use-notmuch-insert` is set then store the
 message using notmuch insert. Otherwise store the message using
 normal fcc."
+  (message "Doing Fcc...")
   (if notmuch-maildir-use-notmuch-insert
       (notmuch-maildir-fcc-with-notmuch-insert fcc-header)
     (notmuch-maildir-fcc-file-fcc fcc-header)))
-- 
2.1.4

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

* Re: [PATCH] emacs: fcc: say we are doing Fcc
  2016-09-29 13:44 [PATCH] emacs: fcc: say we are doing Fcc Mark Walters
@ 2016-09-30 10:40 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2016-09-30 10:40 UTC (permalink / raw)
  To: Mark Walters, notmuch

Mark Walters <markwalters1009@gmail.com> writes:

> Since doing the Fcc with notmuch insert could be slow (if the indexing
> takes some time) add a message saying we are doing it.
> ---

pushed to release and master

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

end of thread, other threads:[~2016-09-30 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-29 13:44 [PATCH] emacs: fcc: say we are doing Fcc Mark Walters
2016-09-30 10:40 ` 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).