alfred-org-capture
alfred-org-capture copied to clipboard
Support for org-mac-link and PopClip
Dear J. J. Asghar,
Thank you for your great work implementing alfred-org-capture! I have tweaked alfred-org-capture.el to enable PopClip support (runs make-orgcapture-frame
with selected text) and org-mac-link
support (creates links to certain Mac apps). I consider these additions useful (although some issues remain; see below). If you agree, I hope you'll consider merging them.
Sincerely,
Ian FitzPatrick
Additions:
- Included a hook written by Alan Schmitt to close the frame when the capture is finalised.
- Included support for org-mac-link which enables links to certain Mac applications (e.g., Mail, Safari, Firefox).
- Added a PopClip extension to include selected text in capture.
Current issues:
- The text selection mechanism is implemented by means of a global variable. audible gasp
- Text and links are inserted into the capture using
org-capture-prepare-finalize-hook
which sometimes requires finalising (i.e., completing, refiling, or discarding) the capture twice. - When emacs is run in fullscreen mode all frames are killed when the capture is finalised.
This is awesome! Out of principle I'll have to test this out, but I'll do this asap. This maybe enough to finally get me to look into putting this in melpa too!
I'm glad you like it! I added one more tweak to the bash script to kill the terminal window upon completion of the command. I'll add that to the next pull request along with the modified README
I edited README.md and tried to incorporate mention of the features I added as best I could.