Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude Archives from folder completion (Feature Request) #69

Open
tonycanike opened this issue Dec 8, 2020 · 12 comments
Open

Exclude Archives from folder completion (Feature Request) #69

tonycanike opened this issue Dec 8, 2020 · 12 comments
Labels
enhancement New feature or request workaround

Comments

@tonycanike
Copy link

Can a feature be added to exclude folder matching on Thunderbird standard archive folders (Local Folders/Archives/1998, etc.)?

When I use a folder command (s, g, etc.), the folder completion list is full of many Thunderbird Archives folders that get in the way of selecting the current folder I want to save to.

Details:

I use TB's default archiving facility ("A" command) for my local folders ("Keep message archives in: "Archives" folder on : "Local Folders" in Server Settings, and archive into "Yearly archived folders".)

So I have a set of Archive folder trees organized into years that were all created by TB:
Local Folders/Archives/1998/...
Local Folders/Archives/1999/...
....
Local Folders/Archives/2020/...

Under each year is a tree of 100's of folders roughly mirroring my main Local Folders folder tree.

So if I have an active folder "Local Folders/Work/ABCorporation/123project", I also have all of the following folders:

Local Folders/Archives/1998/Work/ABCorporation/123project
Local Folders/Archives/1999/Work/ABCorporation/123project
....
Local Folders/Archives/2020/Work/ABCorporation/123project

When I use a folder command (e.g. s), and start type the name of a folder ("123") I want to save to, the auto complete list contains the 13 Archive folders ("Local Folders/Archives/Work/ABCorporation/123project" through "Local Folders/Archives/2020/Work/ABCorporation/123project") plus the one a really want, "Local Folders/Work/ABCorporation/123project".

I don't need to see all those Archives folders - they just get in the way. If I want to save to them, I just hit the TB "A" key.

Thanks & appreciate all your hard work!

@ziomau10
Copy link

ziomau10 commented Dec 8, 2020

+1
Same for me.
It sould be enough to exclude Local Folders/Archive from the search, maybe with just an on/off setting.
Of course it could be more general to have a list of excluded folders, or a regular expressione match ...
But just leaving out Archives could be ok for me.

@opto opto added the enhancement New feature or request label Dec 13, 2020
@s-renier-taonix-fr
Copy link

s-renier-taonix-fr commented Apr 26, 2021

+1
Same for me but it's not in my local folder (perhaps because i use imap ?)
Thank you

@ziomau10
Copy link

ziomau10 commented Apr 26, 2021 via email

@opto
Copy link
Owner

opto commented Apr 26, 2021

this might be a momentary workaround??
You can set only to use folders of the current server That should (?) exclude local folders. I never used that feature and am not even sure it came over to TB 78. But maybe you can try and report here.

thanks,

Klaus

@ziomau10
Copy link

ziomau10 commented Apr 26, 2021 via email

@opto
Copy link
Owner

opto commented Jun 2, 2021

v2.3 allows to have multiple search criteria. This might be a workaround. You can search like 'in no' to find inbox/software/nostalgy. It would not show folders in local or archived,

@opto opto added the workaround label Jun 2, 2021
@mcepl
Copy link

mcepl commented Jun 3, 2021

First, #103 is a duplicate.

Second, I don’t understand. How can I say that I don’t want ever to have included in a completion folders under the subtree “Místní pošta/Archive”?

@s-renier-taonix-fr
Copy link

s-renier-taonix-fr commented Jun 14, 2021

We've got an example in "Usage directions for Nostalgy++" :
"Even if not using regex, Nostalgy++ now allows multiple search criteria. For example, 'in no' will find inbox/software/nostalgy. 'ar no' will find archive/software/nostalgy. Just using 'no' will find both. Two or more criteria or parts of foldernames are allowed. Don't type the '! "

But it's not good enough for me because I keep the structure of my folder in my archive.
And my folders are not in the inbox.

mail@example.com
|_ Inbox
|_ Archives
  | 2021
    |_ Customers
      |_ Customer A
      |_ ...
      |_ Customer Z
    |_ Perso
    |_ ...
  | 2020
    |_ Customers
      |_ Customer A
      |_ ...
      |_ Customer Z
    |_ Perso
    |_ ...
...
|_ Customers
  |_ Customer A
  |_ ...
  |_ Customer Z
|_ Perso
|_ ...

@tonycanike
Copy link
Author

I agree with @s-renier-taonix-fr . I use the "out of the box" Archive functionality built into Thunderbird, and it puts them in a folder tree as @s-renier-taonix-fr describes. The Archive folder tree is essentially inactive and I don't use Nostalgy++ functionality to access it.

My folders are all named so that I can access any one of my 100's of folders with the first 3-5 characters of the leaf folder name. So it's very fast to use the S, C, G commands and I love Nostalgy++ for this. But all the identically-names leaf folder names in the Archive tree foul up the whole functionality.

A way to exclude the Archive folder tree from the S, C, G, etc., folder matching would be very helpful please. Especially an option that I don't have to type more characters every time I use the S command, which is 100's of times every day.

I believe I'd like to see a new feature in the Nostalgy++ Preferences that would allow someone to semi-permanently exclude the Archive folder tree (or perhaps a regex to apply to folder names to exclude) from the folder matching used by the S, C, G, etc. commands, and their Shift variants. 99.9% of the time I do not use Nostalgy++ to access the folders in the Archive tree. In the rare instances I might want to use the S, C, G commands to access the Archive folder tree, it would be simple to open up the Nostalgy Preferences and uncheck the new "Exclude from folder matching" option.

Thank you!

@zhoravdb
Copy link

I'll add my desire for excluding archive folders as well.

I also do a lot of cross account filing, specifically when I move a receipt or something important that comes to my shopping email account to the box on my personal account that holds all my important stuff (and due to it's size happens to be one of the main reasons I started archiving mail).

But, hey!, this extension is definitely one of the best and most useful around and most of the features are great (especially for us vim people who appreciate those who know how much faster it can be to use a keyboard for many things). But I understand that it may not be the highest priority. Still, once I finally got to setting up the archives it's been such a bother to always end up on one of the archive mailboxes and have to find my way to the active mailbox each time that I'm finding myself not using Nostalgy as much as I used to (and would like to).

If I wasn't surviving on Food Stamps and Rent Vouchers and had extra moneyh to give I'd gladly send something and regret that it's not possible…so sending my sincere thanks is the best I can do for you right now. So thank you for what you've made (and the time you give to supporting it!) Zhora

@opto
Copy link
Owner

opto commented Aug 22, 2021

this will come but needs some time. I have a search component that does accept linux search commands (including the not), but it is not copatible with the current autocomplete and needs some extra work.

I think you can still use the regex 'not' but did not verify that. Regex has a way to exclude substrings from the search result.

@tonycanike
Copy link
Author

tonycanike commented Nov 16, 2022

Perhaps nostalgy++ could at least not default to a match in the Archives folder tree? Currently it defaults to sending the email to a matching folder that is in the Archives folder tree -- wondering why?

I just want to type the minimal number of characters and have it propose to save to the matching folder that is not in the Archives folder tree. Then I hit return and go to work on the next 200 emails I have today.

image

The reported work around does not work around the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workaround
Projects
None yet
Development

No branches or pull requests

6 participants