| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Specifically mentioning that it's a list separated by ';' and use
"will" instead of "should".
|
|
|
|
|
|
|
|
|
|
| |
Our intent has always been that when new configuration-file settings
are created by notmuch, that they get created with comments telling
the user how to use them. But this was only working before when the
entire configuration file was created.
We fix this so that when a new group is added, (such as the recently-
added [messages] section) that it gets its documentation.
|
|
|
|
| |
To eliminate a compiler warning.
|
|
|
|
|
|
| |
Add a new_tags option in the [messages] section of the configuration
file to allow the user to specify which tags should be added to new
messages by notmuch new.
|
|
|
|
|
|
| |
Keep up to date with the libnotmuch.so API.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|
|
|
|
|
|
|
| |
No more .hg files needed in the git repo.
No stock notmuch-test suite needed in a subdirectory.
We have the real one in this repository
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|
|
|
|
| |
Not that the sections actually mean anything yet, but it makes for
clean output.
|
|
|
|
|
| |
This is one of those cases that I move love. Deleting code fixes
a bug, (test suite now passes again).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test suite doesn't yet cover --format=json output nor UTF-8 in
subject or body.
This patch starts with test cases for 'search --format=json' and
'show --format=json'.
Furthermore, it has test cases for a search for a UTF-8 string in a mail
body for a UTF-8 string in a mail subject.
Finally, it has a test case for --format=json with UTF-8 messages,
demonstrating the fix in 1267697893-sup-4538@sam.mediasupervision.de.
Reviewed-by: Carl Worth <cworth@cworth.org>
Updated tests to current implementation of the test suite.
These tests demonstrate a bug in the current implementation
of "notmuch show --format=json", (timestamp output is changed
depending on current timezone).
|
|
|
|
|
|
|
| |
If future updates to the test suite add more messages to the database
before this "notmuch show" test, then the message-ID numbers in the
expected output will all change. But we can at least compute the
numbers so that this test will continue to pass.
|
|
|
|
|
| |
Search output was already using `timestamp' for a very similar field,
so follow that.
|
|
|
|
|
|
|
|
|
| |
With defcustom the user can easily find this variable (and its
documentation) within "M-x customize-group" "notmuch" (though finding
*that* is still tricky).
The new name of notmuch-poll-script is also easier to remember, (for
me at least).
|
|
|
|
|
|
| |
Emacs scoping rules strongly encourage us to have fully-namespaced
function names. A prefix like "notmuch-search" is a pretty ugly
namespace name, but it's what we have for now.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new functions first check if an external poll script has been defined in
the variable 'notmuch-external-refresh-script and if yes, runs that script
before executing the existing refresh function (which is bound to '=')
This can be used to have 'G' mimic the mutt behavior of polling an external
mail server - or if the mail polling is already automatic, it can trigger
the call to notmuch new and any necessary automatic tagging of new email.
Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
|
|
|
|
|
|
|
| |
This reverts commit 36e4459a328b8449b3e9d510be81a332a9b35aaa.
With the two previous reverts, this fixes the recent message-sorting
regression, so the test suite now passes again.
|
|
|
|
| |
This reverts commit f43990ce134d838cdb2cdd5d0752a602e81cfdd9.
|
|
|
|
| |
This reverts commit 7fb56f9dc5d8e66f717f5e48ecbfbc11c8190182.
|
|
|
|
|
|
|
|
|
|
|
| |
In the recent change to rename threads based on changing subject
lines, I broke message ordering within "notmuch show" output. But our
test suite didn't catch that regressions, because we didn't have any
tests of "notmuch show".
This adds one "notmuch show" test along with the thread-naming
tests. It's not a whole suite of "notmuch show" testing, but it does
catch this regression at least.
|
|
|
|
|
|
|
|
| |
We're starting to get test output that's fairly long, so it's much
kinder to just show a diff rather than displaying the complete
expected and actual output. To allow the user to investigate things
after the fact, we save the expected and actual output to files named
test-${test_number}.expected and test-${test_number}.output .
|
|
|
|
|
| |
Before codifying these in any expected test output, I'd like them to
at least resemble English.
|
|
|
|
|
| |
Help message for "show" mistakenly refers to '--output' instead of
'--format'.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sebastian offered to maintain these bindings within the notmuch
repository and offered them in the following repository:
git://github.com/spaetz/python-notmuch.git
These are the bindings formerly known as "cnotmuch" and now known
simply as "notmuch" from within python.
The bindings are not yet integrated into the build system and
packaging of the primary ntomuch repository.
|
| |
| |
| |
| |
| | |
In preparation for merging the python bindings into the notmuch
repository.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we have it in the toplevel directory we can run it without having
to install the library, which is great for testing purposes.
--HG--
rename : docs/notmuch => notmuch.py
|
| |
| |
| |
| | |
import cnotmuch.notmuch is dead. Long live import notmuch!
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So you need to do e.g. 'from notmuch import Database' rather than the
previous from cnotmuch.notmuch import Database.
Alse recreate our fake python 'notmuch' binary in the docs directory for now
--HG--
rename : notmuch/notmuch.py => notmuch/__init__.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and GPL v3+ boilerplate code to each source file.
--HG--
rename : cnotmuch/__init__.py => notmuch/__init__.py
rename : cnotmuch/database.py => notmuch/database.py
rename : cnotmuch/globals.py => notmuch/globals.py
rename : cnotmuch/message.py => notmuch/message.py
rename : cnotmuch/notmuch.py => notmuch/notmuch.py
rename : cnotmuch/tag.py => notmuch/tag.py
rename : cnotmuch/thread.py => notmuch/thread.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
It can not add and remove messages. However, message moves are not detected and we do not modify or honor the Directory entries yet.
|
| | |
|
| |
| |
| |
| | |
This commit contains many minor and bigger changes, such as the removal of the logging import too.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
usages
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
with dme's json ui
Sebastian:
This replaces the patch it responds to. With this patch, we can now use
the cnotmuch with David's json ui. There are still issues, but this
allows interaction with emacs.
---
|
| | |
|
| | |
|
| |
| |
| |
| | |
notmuch show a bit
|
| |
| |
| |
| | |
instance, attributes.
|
| | |
|