Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 9 Dec 2016, at 13:50, David Shepherdson wrote: On 9 Dec 2016, at 05.39, Vlad Ghitulescu wrote: The only think that doesn't work anymore is applying the same keyboard shortcut for - closing the BBEdit-window where I edit the MailMate-message and - send it from MailMate because ^K it's already a keybinding in BBEdit (deletes from cursor till the end of the current line). Only if you have ‘Emulate Emacs key bindings’ turned on… :-) ! You're right! I forgot, why did I do this (as well as the Emacs key bindings ;-)… but I had a reason for sure! :-D But I just tried turning that on, and setting the shortcut for ‘Close Document’ to control-K, and it worked for me — as in, typing control-K closed the document. I did it too and it works again with only this shortcut! Thanks, David! David___ Regards, Vlad ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 9 Dec 2016, at 05.39, Vlad Ghitulescu wrote: The only think that doesn't work anymore is applying the same keyboard shortcut for - closing the BBEdit-window where I edit the MailMate-message and - send it from MailMate because ^K it's already a keybinding in BBEdit (deletes from cursor till the end of the current line). Only if you have ‘Emulate Emacs key bindings’ turned on… :-) But I just tried turning that on, and setting the shortcut for ‘Close Document’ to control-K, and it worked for me — as in, typing control-K closed the document. David___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 9 Dec 2016, at 13:32, Benny Kjær Nielsen wrote: On 9 Dec 2016, at 10:58, Vlad Ghitulescu wrote: On 7 Dec 2016, at 15:16, Benny Kjær Nielsen wrote: Maybe you can use that for now (⌃⇧K). There is something I still doesn't understand completely: the command itself is the same ("send:"), only the chosen keybinding is different. Why this difference in the behavior?! The NSTextField (or to be more exact, its field editor) converts keys to selectors itself, but some key presses are not converted (I don't know or I have forgotten exactly how this works). MailMate only watches for unused selectors (`noop:`) and then looks through its own key bindings. The main text field in the composer works differently. In this case, MailMate monitors all key events. This is what MailMate should also do for the NSTextField to make this work. So the main text field behave differently than the others (From: & Subject:) regarding the key events: it "*sees*" all the key events while the other fields doesn't - is this correct? And again: Why?! :-)___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 9 Dec 2016, at 10:58, Vlad Ghitulescu wrote: On 7 Dec 2016, at 15:16, Benny Kjær Nielsen wrote: Maybe you can use that for now (⌃⇧K). There is something I still doesn't understand completely: the command itself is the same ("send:"), only the chosen keybinding is different. Why this difference in the behavior?! The NSTextField (or to be more exact, its field editor) converts keys to selectors itself, but some key presses are not converted (I don't know or I have forgotten exactly how this works). MailMate only watches for unused selectors (`noop:`) and then looks through its own key bindings. The main text field in the composer works differently. In this case, MailMate monitors all key events. This is what MailMate should also do for the NSTextField to make this work. -- Benny ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 7 Dec 2016, at 15:16, Benny Kjær Nielsen wrote: 1. Do you have any ideas what to do in order to be able to send an email-message with a keybinding regardless of the position of the cursor (as previous)? I'm not quite sure which ones would work. Looking at the code indicates it has to be a binding which already has some kind of binding/purpose such that the text field converts it into a selector (even if that selector is `noop:`). This is why the old one worked. A bit of experimenting revealed that this should work: "^K" = "send:"; Maybe you can use that for now (⌃⇧K). There is something I still doesn't understand completely: the command itself is the same ("send:"), only the chosen keybinding is different. Why this difference in the behavior?!___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 8 Dec 2016, at 19:34, Vlad Ghitulescu wrote: I'm not quite sure which ones would work. Looking at the code indicates it has to be a binding which already has some kind of binding/purpose such that the text field converts it into a selector (even if that selector is `noop:`). This is why the old one worked. A bit of experimenting revealed that this should work: "^K" = "send:"; Maybe you can use that for now (⌃⇧K). I'll try it right after this reply… It worked. The only think that doesn't work anymore is applying the same keyboard shortcut for - closing the BBEdit-window where I edit the MailMate-message and - send it from MailMate because ^K it's already a keybinding in BBEdit (deletes from cursor till the end of the current line). So I’ll have to find something else…___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 7 Dec 2016, at 15:16, Benny Kjær Nielsen wrote: On 6 Dec 2016, at 10:25, Vlad Ghitulescu wrote: With one of the latest update MailMate added CMD-K as a keybinding for Edit - Add Link. I know this because I previously used this exact keybinding for "send:" in my ~/Library/Application Support/MailMate/Resources/KeyBindings/VladsCustom.plist-file :-) and the new behavior drove me crazy! ;-) Sorry about that, but it was the “standard key” for this action. Yes, I know. No problem, I only need to change my keybinding for it. So I changed my keybinding for send to this: "^~@k"= "send:"; and everything was fine again. *Almost* everything. :-/ I discovered that the new keybinding works only when the cursor it's in the message window and not (**anymore!**) when the cursor is in the To:- or the Subject:-fields. As I said, I changed ONLY the keybinding and NOT the command itself… but the behavior changed. 3 related questions: 1. Did anybody else experienced this as well? I can reproduce it. 2. It's this a bug or a new feature? ;-) It's naturally not intentional. 3. Do you have any ideas what to do in order to be able to send an email-message with a keybinding regardless of the position of the cursor (as previous)? I'm not quite sure which ones would work. Looking at the code indicates it has to be a binding which already has some kind of binding/purpose such that the text field converts it into a selector (even if that selector is `noop:`). This is why the old one worked. A bit of experimenting revealed that this should work: "^K" = "send:"; Maybe you can use that for now (⌃⇧K). I'll try it right after this reply… Thanks! Regards, Vlad ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Something changed with the new keybinding and I cannot figure out what
On 6 Dec 2016, at 10:25, Vlad Ghitulescu wrote: With one of the latest update MailMate added CMD-K as a keybinding for Edit - Add Link. I know this because I previously used this exact keybinding for "send:" in my ~/Library/Application Support/MailMate/Resources/KeyBindings/VladsCustom.plist-file :-) and the new behavior drove me crazy! ;-) Sorry about that, but it was the “standard key” for this action. So I changed my keybinding for send to this: "^~@k"= "send:"; and everything was fine again. *Almost* everything. :-/ I discovered that the new keybinding works only when the cursor it's in the message window and not (**anymore!**) when the cursor is in the To:- or the Subject:-fields. As I said, I changed ONLY the keybinding and NOT the command itself… but the behavior changed. 3 related questions: 1. Did anybody else experienced this as well? I can reproduce it. 2. It's this a bug or a new feature? ;-) It's naturally not intentional. 3. Do you have any ideas what to do in order to be able to send an email-message with a keybinding regardless of the position of the cursor (as previous)? I'm not quite sure which ones would work. Looking at the code indicates it has to be a binding which already has some kind of binding/purpose such that the text field converts it into a selector (even if that selector is `noop:`). This is why the old one worked. A bit of experimenting revealed that this should work: "^K" = "send:"; Maybe you can use that for now (⌃⇧K). -- Benny ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate