Re: [MlMt] Deleting a thread

2013-12-03 Thread Benny Kjær Nielsen

On 3 Dec 2013, at 3:12, Kee Hinckley wrote:

Is there a way to create a key macro to select all of a thread and 
then delete it?

e.g. ``Command-Control-A Delete``


It could be done using `selectWithFilter:`, but there is also an 
undocumented key binding. I think this would work:


(selectThread:, deleteMessage:)

Actually, what I'd really like is the one new feature in Mavericks 
Mail that I rather liked---the way it handled threads, where deleting 
the thread would delete everything in the thread that's in the current 
mailbox, but not the rest---but that doesn't really work for smart 
mailbox rules. At the very least, it shouldn't delete stuff that's in 
the ``Sent`` folder.


I guess with `selectWithFilter:`, it would be possible to exclude 
messages located in specific mailboxes or, more easily, messages sent by 
you. For example:


	( selectWithFilter:, #thread-id = ${#thread-id} and from.name != 
'Kee Hinckley');


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


Re: [MlMt] Deleting a thread

2013-12-03 Thread Rob McBroom
On 2 Dec 2013, at 23:27, Jeffrey Horn wrote:

 On Mon, Dec 2, 2013, at 06:12 PM, Kee Hinckley wrote:
 Is there a way to create a key macro to select all of a thread and then
 delete it?
 e.g. ``Command-Control-A Delete``

 If you enable thread/conversation view in preferences (I don't remember
 what it's called, and I'm not near my Mac), you should be able to
 expand/collapse a thread with a key binding. If the thread is collapsed,
 deleting it will delete the entire thread.

Yeah, so if you bind a keystroke to

( collapseThread:, deleteMessage: )

It’ll probably do what you want.

-- 
Rob McBroom
http://www.skurfer.com/
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] Deleting a thread

2013-12-02 Thread Kee Hinckley
Is there a way to create a key macro to select all of a thread and then 
delete it?

e.g. ``Command-Control-A Delete``

Actually, what I'd really like is the one new feature in Mavericks Mail 
that I rather liked---the way it handled threads, where deleting the 
thread would delete everything in the thread that's in the current 
mailbox, but not the rest---but that doesn't really work for smart 
mailbox rules. At the very least, it shouldn't delete stuff that's in 
the ``Sent`` folder.


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


Re: [MlMt] Deleting a thread

2013-12-02 Thread Jeffrey Horn
On Mon, Dec 2, 2013, at 06:12 PM, Kee Hinckley wrote:
 Is there a way to create a key macro to select all of a thread and then 
 delete it?
 e.g. ``Command-Control-A Delete``

If you enable thread/conversation view in preferences (I don't remember
what it's called, and I'm not near my Mac), you should be able to
expand/collapse a thread with a key binding. If the thread is collapsed,
deleting it will delete the entire thread.

-- 
Jeffrey Horn
j...@jrhorn.me
http://hello.jrhorn.me/

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