Looking for the perfect mail client

2014-10-23 Thread Sepp Tannhuber
Franz Fellner schrieb am 12:58 Donnerstag, 23.Oktober 2014: > /usr/share\36/usr/loal/share/pixmaps/hicolor/index.theme > \36 is $, isn't it? > and "loal" should be "local"? Any idea how this could happen? And how can I fix it? > Probably you messed up your env? (.bashrc;/etc/env.d;...) I

[PATCH v2] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
Yes, it's here, the patch you've all been waiting for! Well, maybe: - Add a variable to control which headers are displayed normally. - Any header that is not displayed normally will be listed in a folded area in the message so you can access it at will (can be turned off). - Add the

Looking for the perfect mail client

2014-10-23 Thread Ian Main
Sepp Tannhuber wrote: > Dear all, > > I'm wondering whether there's a notmuch mail client > - with a handling similar to alot > - which is capable to show html content without html2ascii conversion > - which can use vim as editor > - which doesn't need a web browser > - which doesn't need a mouse

[PATCH] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
Yes, it's here, the patch you've all been waiting for! Well, maybe: - Add a variable to control which headers are displayed normally. - Any header that is not displayed normally will be listed in a folded area in the message so you can access it at will (can be turned off). - Add the

[PATCH v2] VIM: Add URI handling

2014-10-23 Thread Ian Main
Add URI handling to the vim client. You can now press 'enter' by default and the client will parse the current line and find any 'Part's or URIs available for opening. If there are more than one it opens the one under the cursor or else it opens the only one available. It also supports mailto:

[PATCH] VIM: Add better attachment support

2014-10-23 Thread Ian Main
This patch changes how the notmuch vim client supports attachments: - For each message part a 'Part : ' is added to the header. - You can then use 'e' to extract the attachment under the cursor or use it elsewhere to extract all attachments (the prior behavior) - You can use 'v' to 'view' the

Looking for the perfect mail client

2014-10-23 Thread Franz Fellner
Justus Winter wrote: > Quoting Sepp Tannhuber (2014-10-23 12:47:10) > > Peter Feigl schrieb am 19:38 Mittwoch, 22.Oktober 2014: > > > Try strace or > > > gdb to find out what really crashes notmuch. > > Good idea. Can anybody help me to interprete the output: > >

Looking for the perfect mail client

2014-10-23 Thread Franz Fellner
Sepp Tannhuber wrote: > Peter Feigl schrieb am 19:38 Mittwoch, 22.Oktober 2014: > > > > > > Try strace or > > gdb to find out what really crashes notmuch. > Good idea. Can anybody help me to interprete the output: > https://gist.github.com/tannhuber/c7cae862f897efccd3cb HUH?

Looking for the perfect mail client

2014-10-23 Thread Justus Winter
Quoting Sepp Tannhuber (2014-10-23 12:47:10) > Peter Feigl schrieb am 19:38 Mittwoch, 22.Oktober 2014: > > Try strace or > > gdb to find out what really crashes notmuch. > Good idea. Can anybody help me to interprete the output: > https://gist.github.com/tannhuber/c7cae862f897efccd3cb Your

Looking for the perfect mail client

2014-10-23 Thread Sepp Tannhuber
Peter Feigl schrieb am 19:38 Mittwoch, 22.Oktober 2014: > Try strace or > gdb to find out what really crashes notmuch. Good idea. Can anybody help me to interprete the output: https://gist.github.com/tannhuber/c7cae862f897efccd3cb

[PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}

2014-10-23 Thread Mark Walters
On Sun, 12 Oct 2014, Michal Sojka wrote: > The new outputs allow printing senders, recipients or both of matching > messages. The --output option is converted from "keyword" argument to > "flags" argument, which means that the user can use --output=sender and > --output=recipients simultaneously,

[PATCH v3 9/9] lib: Remove unnecessary thread linking steps when using ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements Previously, it was necessary to link new messages to children to work around some (though not all) problems with the old metadata-based approach to stored thread IDs. With ghost messages, this is no longer necessary, so don't bother with child linking

[PATCH v3 8/9] test: Test upgrade to ghost messages feature

2014-10-23 Thread Austin Clements
--- test/T530-upgrade.sh | 21 + 1 file changed, 21 insertions(+) diff --git a/test/T530-upgrade.sh b/test/T530-upgrade.sh index c4c4ac8..6b42a69 100755 --- a/test/T530-upgrade.sh +++ b/test/T530-upgrade.sh @@ -116,4 +116,25 @@ MAIL_DIR/bar/new/21:2, MAIL_DIR/bar/new/22:2,

[PATCH v3 7/9] lib: Enable ghost messages feature

2014-10-23 Thread Austin Clements
From: Austin Clements This fixes the broken thread order test. --- lib/database-private.h| 2 +- test/T260-thread-order.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/database-private.h b/lib/database-private.h index e2e4bc8..15e03cc 100644 ---

