Giter Site home page Giter Site logo

gmailinator's Introduction

GMailinator

Adds Gmail-esque keyboard shorcuts to Mail.app. This is still very much a work in progress. Tested with Mail for OS X 10.8.4.

Supported Shortcuts

KeyAction
cCompose new message
rReply
aReply All
y, eArchive
#Delete
jGo to previous message/thread
kGo to next message/thread
/Mailbox search
lMove to folder (opens dialog)

How to install

  1. Grab the latest build from the builds/ directory, and unzip to ~/Library/Mail/Bundles
  2. Enable Mail.app plugins: defaults write com.apple.mail EnableBundles -bool true

How to build

  1. Load up the project in Xcode.
  2. Run the build, this should automatically create ~/Library/Mail/Bundles (but you may need to create this).
  3. Enable Mail.app plugins: defaults write com.apple.mail EnableBundles -bool true
  4. Relaunch Mail.

Credits

A lot of this was built with heavy use of of the BindDeleteKeyToArchive project by Ben Lenarts. The Xcode project and interface skeleton were all from that project, and for the most part, renamed. I added the keybinding code.

A lot of the code is also either copied in whole, or modified from the Nostalgy4Mail.app project, by Hajo Nils Krabbenhöft, and subsequently by Jelmer van der Linde. I've added support for ARC (turns out there were quite a few leaks), and prettied-up (imho) the move-to-folder dialog.

Other references:

gmailinator's People

Contributors

bholt avatar ksoderstrom avatar mikesilvis avatar nompute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmailinator's Issues

Reply broke with the latest Yosemite beta 8

Start Mail, pressing 'e' works like it should.
Pressing 'a' of 'r' does nothing except throw this error in the console log.
I've got no clue as to figure out what happens here :)

16/09/14 09:50:10,763 Mail[1867]: *** -[NSURL initFileURLWithPath:isDirectory:]: nil string parameter
16/09/14 09:50:10,763 Mail[1867]: (
    0   CoreFoundation                      0x00007fff83f5746c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8e6da6de objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff83f5731d +[NSException raise:format:] + 205
    3   Foundation                          0x00007fff89616606 -[NSURL(NSURL) initFileURLWithPath:isDirectory:] + 134
    4   MailCore                            0x00007fff881245a1 -[MCAttachment dataForFetchLevel:] + 388
    5   MailCore                            0x00007fff88127582 -[MCAttachment fileWrapperForFetchLevel:] + 175
    6   MailCore                            0x00007fff8818eba4 -[MCMimePart _archiveForMultipartRelated] + 754
    7   MailCore                            0x00007fff8818e713 -[MCMimePart webArchive] + 83
    8   MailCore                            0x00007fff88178099 -[MCMimeBody webArchive] + 146
    9   Mail                                0x000000010838fe29 Mail + 2649641
    10  Mail                                0x000000010818dcb8 Mail + 543928
    11  Mail                                0x000000010818dc34 Mail + 543796
    12  Mail                                0x000000010818dacb Mail + 543435
    13  Mail                                0x000000010818d131 Mail + 540977
    14  Mail                                0x000000010818cf33 Mail + 540467
    15  Mail                                0x000000010818cd52 Mail + 539986
    16  Mail                                0x000000010818b4cc Mail + 533708
    17  Mail                                0x00000001081892bf Mail + 524991
    18  Mail                                0x0000000108187571 Mail + 517489
    19  Mail                                0x0000000108186f12 Mail + 515858
    20  Mail                                0x0000000108184012 Mail + 503826
    21  CoreFoundation                      0x00007fff83e3013c __invoking___ + 140
    22  CoreFoundation                      0x00007fff83e2ff92 -[NSInvocation invoke] + 290
    23  MailCore                            0x00007fff881c3284 -[MCThrowingInvocationOperation main] + 48
    24  MailCore                            0x00007fff88154fde -[MCMainThreadInvocationOperation main] + 55
    25  Foundation                          0x00007fff8966717c __NSThreadPerformPerform + 293
    26  CoreFoundation                      0x00007fff83e75461 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    27  CoreFoundation                      0x00007fff83e675ed __CFRunLoopDoSources0 + 269
    28  CoreFoundation                      0x00007fff83e66c1f __CFRunLoopRun + 927
    29  CoreFoundation                      0x00007fff83e66638 CFRunLoopRunSpecific + 296
    30  HIToolbox                           0x00007fff8a4cd45f RunCurrentEventLoopInMode + 235
    31  HIToolbox                           0x00007fff8a4cd1da ReceiveNextEventCommon + 431
    32  HIToolbox                           0x00007fff8a4cd01b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    33  AppKit                              0x00007fff846b85d1 _DPSNextEvent + 964
    34  AppKit                              0x00007fff846b7d80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
    35  AppKit                              0x00007fff846abd33 -[NSApplication run] + 594
    36  AppKit                              0x00007fff846971b4 NSApplicationMain + 1832
    37  libdyld.dylib                       0x00007fff845f25c9 start + 1
)

