[notmuch] [PATCH] Return unpropertized strings for filename and message-id
Carl Worth
cworth at cworth.org
Fri Nov 27 20:03:47 PST 2009
On Fri, 27 Nov 2009 09:13:12 +0100, Tassilo Horn <tassilo at member.fsf.org> wrote:
> I guess it won't be the last one. There are some byte-compiler warnings
> with notmuch.el, that I'd like to remove.
Great! I'll look forward to more from you?
> So an email looking like this would be correct?
Almost. The place where you want to insert the explanatory text is
between the "---" marker and the line starting with "diff". See below.
> Normally it causes almost never any problems, but IMO it's just bad
> style. When a user wants to get the Message-id, he most probably only
> wants to do some calculations on that (e.g. jump to that message in Gnus
> or rmail), or insert it somewhere else. In the first case, text
> properties aren't needed, and in the second case, it's most unlikely
> that he wants to have exactly the same properties there, especially if
> there are properties different from faces.
Thanks for the explanation. The above paragraph would have been
*perfect* as the commit message.
> But instead of mailing each first-time committer a mail, you might
> consider putting those guidelines on the notmuch homepage. :-)
Yes, there's definitely a bunch of places that would be better to put
these things, (like in a HACKING file in the repository). But sometimes
it's just so *easy* to write email.
I will try to put things into better places before I repeat myself on
the list too much. But anyone can feel free to help by taking text I've
written in email and sending it back as patches to explanatory files
like HACKING.
And eventually I'll fix the website so that other people can contribute
to it as well.
Thanks again for all your help,
-Carl
--8<---------------cut here---------------start------------->8---
From: Tassilo Horn <tassilo at member.fsf.org>
To: Carl Worth <cworth at cworth.org>
Cc: notmuch at notmuchmail.org
Date: Fri, 27 Nov 2009 08:54:41 +0100
Subject: [PATCH] Remove preprocessor code
Don't define RUNNING_ON_VALGRIND, so that notmuch is probably broken.
---
Hi Carl,
this patch is completely wrong. Please don't apply it. :-)
And thanks again for the great work.
Bye,
Tassilo
debugger.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/debugger.c b/debugger.c
index e8b9378..f32cdc9 100644
--- a/debugger.c
+++ b/debugger.c
@@ -24,8 +24,6 @@
#if HAVE_VALGRIND
#include <valgrind.h>
-#else
-#define RUNNING_ON_VALGRIND 0
#endif
notmuch_bool_t
--8<---------------cut here---------------end--------------->8---
More information about the notmuch
mailing list