-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose macOS native sharing dialog via ns-share #776
base: master
Are you sure you want to change the base?
Conversation
cfcd691
to
c461116
Compare
ns-share can be invoked on: - Region text - Current buffer file - Dired marked files - Dired region files
c461116
to
19deca4
Compare
Sounds amazing. Thanks a lot @xenodium ❤️ I see that there is some active discussions in the linked thread, so I'll wait a bit before merging. If in the end the alternative solutions would not be accepted, I'll just merge your PR. If the upstream solution will be not ideal - I am open to macos specific patch here. Does that make sense to you? :) |
Sounds good. Looks like there's still a chance to upstream it, so let's indeed wait for the outcome of that. |
@xenodium That's a nice one. I will add it to https://github.com/daviderestivo/homebrew-emacs-head once it's stable enough :). |
Still working through patch feedback, in the hope we can upstream 🤞 |
Oooh, OK, will take a look :) |
@xenodium, once you have the fix, could you please open a PR for homebrew-emacs-head? |
The PR exposes the macOS native sharing dialog via
ns-share
.Change unlikely to be accepted upstream until there's a linux equivalent, thus proposing to emacs-plus, my favorite build ;)
ns-share
"does what I mean" (DWIM) by operating on either:A couple of sample screenshots: