Comments (7)
I think what you want here is not a global blacklist but a blacklist local to you inbox.
The problem, actually the coolness lies in you inbox not being any special than any other search.
So, you might consider translating the inbox tagstring to something shorter for space.
[tag translate] # we should really change this to tag-translate methinks
inbox = IN
The problem with this is that it's global: for example if you search for tag:unread it is actually good to know if a thread
is already tagged inbox. You could actually translate inbox to the empty string. Then it never gets displayed at all,
But the current implementation of the taglist buffer can't handle empty strings. This might however be easy to fix,
This buffer needs some love anyway (it should display the translated and the original string).
I see that the send+reply tagging is somewhat redundant. notmuch new actually adds these tag. maybe it has
a config option to disable one of them?
from alot.
The problem, actually the coolness lies in you inbox not being any special than any other search.
I totally agree with you
The problem with this is that it's global [...]
Then it never gets displayed at all
Nah, that's not whut I want. See your example. Or issue #27 where I would want those tags to be displayed if non-defining.
I see that the send+reply tagging is somewhat redundant. notmuch new actually adds these tag.
Actually, in my case, I'm the one who added the sent tag. I don't think notmuch has a default send tag. There is no maildir flag for that, is there? 'L' at least shows no such tag.
So notmuch probably won't be able to fix that ;)
from alot.
Ah ok, yes, sent is a custom tag. However, the taglist buffer should display a sent-tag if there are messages so labelled.
my example?
cf the non-defining thing: Here, both 'sent' and 'repliied' would not be shared by all messages in the thread and therefore be
displayed as defining right? You might consider shortening (by display translation) the replied tag or simply remove it
in your sort script.
Removing/not displaying the inbox tag in the "inbox search" is problematic. At least I don't see how to do it without
hardcoding a inbox searchstring and testing it every time in the Threadline display widgets..
from alot.
sent is a custom tag
yes
the taglist buffer should display a sent-tag if there are messages so labelled
yes. but i don't want them in my search results ('sent' is just an example, of course)
my example?
for example if you search for tag:unread it is actually good to know if a thread is already tagged inbox.
cf the non-defining thing: Here, both 'sent' and 'repliied' would not be shared by all messages in the thread and therefore be displayed as defining right?
They would be displayed since they are non-defining to the thread
You might consider shortening (by display translation) the replied tag or simply remove it
in your sort script.
I don't think that's what I want: If I have 'replied' to a mail in a thread, there will be a 'sent' mail in that thread as well (namely the reply). So the replied tag will always appear together with the sent tag in a thread. However, they belong to different mails! 'replied' to the mail I replied to (yours), while 'sent' marks my reply (mine).
Removing/not displaying the inbox tag in the "inbox search" is problematic. At least I don't see how to do it without
hardcoding a inbox searchstring and testing it every time in the Threadline display widgets..
I had a rather cheeky idea about that. One might decide to not display tags that have been searched for (so if the search term contains a is:inbox, don't display the inbox tag). One might argue, that when searching for mails with tag 't', the returned threads will obviously contain mails with that tag. Don't know if that would be easily implemented. Didn't think about corner cases yet
from alot.
One might decide to not display tags that have been searched for
Thought about it again. First I thought the algo was quite sleek, but now I'm not sure if it isn't too much so. Potentially too much going on too implicitely. Might rather confuse the user.
I'd like to keep this discussion for potential later reference, but I think I'll suspend my thoughts on this issue for now and just go and find myself some nice catchy utf-8 symbols for those ever appearing tags (and maybe even color them ;P ;D)
from alot.
cf the non-defining thing: Here, both 'sent' and 'repliied' would not be shared by all messages in the thread and therefore be displayed as defining right?
They would be displayed since they are non-defining to the thread
right, that's what i meant.
You might consider shortening (by display translation) the replied tag or simply remove it
in your sort script.I don't think that's what I want: If I have 'replied' to a mail in a thread, there will be a 'sent' mail in that thread as well (namely the reply). So the
replied tag will always appear together with the sent tag in a thread. However, they belong to different mails! 'replied' to the mail I replied to
(yours), while 'sent' marks my reply (mine).
That makes sense. Although the Tree layout of the Thread view makes it obvious that one is the reply to the other.
Removing/not displaying the inbox tag in the "inbox search" is problematic. At least I don't see how to do it without
hardcoding a inbox searchstring and testing it every time in the Threadline display widgets..I had a rather cheeky idea about that. One might decide to not display tags that have been searched for (so if the search term contains a is:inbox, don't
display the inbox tag). One might argue, that when searching for mails with tag 't', the returned threads will obviously contain mails with that tag. Don't
know if that would be easily implemented. Didn't think about corner cases yet
The problem is that notmuchs query syntax allows arbitrary boolean combinations of its atomic statements.
What do you do it the query is "not not tag:inbox"? simply leave that tag out because it occured as a substring in the
query?
This does simplify your display, agreed. but at least as default behaviour this might be confising. Maybe make this
optional..
Also, what do you do with all the saved space? :)
from alot.
That makes sense. Although the Tree layout of the Thread view makes it obvious that one is the reply to the other.
yes. but i'm a fanatic. I want my mails tagged properly!!! screamjump* ;)
The problem is that notmuchs query syntax allows arbitrary boolean combinations of its atomic statements.
Well, if notmuch can parse it, so can alot. Alot is better than you at everything! ;P Seriously, though:
What do you do it the query is "not not tag:inbox"? simply leave that tag out because it occured as a substring in the query?
yes, in this case that would seem acceptable. More problematic would be OR expressions, where it'd be rather interesting to see what tag matched.
but at least as default behaviour this might be confising. Maybe make this optional
actually, I'm not that convinced anymore :/
Also, what do you do with all the saved space? :)
Weeell, display more of the subject, more of the preview, or, actually, I would like to see more sender addresses. Or just a more detailed timestamp. Anywayz, I'd find something to garble my screen with ;)
from alot.
Related Issues (20)
- Contact completion with khard HOT 2
- Not compatible with notmuch2 0.35 bindings HOT 15
- Act on multiple threads in search mode HOT 3
- Local hostname in Message-ID HOT 4
- Unknown values were found in config
- please make `get_body_text` more robust HOT 1
- prompt before overwriting files when saving attachments HOT 1
- ` extract_body_part` can receive empty strings and throws exceptions when it does
- Crash while trying to attach word .doc file: module 'magic' has no attribute '_libraries HOT 3
- Sort oldest first by newest email in thread HOT 1
- LookupError when displaying inbox with notmuch backend HOT 1
- Use Github Actions HOT 4
- would it be ok to convert installer to poetry ? HOT 3
- Switch from gpg to python-gnupg HOT 14
- mailcap is deprecated in Python 3.11 and will be removed in 3.13 HOT 1
- Default theme should always be readable HOT 1
- Option --all of tagging commands should apply to matched messages only HOT 7
- Startup very slow on master (due to "lazy thread lookup" fix)
- mailcap module will be removed in 3.13 HOT 2
- magic package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alot.