[PATCH v3 6/9] lib: Implement upgrade to ghost messages feature

2014-10-23 Thread Austin Clements
From: Austin Clements Somehow this is the first upgrade pass that actually does *any* error checking, so this also adds the bit of necessary infrastructure to handle that. --- lib/database.cc | 66 +++-- 1 file changed, 64

[PATCH v3 5/9] lib: Implement ghost-based thread linking

2014-10-23 Thread Austin Clements
From: Austin Clements This updates the thread linking code to use ghost messages instead of user metadata to link messages into threads. In contrast with the old approach, this is actually correct. Previously, thread merging updated only the thread IDs of message documents,

[PATCH v3 4/9] lib: Internal support for querying and creating ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements This updates the message abstraction to support ghost messages: it adds a message flag that distinguishes regular messages from ghost messages, and an internal function for initializing a newly created (blank) message as a ghost message. ---

[PATCH v3 3/9] lib: Introduce macros for bit operations

2014-10-23 Thread Austin Clements
These macros help clarify basic bit-twiddling code and are written to be robust against C undefined behavior of shift operators. --- lib/message.cc| 6 +++--- lib/notmuch-private.h | 11 +++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lib/message.cc

[PATCH v3 2/9] lib: Update database schema doc for ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements This describes the structure of ghost mail documents. Ghost messages are not yet implemented. --- lib/database.cc | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index

[PATCH v3 1/9] lib: Add a ghost messages database feature

2014-10-23 Thread Austin Clements
From: Austin Clements This will be implemented over the next several patches. The feature is not yet "enabled" (this does not add it to NOTMUCH_FEATURES_CURRENT). --- lib/database-private.h | 7 +++ lib/database.cc| 2 ++ 2 files changed, 9 insertions(+) diff

[PATCH v3 0/9] Add ghost messages and fix thread linking

2014-10-23 Thread Austin Clements
This is v3 of id:1412637438-4821-1-git-send-email-aclements at csail.mit.edu. This fixes some comments, as suggested by Mark. There are no code changes relative to v2. The diff from v2 is below. diff --git a/lib/database.cc b/lib/database.cc index 6e51a72..3601f9d 100644 --- a/lib/database.cc

Re: [PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}

2014-10-23 Thread Mark Walters
On Sun, 12 Oct 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching messages. The --output option is converted from keyword argument to flags argument, which means that the user can use --output=sender and --output=recipients

Re: Looking for the perfect mail client

2014-10-23 Thread Sepp Tannhuber
Peter Feigl cra...@gmx.net schrieb am 19:38 Mittwoch, 22.Oktober 2014: Try strace or gdb to find out what really crashes notmuch. Good idea. Can anybody help me to interprete the output: https://gist.github.com/tannhuber/c7cae862f897efccd3cb ___

Re: Looking for the perfect mail client

2014-10-23 Thread Justus Winter
Quoting Sepp Tannhuber (2014-10-23 12:47:10) Peter Feigl cra...@gmx.net schrieb am 19:38 Mittwoch, 22.Oktober 2014: Try strace or gdb to find out what really crashes notmuch. Good idea. Can anybody help me to interprete the output: https://gist.github.com/tannhuber/c7cae862f897efccd3cb

Re: Looking for the perfect mail client

2014-10-23 Thread Franz Fellner
Sepp Tannhuber wrote: Peter Feigl cra...@gmx.net schrieb am 19:38 Mittwoch, 22.Oktober 2014: Try strace or gdb to find out what really crashes notmuch. Good idea. Can anybody help me to interprete the output: https://gist.github.com/tannhuber/c7cae862f897efccd3cb HUH?

Re: Looking for the perfect mail client

2014-10-23 Thread Franz Fellner
Justus Winter wrote: Quoting Sepp Tannhuber (2014-10-23 12:47:10) Peter Feigl cra...@gmx.net schrieb am 19:38 Mittwoch, 22.Oktober 2014: Try strace or gdb to find out what really crashes notmuch. Good idea. Can anybody help me to interprete the output:

[PATCH v3 0/9] Add ghost messages and fix thread linking

2014-10-23 Thread Austin Clements
This is v3 of id:1412637438-4821-1-git-send-email-acleme...@csail.mit.edu. This fixes some comments, as suggested by Mark. There are no code changes relative to v2. The diff from v2 is below. diff --git a/lib/database.cc b/lib/database.cc index 6e51a72..3601f9d 100644 --- a/lib/database.cc +++

[PATCH v3 3/9] lib: Introduce macros for bit operations

2014-10-23 Thread Austin Clements
These macros help clarify basic bit-twiddling code and are written to be robust against C undefined behavior of shift operators. --- lib/message.cc| 6 +++--- lib/notmuch-private.h | 11 +++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lib/message.cc

