unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] notmuch-new: Remove the tiresome joke from the output.
@ 2009-11-24 19:41 Chris Wilson
  2009-11-27 13:46 ` Carl Worth
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2009-11-24 19:41 UTC (permalink / raw)
  To: notmuch

As I see this every time I poll for new mail, the joke becomes very old
very quickly.  The other instances of "not much" are shown much less
often and have a much more natural style, this one however feels forced,
impairing the humorous effect.

Signed-off-by: Chris "the critic" Wilson <chris@chris-wilson.co.uk>
---
 notmuch-new.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/notmuch-new.c b/notmuch-new.c
index e32b92a..3cde3a7 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -483,12 +483,10 @@ notmuch_new_command (void *ctx, int argc, char *argv[])
 	}
     }
     if (add_files_state.added_messages) {
-	printf ("Added %d new %s to the database (not much, really).\n",
+	printf ("Added %d new %s to the database.\n",
 		add_files_state.added_messages,
 		add_files_state.added_messages == 1 ?
 		"message" : "messages");
-    } else {
-	printf ("No new mail---and that's not much.\n");
     }
 
     if (elapsed > 1 && ! add_files_state.saw_read_only_directory) {
-- 
1.6.5.3

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

* Re: [PATCH] notmuch-new: Remove the tiresome joke from the output.
  2009-11-24 19:41 [PATCH] notmuch-new: Remove the tiresome joke from the output Chris Wilson
@ 2009-11-27 13:46 ` Carl Worth
  2009-11-27 14:18   ` Marten Veldthuis
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Worth @ 2009-11-27 13:46 UTC (permalink / raw)
  To: Chris Wilson, notmuch

On Tue, 24 Nov 2009 19:41:20 +0000, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> As I see this every time I poll for new mail, the joke becomes very old
> very quickly.  The other instances of "not much" are shown much less
> often and have a much more natural style, this one however feels forced,
> impairing the humorous effect.

Fine. My joke wen stale quickly. I'll agree to remove it.

> -    } else {
> -	printf ("No new mail---and that's not much.\n");
>      }

Shouldn't we still print *something* here, though ("No new mail")?
Imagine the new user trying to ensure "notmuch new" is working---and
let's say it's not, (due to the current symlink bug or so). A silent
success here won't make it clear whether "notmuch new" has actually done
anything or not.

-Carl

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

* Re: [PATCH] notmuch-new: Remove the tiresome joke from the output.
  2009-11-27 13:46 ` Carl Worth
@ 2009-11-27 14:18   ` Marten Veldthuis
  0 siblings, 0 replies; 3+ messages in thread
From: Marten Veldthuis @ 2009-11-27 14:18 UTC (permalink / raw)
  To: notmuch

On Fri, Nov 27, 2009 at 05:46:32AM -0800, Carl Worth wrote:
>> -    } else {
>> -	printf ("No new mail---and that's not much.\n");
>>      }
>
>Shouldn't we still print *something* here, though ("No new mail")?
>Imagine the new user trying to ensure "notmuch new" is working---and
>let's say it's not, (due to the current symlink bug or so). A silent
>success here won't make it clear whether "notmuch new" has actually done
>anything or not.

Yes, at first I thought I'd read the patch wrong... I think you definately 
want some output, just not the joke. Don't worry, it *was* funny the first 
time.

-- 
- Marten

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

end of thread, other threads:[~2009-11-27 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 19:41 [PATCH] notmuch-new: Remove the tiresome joke from the output Chris Wilson
2009-11-27 13:46 ` Carl Worth
2009-11-27 14:18   ` Marten Veldthuis

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