[PATCH 1/4] Add a thread's tags to emacs header-line

2012-11-18 Thread Damien Cassou
Signed-off-by: Damien Cassou --- emacs/notmuch-show.el | 24 +--- emacs/notmuch-tagger.el | 44 2 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 emacs/notmuch-tagger.el diff --git a/emacs/notmuch-show.el

[PATCH 2/4] Make tags in header-line clickable

2012-11-18 Thread Damien Cassou
Signed-off-by: Damien Cassou --- emacs/notmuch-tagger.el | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-tagger.el b/emacs/notmuch-tagger.el index 5ca190e..19a6c7e 100644 --- a/emacs/notmuch-tagger.el +++ b/emacs

[PATCH v2] emacs: display tags in notmuch-show with links

2012-11-18 Thread Damien Cassou
This patch obsoletes id:1352565719-12397-1-git-send-email-damien.cas...@gmail.com [PATCH 1/4] emacs: Add a thread's tags to emacs header-line [PATCH 2/4] emacs: Make tags in header-line clickable [PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable [PATCH 4/4] emacs: Add unit-tests

[PATCH v2] emacs: display tags in notmuch-show with links

2012-11-15 Thread Damien Cassou
you say what it returns in > the nil case? Something along them lines of > > "if HEADERLINE is non-nil the returned will be ready for inclusion in > the buffer's header-line (i.e., will use header-buttons if > available). Otherwise it returns a list?? ready

[PATCH v2] emacs: display tags in notmuch-show with links

2012-11-15 Thread Damien Cassou
ot; major-mode))" > > s/notmch/notmuch/ here. thank you very much for your two fixes. I applied them. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill

emacs: Handling external dependencies

2012-11-15 Thread Damien Cassou
On Wed, Nov 14, 2012 at 2:32 AM, Adam Wolfe Gordon wrote: > If possible, I'd encourage you to make the > new library recommended, rather than required. that's a good solution in my particular case and will follow your suggestion. Thank you -- Da

Re: [PATCH v2] emacs: display tags in notmuch-show with links

2012-11-15 Thread Damien Cassou
you say what it returns in > the nil case? Something along them lines of > > "if HEADERLINE is non-nil the returned will be ready for inclusion in > the buffer's header-line (i.e., will use header-buttons if > available). Otherwise it returns a list?? ready

Re: [PATCH v2] emacs: display tags in notmuch-show with links

2012-11-15 Thread Damien Cassou
ot; major-mode))" > > s/notmch/notmuch/ here. thank you very much for your two fixes. I applied them. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill ___

Re: emacs: Handling external dependencies

2012-11-15 Thread Damien Cassou
On Wed, Nov 14, 2012 at 2:32 AM, Adam Wolfe Gordon wrote: > If possible, I'd encourage you to make the > new library recommended, rather than required. that's a good solution in my particular case and will follow your suggestion. Thank you -- Damien Cassou http://damiencassou.s

[PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-10 Thread Damien Cassou
Please see new version of this patch: id:1352565719-12397-1-git-send-email-damien.cassou at gmail.com

[PATCH v2] emacs: display tags in notmuch-show with links

2012-11-10 Thread Damien Cassou
;. You can follow this patch series on https://github.com/DamienCassou/notmuch/tree/labeler-integration Signed-off-by: Damien Cassou --- emacs/fallback-libs/.nosearch|1 + emacs/fallback-libs/header-button.el | 138 ++ emacs/notmuch-show.el

emacs: Handling external dependencies

2012-11-10 Thread Damien Cassou
E-LIB nil t) | (let ((load-path | (cons (expand-file-name | "fallback-libs" | (file-name-directory (or load-file-name buffer-file-name))) | load-path))) | (require 'THE-LIB))) ` What do you think? -- Damien Cassou http

Re: [PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-10 Thread Damien Cassou
Please see new version of this patch: id:1352565719-12397-1-git-send-email-damien.cas...@gmail.com ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v2] emacs: display tags in notmuch-show with links

2012-11-10 Thread Damien Cassou
ollow this patch series on https://github.com/DamienCassou/notmuch/tree/labeler-integration Signed-off-by: Damien Cassou --- emacs/fallback-libs/.nosearch|1 + emacs/fallback-libs/header-button.el | 138 ++ emacs/notmuch-show.el

emacs: Handling external dependencies

2012-11-10 Thread Damien Cassou
E-LIB nil t) | (let ((load-path | (cons (expand-file-name | "fallback-libs" | (file-name-directory (or load-file-name buffer-file-name))) | load-path))) | (require 'THE-LIB))) ` What do you think? -- Damien Cassou http

[PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-08 Thread Damien Cassou
and sometimes queries (e.g., "thread:12"). To me, the code should use ids everywhere and build a query out of that when calling notmuch or when displaying a query. This would also avoid the use of the optional `bare' parameter in some existing functions. Thank you for your review. So, I'm waiting for more opinions because changing anything. Best -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill

Re: [PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-08 Thread Damien Cassou
and sometimes queries (e.g., "thread:12"). To me, the code should use ids everywhere and build a query out of that when calling notmuch or when displaying a query. This would also avoid the use of the optional `bare' parameter in some existing functions. Thank

[PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-06 Thread Damien Cassou
rent buffer. diff --git a/emacs/notmuch-tager.el b/emacs/notmuch-tager.el new file mode 100644 index 000..1f83e29 --- /dev/null +++ b/emacs/notmuch-tager.el @@ -0,0 +1,76 @@ +;; notmuch-tager.el --- Library to show labels as links +;; +;; Copyright ? Damien Cassou +;; +;; This file is part

[PATCH] emacs: display tags in notmuch-show's header-line with links to search

2012-11-06 Thread Damien Cassou
the current buffer. diff --git a/emacs/notmuch-tager.el b/emacs/notmuch-tager.el new file mode 100644 index 000..1f83e29 --- /dev/null +++ b/emacs/notmuch-tager.el @@ -0,0 +1,76 @@ +;; notmuch-tager.el --- Library to show labels as links +;; +;; Copyright © Damien Cassou +;; +;; This file is

[PATCH] don't show x-foo tags in search view

2012-10-30 Thread Damien Cassou
x-foo and X-foo > tags from the 'search' view. what about using notmuch-labeler that let you hide whatever you want (or replace it by pictures)? https://github.com/DamienCassou/notmuch-labeler I'm working on integrating it inside notmuch -- Damien Cassou http://damiencassou.

Re: [PATCH] don't show x-foo tags in search view

2012-10-30 Thread Damien Cassou
x-foo and X-foo > tags from the 'search' view. what about using notmuch-labeler that let you hide whatever you want (or replace it by pictures)? https://github.com/DamienCassou/notmuch-labeler I'm working on integrating it inside notmuch -- Damien Cassou http://damiencassou.

[PATCH] emacs: Function to query the list of labels from a thread-id

2012-10-28 Thread Damien Cassou
This patch adds `notmuch-query-thread-labels-from-id' and corresponding test. This function returns the labels of thread whose id is passed as argument. The thread labels are the union of the labels of emails in the thread. I need this function to integrate notmuch-labeler. Signed-off-by: D

[PATCH] emacs: Function to query the list of labels from a thread-id

2012-10-28 Thread Damien Cassou
This patch adds `notmuch-query-thread-labels-from-id' and corresponding test. This function returns the labels of thread whose id is passed as argument. The thread labels are the union of the labels of emails in the thread. I need this function to integrate notmuch-labeler. Signed-off-by: D

[ANN] notmuch-labeler: Improves notmuch way of displaying labels

2012-10-24 Thread Damien Cassou
> mainline; I'll let other people comment on whether yes, now is the time > (and thereby volunteering to review the patches ;). Anyone interested in notmuch-labeler? https://github.com/DamienCassou/notmuch-labeler (there are screenshots there) -- Damien Cassou http://damiencassou.seas

Re: [ANN] notmuch-labeler: Improves notmuch way of displaying labels

2012-10-24 Thread Damien Cassou
> mainline; I'll let other people comment on whether yes, now is the time > (and thereby volunteering to review the patches ;). Anyone interested in notmuch-labeler? https://github.com/DamienCassou/notmuch-labeler (there are screenshots there) -- Damien Cassou http://damiencassou.seas

[ANN] notmuch-labeler: Improves notmuch way of displaying labels

2012-10-07 Thread Damien Cassou
tself. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill

[ANN] notmuch-labeler: Improves notmuch way of displaying labels

2012-10-07 Thread Damien Cassou
tself. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Searching from a folder

2012-10-01 Thread Damien Cassou
h for your explanation -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry

Searching from a folder

2012-10-01 Thread Damien Cassou
my other mailbox, I'm getting the following results: $ notmuch search 'folder:"[Gmail].Important"' | wc --lines 8928 $ notmuch search folder:[Gmail].Important | wc --lines 138 So, without using quoting, something is indeed happening. Do you know what? Thank you -- Damien Cass

Re: Searching from a folder

2012-10-01 Thread Damien Cassou
h for your explanation -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: Searching from a folder

2012-10-01 Thread Damien Cassou
my other mailbox, I'm getting the following results: $ notmuch search 'folder:"[Gmail].Important"' | wc --lines 8928 $ notmuch search folder:[Gmail].Important | wc --lines 138 So, without using quoting, something is indeed happening. Do you know what? Thank you -- Damien Cass

Searching from a folder

2012-09-29 Thread Damien Cassou
On Sat, Sep 29, 2012 at 12:58 PM, Jani Nikula wrote: > So you have folders named like that in your maildir? It *should* of > course work with proper escapes and/or quoting it works exactly like that with my main gmail account, with exactly the same folder name. -- Damien Casso

Searching from a folder

2012-09-29 Thread Damien Cassou
onnections = 1 realdelete = no === ~/.notmuch-config === [database] path=/home//Mail/GmailTest [user] name=Damien Cassou primary_email=damien.test.cassou at gmail.com other_email=#xx [new] tags= [search] exclude_tags=deleted;spam; [maildi

Re: Searching from a folder

2012-09-29 Thread Damien Cassou
On Sat, Sep 29, 2012 at 12:58 PM, Jani Nikula wrote: > So you have folders named like that in your maildir? It *should* of > course work with proper escapes and/or quoting it works exactly like that with my main gmail account, with exactly the same folder name. -- Damien Casso

Searching from a folder

2012-09-29 Thread Damien Cassou
onnections = 1 realdelete = no === ~/.notmuch-config === [database] path=/home//Mail/GmailTest [user] name=Damien Cassou primary_email=damien.test.cas...@gmail.com other_email=#xx [new] tags= [search] exclude_tags=deleted;spam; [maildi

[PATCH] Run `notmuch-show-hook' after setting `header-line-format'

2012-09-17 Thread Damien Cassou
This patch makes it possible for notmuch-show hooks to change the header line. Signed-off-by: Damien Cassou --- emacs/notmuch-show.el |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index ce5ea6f..16008b4 100644 --- a

[PATCH] Run `notmuch-show-hook' after setting `header-line-format'

2012-09-17 Thread Damien Cassou
This patch makes it possible for notmuch-show hooks to change the header line. Signed-off-by: Damien Cassou --- emacs/notmuch-show.el |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index ce5ea6f..16008b4 100644 --- a

Better Gmail handling by not using Notmuch tags

2012-09-13 Thread Damien Cassou
il exports its labels as IMAP folders: an email with multiple labels will be duplicated in multiple folders (one per label). That's why I'm asking if it would be possible to manupale folders from Notmuch instead of tags. -- Damien Cassou http://damiencassou.seasidehosting.st "Lamb

Better Gmail handling by not using Notmuch tags

2012-09-13 Thread Damien Cassou
he current mail file from the folder. Would such a solution work? What would I loose? Thank you -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry

Re: Better Gmail handling by not using Notmuch tags

2012-09-13 Thread Damien Cassou
il exports its labels as IMAP folders: an email with multiple labels will be duplicated in multiple folders (one per label). That's why I'm asking if it would be possible to manupale folders from Notmuch instead of tags. -- Damien Cassou http://damiencassou.seasidehosting.st "Lamb

Better Gmail handling by not using Notmuch tags

2012-09-13 Thread Damien Cassou
he current mail file from the folder. Would such a solution work? What would I loose? Thank you -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry __

<    1   2