Re: folder: search-term problems

2015-08-20 Thread Charles Celerier
Doh! I just realized that everything in my Junk folder is tagged "junk" which is one of my configured search.exclude_tags. Nevermind, all is well. Thank you to all the kind folks who continue to maintain notmuch! -charles Charles Celerier writes: > Hello, > > I've bee

folder: search-term problems

2015-08-20 Thread Charles Celerier
Hello, I've been having trouble getting the folder: search-term to work correctly. I can successfully do a query of the count for INBOX, but nothing else. Here are some examples from running notmuch on the command line. $ pwd /Users/cceleri/Maildir $ ls Archive INBOX NotJun

[PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-12-01 Thread Charles Celerier
so I am afraid something funny is happening here that is beyond my understanding. charles David Bremner writes: > Charles Celerier writes: > >> Can the variables in the varlist depend on the definition of variables >> that precede them in the list? I believe I tried your sug

[PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-12-01 Thread Charles Celerier
Can the variables in the varlist depend on the definition of variables that precede them in the list? I believe I tried your suggestion, but quickly gave up as Emacs gave me an error claiming that all-tags was void. charles David Edmondson writes: > On Sat, Nov 29 2014, Charles Celerier wr

Re: [PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-12-01 Thread Charles Celerier
so I am afraid something funny is happening here that is beyond my understanding. charles David Bremner writes: > Charles Celerier writes: > >> Can the variables in the varlist depend on the definition of variables >> that precede them in the list? I believe I tried your sug

Re: [PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-12-01 Thread Charles Celerier
Can the variables in the varlist depend on the definition of variables that precede them in the list? I believe I tried your suggestion, but quickly gave up as Emacs gave me an error claiming that all-tags was void. charles David Edmondson writes: > On Sat, Nov 29 2014, Charles Celerier wr

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
Just updated the patch to use lexical-let as suggested. I'm not too familiar with emacs-lisp, so please tell me if you had something else in mind. charles David Bremner writes: > David Edmondson writes: > >> On Sat, Nov 29 2014, Charles Celerier wrote: > >> >

[PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
The notmuch-search-terms man page states that "tag:" is equivalent to "is:". Completion for "is:" style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier --- emacs/notmuch.el | 11 +++ 1 file changed, 7 insertions(+), 4 de

Re: [PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
Just updated the patch to use lexical-let as suggested. I'm not too familiar with emacs-lisp, so please tell me if you had something else in mind. charles David Bremner writes: > David Edmondson writes: > >> On Sat, Nov 29 2014, Charles Celerier wrote: > >> >

[PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
The notmuch-search-terms man page states that "tag:" is equivalent to "is:". Completion for "is:" style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier --- emacs/notmuch.el | 11 +++ 1 file changed, 7 insertions(+), 4 de

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-28 Thread Charles Celerier
The notmuch-search-terms man page states that "tag:" is equivalent to "is:". Completion for "is:" style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier --- emacs/notmuch.el | 8 +--- 1 file changed, 5 insertions(+), 3 de

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-28 Thread Charles Celerier
The notmuch-search-terms man page states that "tag:" is equivalent to "is:". Completion for "is:" style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier --- emacs/notmuch.el | 8 +--- 1 file changed, 5 insertions(+), 3 de

[PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-13 Thread Charles Celerier
As noted in the In-Reply-To header, this patch replaces id:1399402716-13714-1-git-send-email-cceleri at cs.stanford.edu. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 494 bytes Desc: not available URL:

[PATCH v2] lib: Start all function names in notmuch-private.h with

2014-05-13 Thread Charles Celerier
notmuch_sha1_of_string notmuch_message_file_close notmuch_message_file_get_header notmuch_message_file_open notmuch_message_get_author notmuch_message_set_author Signed-off-by: Charles Celerier --- lib/database.cc | 24 lib/message-file.c| 8 lib

[PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-13 Thread Charles Celerier
David Bremner writes: > David Bremner writes: > >> Originally I thought this was uneccesarily intrusive, but on a second >> look I see that there is only one symbol changed that doesn't start with >> _notmuch, so I guess for consistency it's fine. Actually, they all start with _notmuch. The sym

Re: [PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-13 Thread Charles Celerier
As noted in the In-Reply-To header, this patch replaces id:1399402716-13714-1-git-send-email-ccel...@cs.stanford.edu. pgpOnVsuIV3Xa.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/n

[PATCH v2] lib: Start all function names in notmuch-private.h with

2014-05-13 Thread Charles Celerier
notmuch_sha1_of_string notmuch_message_file_close notmuch_message_file_get_header notmuch_message_file_open notmuch_message_get_author notmuch_message_set_author Signed-off-by: Charles Celerier --- lib/database.cc | 24 lib/message-file.c| 8 lib

Re: [PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-13 Thread Charles Celerier
David Bremner writes: > David Bremner writes: > >> Originally I thought this was uneccesarily intrusive, but on a second >> look I see that there is only one symbol changed that doesn't start with >> _notmuch, so I guess for consistency it's fine. Actually, they all start with _notmuch. The sym

[PATCH v2 2/5] test: Made T010-help-test and T020-compact tests more portable.

2014-05-10 Thread Charles Celerier
following the symbolic link. Signed-off-by: Charles Celerier --- test/Makefile.local| 8 test/T010-help-test.sh | 2 +- test/T020-compact.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Makefile.local b/test/Makefile.local index d622eaf..8fd333c 100644

[PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-10 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> At this point, I'm not sure how to create a better version of this >> patch. Are we renaming functions in notmuch-private.h? Should we stick >> with objdump or switch to using nm? > > I'd go wit

[PATCH v2 2/5] test: Made T010-help-test and T020-compact tests more portable.

2014-05-10 Thread Charles Celerier
following the symbolic link. Signed-off-by: Charles Celerier --- test/Makefile.local| 8 test/T010-help-test.sh | 2 +- test/T020-compact.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Makefile.local b/test/Makefile.local index d622eaf..8fd333c 100644

Re: [PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-10 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> At this point, I'm not sure how to create a better version of this >> patch. Are we renaming functions in notmuch-private.h? Should we stick >> with objdump or switch to using nm? > > I'd go wit

[PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> Here is some of output of the matches made on the output of nm: >> >> $ nm -g test/../lib/*.o | sed -n '/.*\s\+T\s\+_\(notmuch_.*\)/p' >> 28c0 T _notmuch_databa

Re: [PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> Here is some of output of the matches made on the output of nm: >> >> $ nm -g test/../lib/*.o | sed -n '/.*\s\+T\s\+_\(notmuch_.*\)/p' >> 28c0 T _notmuch_databa

[PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: >> test_begin_subtest 'comparing existing to exported symbols' >> -objdump -t $TEST_DIRECTORY/../lib/*.o | awk '$4 == ".text" && $6 ~ >> "^notmuch" {print $6}' | sort | uniq

[PATCH 2/5] configure, test: Added variables for paths to true and false.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> The path to true may not be the same on all platforms (e.g. on Mac OS X >> it is /usr/bin/true), so the hard-coded path of /bin/true is not >> portable. This is resolved by adding a step to the configure script to &g

Re: [PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: >> test_begin_subtest 'comparing existing to exported symbols' >> -objdump -t $TEST_DIRECTORY/../lib/*.o | awk '$4 == ".text" && $6 ~ >> "^notmuch" {print $6}' | sort | uniq

Re: [PATCH 2/5] configure, test: Added variables for paths to true and false.

2014-05-08 Thread Charles Celerier
David Bremner writes: > Charles Celerier writes: > >> The path to true may not be the same on all platforms (e.g. on Mac OS X >> it is /usr/bin/true), so the hard-coded path of /bin/true is not >> portable. This is resolved by adding a step to the configure script to &g

[PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-06 Thread Charles Celerier
output format. Signed-off-by: Charles Celerier --- test/T360-symbol-hiding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 9239fc1..21cabca 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh

[PATCH v2 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
: Charles Celerier --- test/T360-symbol-hiding.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 636ec91..9239fc1 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -12,7 +12,14

[PATCH v2 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
: Charles Celerier --- test/T360-symbol-hiding.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 636ec91..9239fc1 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -12,7 +12,14

[PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-06 Thread Charles Celerier
output format. Signed-off-by: Charles Celerier --- test/T360-symbol-hiding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 9239fc1..21cabca 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh

[PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-06 Thread Charles Celerier
functions appropriately where they are used. Signed-off-by: Charles Celerier --- lib/database.cc | 24 lib/message-file.c| 8 lib/message.cc| 8 lib/notmuch-private.h | 14 +++--- lib/sha1.c| 4 ++-- lib/thread.cc

[PATCH 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
Tomi Ollila writes: > On Tue, May 06 2014, Charles Celerier wrote: > >> The Mac OS X platform uses *.dylib object files instead of *.so object >> files for linking. Adding the path to notmuch.dylib to the end of >> DYLD_FALLBACK_LIBRARY_PATH has a similar effe

[PATCH 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-06 Thread Charles Celerier
output format. Signed-off-by: Charles Celerier --- test/T360-symbol-hiding.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 97c734a..c5bbf27 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh

[PATCH 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
: Charles Celerier --- test/T360-symbol-hiding.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 636ec91..97c734a 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -12,7 +12,14

[PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later.

2014-05-06 Thread Charles Celerier
On the Mac OS X platform, the rename() function symbol is not found until the debugger begins running. The reason for this is unknown, but allowing breakpoint symbols to be resolved later both solves the problem and does not change the test. Signed-off-by: Charles Celerier --- test

[PATCH 2/5] configure, test: Added variables for paths to true and false.

2014-05-06 Thread Charles Celerier
same was done for false. Signed-off-by: Charles Celerier --- configure | 6 ++ test/Makefile.local | 8 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 9bde2eb..0bce0a3 100755 --- a/configure +++ b/configure @@ -50,6 +50,8

[PATCH 1/5] test/Makefile.local: Added configured TALLOC_LDFLAGS.

2014-05-06 Thread Charles Celerier
The linking to talloc is hard-coded in the testing Makefile. This patch causes the linking to talloc to be done according to how TALLOC_LDFLAGS was configured. Signed-off-by: Charles Celerier --- test/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test

[PATCH 0/5] Improving portability to Mac OS X

2014-05-06 Thread Charles Celerier
e made any foolish mistakes in my attempt to submit changes. Charles Celerier (5): test/Makefile.local: Added configured TALLOC_LDFLAGS. configure, test: Added variables for paths to true and false. atomicity.gdb: Allow breakpoint symbols to be resolved later. T360-symbol-hiding: Added code

[PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

2014-05-06 Thread Charles Celerier
functions appropriately where they are used. Signed-off-by: Charles Celerier --- lib/database.cc | 24 lib/message-file.c| 8 lib/message.cc| 8 lib/notmuch-private.h | 14 +++--- lib/sha1.c| 4 ++-- lib/thread.cc

Re: [PATCH 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
Tomi Ollila writes: > On Tue, May 06 2014, Charles Celerier wrote: > >> The Mac OS X platform uses *.dylib object files instead of *.so object >> files for linking. Adding the path to notmuch.dylib to the end of >> DYLD_FALLBACK_LIBRARY_PATH has a similar effe

[PATCH 3/5] atomicity.gdb: Allow breakpoint symbols to be resolved later.

2014-05-06 Thread Charles Celerier
On the Mac OS X platform, the rename() function symbol is not found until the debugger begins running. The reason for this is unknown, but allowing breakpoint symbols to be resolved later both solves the problem and does not change the test. Signed-off-by: Charles Celerier --- test

[PATCH 5/5] T360-symbol-hiding: Use nm instead of objdump.

2014-05-06 Thread Charles Celerier
output format. Signed-off-by: Charles Celerier --- test/T360-symbol-hiding.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 97c734a..c5bbf27 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh

[PATCH 2/5] configure, test: Added variables for paths to true and false.

2014-05-06 Thread Charles Celerier
same was done for false. Signed-off-by: Charles Celerier --- configure | 6 ++ test/Makefile.local | 8 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 9bde2eb..0bce0a3 100755 --- a/configure +++ b/configure @@ -50,6 +50,8

[PATCH 4/5] T360-symbol-hiding: Added code to support testing on Mac OS X.

2014-05-06 Thread Charles Celerier
: Charles Celerier --- test/T360-symbol-hiding.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 636ec91..97c734a 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -12,7 +12,14

[PATCH 1/5] test/Makefile.local: Added configured TALLOC_LDFLAGS.

2014-05-06 Thread Charles Celerier
The linking to talloc is hard-coded in the testing Makefile. This patch causes the linking to talloc to be done according to how TALLOC_LDFLAGS was configured. Signed-off-by: Charles Celerier --- test/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test

[PATCH 0/5] Improving portability to Mac OS X

2014-05-06 Thread Charles Celerier
e made any foolish mistakes in my attempt to submit changes. Charles Celerier (5): test/Makefile.local: Added configured TALLOC_LDFLAGS. configure, test: Added variables for paths to true and false. atomicity.gdb: Allow breakpoint symbols to be resolved later. T360-symbol-hiding: Added code