nostalgy-xpi icon indicating copy to clipboard operation
nostalgy-xpi copied to clipboard

Exclude Archives from folder completion (Feature Request)

Open tonycanike opened this issue 4 years ago • 12 comments

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!

tonycanike avatar Dec 08 '20 16:12 tonycanike

+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.

ziomau10 avatar Dec 08 '20 21:12 ziomau10

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

s-renier-taonix-fr avatar Apr 26 '21 02:04 s-renier-taonix-fr

+1 Absolutely ... I have even asked for this feature several years ago ... Regards.

On 08/12/2020 17:46, tonycanike wrote:

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!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opto/nostalgy-xpi/issues/69, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPDCX3A26QOXZW6UOMZIZ3STZJ67ANCNFSM4USHJUKA.

--


Maurizio Ferraris @.*** Via Santa Maria 94 10040 GIVOLETTO TO ITALY http://www.dalcioca.it

ziomau10 avatar Apr 26 '21 05:04 ziomau10

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

opto avatar Apr 26 '21 12:04 opto

Hi. For me this is not an option because I have many accounts, but I gather, with the help of nostalgy++, all mails into one "common" account for storage. So my moves are mainly from one account to another and rarely within the same account.

To satisfy your curiosity, the reason for this is that some of the other accounts are POP and thus do not allow me to see mail remotely once them are downloaded to my PC. Moving those mails into folders of my "storage" (IMAP) account I can see them also later from the server without my PC at hand.

Regards. And anyway ... Good job! Mau.

On 26/04/2021 14:07, opto wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opto/nostalgy-xpi/issues/69#issuecomment-826782509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPDCX4FH5PQAAZQIXRSBZTTKVJPJANCNFSM4USHJUKA.

--


Maurizio Ferraris @.*** Via Santa Maria 94 10040 GIVOLETTO TO ITALY http://www.dalcioca.it

ziomau10 avatar Apr 26 '21 17:04 ziomau10

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 avatar Jun 02 '21 22:06 opto

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”?

mcepl avatar Jun 03 '21 12:06 mcepl

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.

[email protected]
|_ Inbox
|_ Archives
  | 2021
    |_ Customers
      |_ Customer A
      |_ ...
      |_ Customer Z
    |_ Perso
    |_ ...
  | 2020
    |_ Customers
      |_ Customer A
      |_ ...
      |_ Customer Z
    |_ Perso
    |_ ...
...
|_ Customers
  |_ Customer A
  |_ ...
  |_ Customer Z
|_ Perso
|_ ...

s-renier-taonix-fr avatar Jun 14 '21 01:06 s-renier-taonix-fr

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!

tonycanike avatar Jun 14 '21 12:06 tonycanike

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

zhoravdb avatar Aug 19 '21 22:08 zhoravdb

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.

opto avatar Aug 22 '21 15:08 opto

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.

tonycanike avatar Nov 16 '22 16:11 tonycanike