[PATCH v3 2/9] lib: Update database schema doc for ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu This describes the structure of ghost mail documents. Ghost messages are not yet implemented. --- lib/database.cc | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index

[PATCH v3 1/9] lib: Add a ghost messages database feature

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu This will be implemented over the next several patches. The feature is not yet enabled (this does not add it to NOTMUCH_FEATURES_CURRENT). --- lib/database-private.h | 7 +++ lib/database.cc| 2 ++ 2 files changed, 9 insertions(+) diff --git

[PATCH v3 6/9] lib: Implement upgrade to ghost messages feature

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu Somehow this is the first upgrade pass that actually does *any* error checking, so this also adds the bit of necessary infrastructure to handle that. --- lib/database.cc | 66 +++-- 1 file changed, 64

[PATCH v3 8/9] test: Test upgrade to ghost messages feature

2014-10-23 Thread Austin Clements
--- test/T530-upgrade.sh | 21 + 1 file changed, 21 insertions(+) diff --git a/test/T530-upgrade.sh b/test/T530-upgrade.sh index c4c4ac8..6b42a69 100755 --- a/test/T530-upgrade.sh +++ b/test/T530-upgrade.sh @@ -116,4 +116,25 @@ MAIL_DIR/bar/new/21:2, MAIL_DIR/bar/new/22:2,

[PATCH v3 4/9] lib: Internal support for querying and creating ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu This updates the message abstraction to support ghost messages: it adds a message flag that distinguishes regular messages from ghost messages, and an internal function for initializing a newly created (blank) message as a ghost message. --- lib/message.cc

[PATCH v3 5/9] lib: Implement ghost-based thread linking

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu This updates the thread linking code to use ghost messages instead of user metadata to link messages into threads. In contrast with the old approach, this is actually correct. Previously, thread merging updated only the thread IDs of message documents, not

[PATCH v3 7/9] lib: Enable ghost messages feature

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu This fixes the broken thread order test. --- lib/database-private.h| 2 +- test/T260-thread-order.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/database-private.h b/lib/database-private.h index e2e4bc8..15e03cc 100644 ---

[PATCH v3 9/9] lib: Remove unnecessary thread linking steps when using ghost messages

2014-10-23 Thread Austin Clements
From: Austin Clements amdra...@mit.edu Previously, it was necessary to link new messages to children to work around some (though not all) problems with the old metadata-based approach to stored thread IDs. With ghost messages, this is no longer necessary, so don't bother with child linking when

Re: Looking for the perfect mail client

2014-10-23 Thread Sepp Tannhuber
Franz Fellner alpine.art...@gmail.com schrieb am 12:58 Donnerstag, 23.Oktober 2014: /usr/share\36/usr/loal/share/pixmaps/hicolor/index.theme \36 is $, isn't it? and loal should be local? Any idea how this could happen? And how can I fix it? Probably you messed up your env?

[PATCH] VIM: Add better attachment support

2014-10-23 Thread Ian Main
This patch changes how the notmuch vim client supports attachments: - For each message part a 'Part number: filename' is added to the header. - You can then use 'e' to extract the attachment under the cursor or use it elsewhere to extract all attachments (the prior behavior) - You can use 'v'

[PATCH v2] VIM: Add URI handling

2014-10-23 Thread Ian Main
Add URI handling to the vim client. You can now press 'enter' by default and the client will parse the current line and find any 'Part's or URIs available for opening. If there are more than one it opens the one under the cursor or else it opens the only one available. It also supports mailto:

[PATCH] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
Yes, it's here, the patch you've all been waiting for! Well, maybe: - Add a variable to control which headers are displayed normally. - Any header that is not displayed normally will be listed in a folded area in the message so you can access it at will (can be turned off). - Add the

RE: Looking for the perfect mail client

2014-10-23 Thread Ian Main
Sepp Tannhuber wrote: Dear all, I'm wondering whether there's a notmuch mail client - with a handling similar to alot - which is capable to show html content without html2ascii conversion - which can use vim as editor - which doesn't need a web browser - which doesn't need a mouse -

Re: [PATCH v3 3/9] lib: Introduce macros for bit operations

2014-10-23 Thread Jani Nikula
On Oct 23, 2014 3:31 PM, Austin Clements acleme...@csail.mit.edu wrote: These macros help clarify basic bit-twiddling code and are written to be robust against C undefined behavior of shift operators. --- lib/message.cc| 6 +++--- lib/notmuch-private.h | 11 +++ 2 files

[PATCH v2] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
Yes, it's here, the patch you've all been waiting for! Well, maybe: - Add a variable to control which headers are displayed normally. - Any header that is not displayed normally will be listed in a folded area in the message so you can access it at will (can be turned off). - Add the