Where is the builds/ directory?

Per readme.md, "Grab the latest build from the builds/ directory, and unzip to ~/Library/Mail/Bundles". Where can I find the builds/ directory?

Move to folder dialog not working in 10.10.2 (Mail version 8.2 (2070.6))

The (Nostalgy4Mail) move to folder dialog seems to be broken in OS X 10.10.2 (Mail version 8.2 (2070.6)). Upon typing the 'l' key, I can see the "Message" menu flash in the menubar, but no dialog box opens. Selecting the "Message > Move to Folder . . ." menu item manually results in the same (non) behavior.

Does not work with Mail.app Version 9

This plugin does not work with the latest version of Mail, Version 9. I don't know how to change it to make it work but I can share error messages if it would be helpful.

How to find out the selector to forward a message

I'm trying to add 'f' to forward a message, and capturing the key works great, unfortunately i cannot find the selector to do so. I'm not an objective-c developer but i do have a basic understanding, yet my guess about 'forwardMessages' doesn't seem to pan out. I also cannot figure out a way to find what selectors are available.

[messageViewer performSelector:@selector(forwardMessages:) withObject:nil];
12/03/14 11:22:42,863 Mail[6367]: -[MessageViewer forwardMessages:]: unrecognized selector sent to instance 0x7fb350519c50

OS Mail update breaks the plug-in!

Not sure if this project is still alive, but the latest Mac OS update killed the plug-in... Would love to see if it could be updated, and would be happy to help if I can (don't have a ton to offer, but might be able to at least contribute $)!

-John

Star shortcut "s" missing

The "star" operation is missing, usually with the shortcut "s".

Mail.app doesn't have a star option though, but it seems that making it a red "flag" is the equivalent recognized by Mail.app and Gmail. So I suppose making "s" flag something as red would be the right fix here. Is this possible?

[Noob Q] /builds directory?

I'm really sorry I'm such a noob...

I can't find the /build directory mentioned in the How to Install section?

Yosemite support

Hello there!

I would like to use this Mail plugin but it doesn't seem to work with Yosemite. Can I provide any more info?

Thanks

Code Will Not Work with Yosemite 10.10.2 / Mail.app 8.2 (But I fixed it)

There were several functions in the latest version of Yosemite 10.10.2 that were depreciated (only as of the fourth beta build), which required extensive modifications to the existing code base.

I was able to make the changes, and can avail them for anyone that is interested. Please contact me at [email protected] with the subject Gmailinator if you want the updated code.

vi!

Go to folder

Thanks for the fantastic plugin! It would be great if it supported GMail's 'gl' as well to search and open a folder. I guess that 'g' would be a fine shortcut for this, since Mail.app doesn't have built-in contacts and it's the shortcut that's also used at fastmail.fm ;).

[FR] Imitating GMail's mute behavior

It would be awesome to be able to mute conversations with m. I'm not sure what Mail.app's API is like, so it might not be possible, but here's a description of how Gmail's mute works:

When you mute a conversation, new messages added to the conversation bypass your inbox so that the conversation stays archived.

Muted conversations will only pop back into your inbox ready for your attention if a new message in the conversation is addressed to you and no one else, or if you're added to the "To" or "Cc" line in a new message.

Incompatible with Mail Version 10.1 (3251) (Mac OS 10.12.1)

Plugin became incompatible again with the release of Mac OS 10.12.1, Mail Version 10.1 (3251) - I tried adding the UUID 9054AFD9-2607-489E-8E63-8B09A749BC61 to ~/Library/Mail/Bundles/GMailinator.mailbundle/Contents/Info.plist but that did not help

Doesn't work with Mail 11

Temporary fix, thanks to @jhollington and @wunc in #43:

  1. Run the find_uuid.sh script in the project root in Terminal, which should output the new Mail UUID.
  2. Edit the info.plist file and add a new Supported10.13PluginCompatibilityUUIDs key list.
  3. Add the new UUID to the list.

Probably overkill, but my info.plist looks like this now:

<string>GMailinator</string>
<key>Supported10.12PluginCompatibilityUUIDs</key>
<array>
  <string>[old-uuid]</string>
  ...
  <string>[new-uuid]</string>
</array>
<key>Supported10.13PluginCompatibilityUUIDs</key>
<array>
  <string>[old-uuid</string>
  ...
  <string>[new-uuid]</string>
</array>
<key>SupportedPluginCompatibilityUUIDs</key>

Build Failing for Mail 12

Any ideas as to how to get this working in Mail 12? It seems the project is not able to alter any of the folders in /Library/Mail. I realize we're still in beta, but curious if this is being looked at yet. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.