Hi there,
I'm a new notmuch/alot user, this is my first mail since I switched from
sup. Yes, switched. notmuch/alot works for me well enough now to be
usable.
I run Arch Linux. Here's some information for fellow Archers:
PKGBUILD for alot-git: https://aur.archlinux.org/packages.php?ID=54955
notmuch-addresses.sh -- email address substring matcher -- completion
helper version 1.4 is available.
This version uses 'notmuch search --sort=newest-first --output=files ...'
(instead of notmuch show ...) to retrieve message information from notmuch
... and now scans headers from mail files
A few minor comments below.
At a higher level, I'm curious what the tag synchronization protocol
you're building on top of this is. I can't think of one that doesn't
have race conditions, but maybe I'm not thinking about it right.
Quoth Thomas Jost on Dec 13 at 6:11 pm:
> This is a time_t
On Thu, 15 Dec 2011 00:36:38 +0400, Dmitry Kurochkin wrote:
>
> I did not do a proper review. But I think the encoder and decoder
> should accept and return the same type, either char* or unsigned char*.
> The decision should be based on what type strings (that would be fed to
> the encoder and
Hi Justus,
I have just tried your script and have some questions/remarks about it:
* mkdir -p ~/.config/afew ~/.local/share/afew/categories
As far as I can see, this is not needed if one doesn't use ClassifyingFilter,
so its OK not to do this directly from the setup.py somehow.
But it
On Wed, 14 Dec 2011 07:11:21 +0400, Dmitry Kurochkin wrote:
> Hi Daniel.
>
> I have finished reviewing this patch at last. Sorry, it is a bit messy.
> Overall, I like the patch. It is a very nice improvement.
>
> I am sure I have missed some important points, but I guess this is the
> best I
From: David Bremner
hex-escape: fix for handling of 8 bit chars
The low level problem was passing negative numbers to sprintf(s,"%x");
we fix this and clarify the api for hex_(decode|encode) by making
encode go from (unsigned char *) (i.e. 8bit) to (char *) and decode
From: David Bremner
The problem is a use of signed chars in places where unsigned
chars (i.e. 0-255) should be used.
---
Well, I did mention more tests were needed ;). I failed to test 8 bit
(>127) stuff and sure enough it was broken. This sets up some tests
to demonstrate
On Tue, 13 Dec 2011 11:11:42 -0600, Thomas Jost
wrote:
> This is a time_t value, similar to the message date (TIMESTAMP). It is first
> set
> when the message is added to the database, and is then updated every time a
> tag
> is added or removed. It can thus be used for doing incremental dumps
On Wed, 14 Dec 2011 11:58:24 +0100, Justus Winter <4winter at
informatik.uni-hamburg.de> wrote:
> ---
[ ... snip ... ]
>
> -class Filenames(object):
> +class Filenames(Python3StringMixIn):
> """Represents a list of filenames as returned by notmuch
>
> This object contains the
On Wed, 14 Dec 2011 11:58:21 +0100, Justus Winter <4winter at
informatik.uni-hamburg.de> wrote:
> ---
> bindings/python/notmuch/globals.py |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bindings/python/notmuch/globals.py
> b/bindings/python/notmuch/globals.py
---
bindings/python/notmuch/filename.py |7 ++-
bindings/python/notmuch/globals.py | 15 +++
bindings/python/notmuch/message.py |8 +++-
bindings/python/notmuch/tag.py |7 ++-
bindings/python/notmuch/thread.py |7 ++-
5 files changed, 20
will be
automatically coerced to unicode if it is used in a unicode context.
OTOH it is possible to use
from __future__ import unicode_literals
to turn all string literals to unicode literals in python 2.x.
Justus
-- next part --
A non-text attachment was scrubbed...
Name: .signature
Type: application/octet-stream
Size: 17 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111214/30164683/attachment-0001.obj>
Yes.
Cheers,
Justus
-- next part --
A non-text attachment was scrubbed...
Name: .signature
Type: application/octet-stream
Size: 17 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111214/b2a08933/attachment.obj>
On Wed, 14 Dec 2011 11:42:36 +0100, Justus Winter <4winter at
informatik.uni-hamburg.de> wrote:
> https://github.com/teythoon/afew
>
> It has some nifty features, citing the README:
"""
Basic tagging stuff requires no configuration, just run
$ afew --tag --new
To do this automatically you can
---
bindings/python/notmuch/database.py |6 +++---
bindings/python/notmuch/filename.py |2 +-
bindings/python/notmuch/message.py |8
bindings/python/notmuch/thread.py |2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git
---
bindings/python/notmuch/filename.py |7 ++-
bindings/python/notmuch/globals.py | 15 +++
bindings/python/notmuch/message.py |8 +++-
bindings/python/notmuch/tag.py |7 ++-
bindings/python/notmuch/thread.py |6 +++---
5 files changed, 21
---
bindings/python/notmuch/globals.py |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/globals.py
b/bindings/python/notmuch/globals.py
index 99e6a10..c52790c 100644
--- a/bindings/python/notmuch/globals.py
+++
---
bindings/python/notmuch/database.py |3 ++-
bindings/python/notmuch/message.py |3 ++-
bindings/python/notmuch/tag.py |3 ++-
bindings/python/notmuch/thread.py |3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/bindings/python/notmuch/database.py
---
bindings/python/notmuch/globals.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/globals.py
b/bindings/python/notmuch/globals.py
index 54a49b2..99e6a10 100644
--- a/bindings/python/notmuch/globals.py
+++
---
bindings/python/notmuch.py |7 ++-
bindings/python/notmuch/database.py |8 +++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch.py b/bindings/python/notmuch.py
index 8d11859..3ff53ec 100755
--- a/bindings/python/notmuch.py
+++
---
bindings/python/setup.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 286fd19..2e58dab 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -7,7 +7,7 @@ from distutils.core import setup
Hi everyone :)
attached is a patch series that makes the notmuch python bindings
compatible with both python 2.x and python 3.x.
There are some workarounds, but those are mostly in globals.py and in
my opinion the benefit of supporting both versions with one codebase
is totally worth it.
Patch
ing for your feedback and patches ;)
Justus
-- next part --
A non-text attachment was scrubbed...
Name: .signature
Type: application/octet-stream
Size: 17 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111214/f8bd5a9c/attachment.obj>
an universal tagging solution with some fancy features
From: Kazuo Teramoto
In-Reply-To:
On 2011-12-14T08:42:36, Justus Winter wrote:
>I'd like to introduce my initial tagging approach, afew tags:
>
>https://github.com/teythoon/afew
>
Very good! Thanks for it. I'm
Hi Daniel.
I have finished reviewing this patch at last. Sorry, it is a bit messy.
Overall, I like the patch. It is a very nice improvement.
I am sure I have missed some important points, but I guess this is the
best I can do right now. Perhaps I will find more comments for the next
version
On Tue, 13 Dec 2011 15:35:53 -0800, Jameson Graef Rollins wrote:
> On Wed, 14 Dec 2011 03:24:23 +0400, Dmitry Kurochkin gmail.com> wrote:
> > BTW I have some plans to introduce optional explicit test ids that can
> > be used for inter-test dependencies. E.g.:
> >
> > test_begin_subtest
On Tue, 13 Dec 2011 19:18:16 -0400, David Bremner wrote:
> On Tue, 13 Dec 2011 14:22:21 -0800, Jameson Graef Rollins finestructure.net> wrote:
>
> > I've only been vaguely following this "test count" stuff, but I'm not
> > sure I understand what's the point of giving tests a number that is
> >
On Tue, 13 Dec 2011 22:55:18 +0200, Tomi Ollila wrote:
> On Wed, 14 Dec 2011 00:15:43 +0400, Dmitry Kurochkin gmail.com> wrote:
> > On Tue, 13 Dec 2011 15:56:47 -0400, David Bremner
> > wrote:
> > > From: David Bremner
> > >
> > > The idea is that $test_count could be used in tests to label
On Tue, 13 Dec 2011 15:56:47 -0400, David Bremner wrote:
> From: David Bremner
>
> The idea is that $test_count could be used in tests to label
> intermediate files. The output enabled by this patch (and --debug)
> helps figure out which OUTPUT.nn file belongs to which test in case
> several
Hey everyone :)
I'd like to introduce my initial tagging approach, afew tags:
https://github.com/teythoon/afew
It has some nifty features, citing the README:
* text classification, magic tags aka the mailing list without server
* spam handling (flush all tags, add spam)
* killed thread
---
bindings/python/setup.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 286fd19..2e58dab 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -7,7 +7,7 @@ from distutils.core import setup
---
bindings/python/notmuch.py |7 ++-
bindings/python/notmuch/database.py |8 +++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch.py b/bindings/python/notmuch.py
index 8d11859..3ff53ec 100755
--- a/bindings/python/notmuch.py
+++
---
bindings/python/notmuch/globals.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/globals.py
b/bindings/python/notmuch/globals.py
index 54a49b2..99e6a10 100644
--- a/bindings/python/notmuch/globals.py
+++
---
bindings/python/notmuch/globals.py |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/globals.py
b/bindings/python/notmuch/globals.py
index 99e6a10..c52790c 100644
--- a/bindings/python/notmuch/globals.py
+++
---
bindings/python/notmuch/database.py |3 ++-
bindings/python/notmuch/message.py |3 ++-
bindings/python/notmuch/tag.py |3 ++-
bindings/python/notmuch/thread.py |3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/bindings/python/notmuch/database.py
---
bindings/python/notmuch/filename.py |7 ++-
bindings/python/notmuch/globals.py | 15 +++
bindings/python/notmuch/message.py |8 +++-
bindings/python/notmuch/tag.py |7 ++-
bindings/python/notmuch/thread.py |6 +++---
5 files changed, 21
an universal tagging solution with some fancy features
From: Kazuo Teramoto kaz@gmail.com
In-Reply-To: e1ramig-0003si...@thinkbox.jade-hamburg.de
On 2011-12-14T08:42:36, Justus Winter wrote:
I'd like to introduce my initial tagging approach, afew tags:
https://github.com/teythoon/afew
On Wed, 14 Dec 2011 11:58:21 +0100, Justus Winter
4win...@informatik.uni-hamburg.de wrote:
---
bindings/python/notmuch/globals.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/globals.py
b/bindings/python/notmuch/globals.py
index
On Wed, 14 Dec 2011 11:58:24 +0100, Justus Winter
4win...@informatik.uni-hamburg.de wrote:
---
[ ... snip ... ]
-class Filenames(object):
+class Filenames(Python3StringMixIn):
Represents a list of filenames as returned by notmuch
This object contains the Filenames iterator.
On Wed, 14 Dec 2011 07:11:21 +0400, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
Hi Daniel.
I have finished reviewing this patch at last. Sorry, it is a bit messy.
Overall, I like the patch. It is a very nice improvement.
I am sure I have missed some important points, but I guess
Quoting Tomi Ollila (2011-12-14 13:26:38)
On Wed, 14 Dec 2011 11:58:24 +0100, Justus Winter
4win...@informatik.uni-hamburg.de wrote:
---
[ ... snip ... ]
-class Filenames(object):
+class Filenames(Python3StringMixIn):
Represents a list of filenames as returned by notmuch
---
bindings/python/notmuch/filename.py |7 ++-
bindings/python/notmuch/globals.py | 15 +++
bindings/python/notmuch/message.py |8 +++-
bindings/python/notmuch/tag.py |7 ++-
bindings/python/notmuch/thread.py |7 ++-
5 files changed, 20
On Wed, 14 Dec 2011 11:42:36 +0100, Justus Winter
4win...@informatik.uni-hamburg.de wrote:
https://github.com/teythoon/afew
It has some nifty features, citing the README:
Basic tagging stuff requires no configuration, just run
$ afew --tag --new
To do this automatically you can add the
Hi Justus,
I have just tried your script and have some questions/remarks about it:
* mkdir -p ~/.config/afew ~/.local/share/afew/categories
As far as I can see, this is not needed if one doesn't use ClassifyingFilter,
so its OK not to do this directly from the setup.py somehow.
But it
notmuch-addresses.sh -- email address substring matcher -- completion
helper version 1.4 is available.
This version uses 'notmuch search --sort=newest-first --output=files ...'
(instead of notmuch show ...) to retrieve message information from notmuch
... and now scans headers from mail files
From: David Bremner brem...@debian.org
hex-escape: fix for handling of 8 bit chars
The low level problem was passing negative numbers to sprintf(s,%x);
we fix this and clarify the api for hex_(decode|encode) by making
encode go from (unsigned char *) (i.e. 8bit) to (char *) and decode
From: David Bremner brem...@debian.org
The problem is a use of signed chars in places where unsigned
chars (i.e. 0-255) should be used.
---
Well, I did mention more tests were needed ;). I failed to test 8 bit
(127) stuff and sure enough it was broken. This sets up some tests
to demonstrate the
On Tue, 13 Dec 2011 16:27:55 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
These one need the completed functionality in notmuch-restore. Fairly
exotic tags are tested, but no weird message id's.
---
test/dump-restore | 33
On Wed, 14 Dec 2011 16:14:01 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
hex-escape: fix for handling of 8 bit chars
The low level problem was passing negative numbers to sprintf(s,%x);
we fix this and clarify the api for hex_(decode|encode) by
On Tue, 13 Dec 2011 11:11:42 -0600, Thomas Jost schno...@schnouki.net wrote:
This is a time_t value, similar to the message date (TIMESTAMP). It is first
set
when the message is added to the database, and is then updated every time a
tag
is added or removed. It can thus be used for doing
Hi there,
I'm a new notmuch/alot user, this is my first mail since I switched from
sup. Yes, switched. notmuch/alot works for me well enough now to be
usable.
I run Arch Linux. Here's some information for fellow Archers:
PKGBUILD for alot-git: https://aur.archlinux.org/packages.php?ID=54955
On Thu, 15 Dec 2011 00:36:38 +0400, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
I did not do a proper review. But I think the encoder and decoder
should accept and return the same type, either char* or unsigned char*.
The decision should be based on what type strings (that would be
A few minor comments below.
At a higher level, I'm curious what the tag synchronization protocol
you're building on top of this is. I can't think of one that doesn't
have race conditions, but maybe I'm not thinking about it right.
Quoth Thomas Jost on Dec 13 at 6:11 pm:
This is a time_t
On Sun, 11 Dec 2011 17:21:09 -0800, Jameson Graef Rollins
jroll...@finestructure.net wrote:
Debian tags have been using '/', instead of '-' as a separator.
pushed
d
___
notmuch mailing list
notmuch@notmuchmail.org
On Mon, 12 Dec 2011 22:50:04 +0200, Jani Nikula j...@nikula.org wrote:
Support nil value for notmuch-poll-script to run notmuch new instead of
an external script, and make this the new default. notmuch new is run
using the configured notmuch-command.
pushed.
d
56 matches
Mail list logo