Re: [MlMt] Archive a thread?

2014-09-17 Thread Max Rydahl Andersen

On 16 Sep 2014, at 12:41, Benny Kjær Nielsen wrote:


On 16 Sep 2014, at 11:31, Max Rydahl Andersen wrote:


On 15 Sep 2014, at 20:15, Benny Kjær Nielsen wrote:


Alternatively, you can use this in your key binding:

moveThreadToMailbox:, ARCHIVE


is there a way to have the destination be Archive-year-of-mail ?


If you are asking for a format string based on the content of the 
current email then the answer is no when using custom key bindings. 
The following is what you can do using custom key bindings:


`ARCHIVE` is a key that maps to whatever mailbox is assigned as the 
“Archive” mailbox type for the account of the currently selected 
message.


You can use `/Archive-2014` to put emails in a mailbox explicitly 
named `Archive-2014` in the account of the currently selected message. 
(Note the prefixed `/`.)


You can use an explicit IMAP mailbox in an explicit account using the 
value on the pasteboard after selecting a mailbox and hitting ⌘C.


Using a bundle command then the answer is yes, but this flexibility 
comes at the price of it being harder to do :-) I'll provide an 
example (when I have more time) if this is what you were asking for.


archiving based on year of mail would be optimal, but archive into the 
current year (without having to update the keybindings) would be a good 
start ;)



--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate



/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-17 Thread Thomas Eckhold




On 17 Sep 2014, at 13:16, Max Rydahl Andersen wrote:



On 16 Sep 2014, at 12:41, Benny Kjær Nielsen wrote:



is there a way to have the destination be Archive-year-of-mail ?


archiving based on year of mail would be optimal, but archive into the 
current year (without having to update the keybindings) would be a 
good start ;)


Not sure if I miss something. Why not setting up rules for the Archive 
mailbox (even for a specific IMAP account)?


SHIFT-CMD-A (or any individually created key binding) moves the message 
in the archive mailbox (or any specified mailbox) and a rule could move 
the message based on the year to the desired mailbox.


But maybe you are looking for a solution of a different problem and I 
have simply missed your point.


Regards,

Thomas
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-17 Thread Max Rydahl Andersen

On 17 Sep 2014, at 13:38, Thomas Eckhold wrote:


On 17 Sep 2014, at 13:16, Max Rydahl Andersen wrote:



On 16 Sep 2014, at 12:41, Benny Kjær Nielsen wrote:



is there a way to have the destination be Archive-year-of-mail ?


archiving based on year of mail would be optimal, but archive into 
the current year (without having to update the keybindings) would be 
a good start ;)


Not sure if I miss something. Why not setting up rules for the Archive 
mailbox (even for a specific IMAP account)?


SHIFT-CMD-A (or any individually created key binding) moves the 
message in the archive mailbox (or any specified mailbox) and a rule 
could move the message based on the year to the desired mailbox.


But maybe you are looking for a solution of a different problem and I 
have simply missed your point.


your solution is way too simple and straightforward. I want convoluted!

Kidding aside - your solution is much better and does not need magic.

/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-16 Thread Max Rydahl Andersen

On 15 Sep 2014, at 20:15, Benny Kjær Nielsen wrote:


On 15 Sep 2014, at 19:25, Joshua Kehn wrote:

I have backspace mapped to archive an item, mark it as seen, and 
remove any flags. It looks like this only happens for the currently 
selected message, i.e. if I have group by thread turned on it keeps 
any messages under that thread still there. Can I have it perform 
that action on anything in the thread then group by thread is turned 
on?


The general rule is that when a thread is collapsed then the action 
applies to the thread. If it's not collapsed then it applies to the 
selected message(s).


Alternatively, you can use this in your key binding:

moveThreadToMailbox:, ARCHIVE



is there a way to have the destination be Archive-year-of-mail ?

/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-16 Thread Benny Kjær Nielsen

On 16 Sep 2014, at 11:31, Max Rydahl Andersen wrote:


On 15 Sep 2014, at 20:15, Benny Kjær Nielsen wrote:


Alternatively, you can use this in your key binding:

moveThreadToMailbox:, ARCHIVE


is there a way to have the destination be Archive-year-of-mail ?


If you are asking for a format string based on the content of the 
current email then the answer is no when using custom key bindings. The 
following is what you can do using custom key bindings:


`ARCHIVE` is a key that maps to whatever mailbox is assigned as the 
“Archive” mailbox type for the account of the currently selected 
message.


You can use `/Archive-2014` to put emails in a mailbox explicitly named 
`Archive-2014` in the account of the currently selected message. (Note 
the prefixed `/`.)


You can use an explicit IMAP mailbox in an explicit account using the 
value on the pasteboard after selecting a mailbox and hitting ⌘C.


Using a bundle command then the answer is yes, but this flexibility 
comes at the price of it being harder to do :-) I'll provide an example 
(when I have more time) if this is what you were asking for.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-16 Thread Joshua Kehn


On 15 Sep 2014, at 14:15, Benny Kjær Nielsen wrote:

The general rule is that when a thread is collapsed then the action 
applies to the thread. If it's not collapsed then it applies to the 
selected message(s).


Alternatively, you can use this in your key binding:

moveThreadToMailbox:, ARCHIVE



Ah, I just realized what's happening. It's not marking the other 
archived messages as seen / removing flags. If I have all the messages 
in a thread seen then the archive function works as expected but 
because I'm in my “Incoming” mailbox (not seen or flagged) it 
persists in that view.


Anyway to update archiving a thread to function the same as a single 
message?
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Archive a thread?

2014-09-15 Thread Benny Kjær Nielsen

On 15 Sep 2014, at 19:25, Joshua Kehn wrote:

I have backspace mapped to archive an item, mark it as seen, and 
remove any flags. It looks like this only happens for the currently 
selected message, i.e. if I have group by thread turned on it keeps 
any messages under that thread still there. Can I have it perform that 
action on anything in the thread then group by thread is turned on?


The general rule is that when a thread is collapsed then the action 
applies to the thread. If it's not collapsed then it applies to the 
selected message(s).


Alternatively, you can use this in your key binding:

moveThreadToMailbox:, ARCHIVE

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate