Skip to content
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

Add yank-media handlers and XDS function #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

9viz
Copy link
Contributor

@9viz 9viz commented Nov 4, 2023

Closes #47.

This adds yank-media handler for images in clipboard and files copied from a file manager.

This also adds "XDS" function so that images from firefox can be directly dragged and dropped onto a room buffer to upload it.

@alphapapa alphapapa self-assigned this Nov 12, 2023
@alphapapa alphapapa added the enhancement New feature or request label Nov 12, 2023
@alphapapa alphapapa added this to the Future milestone Nov 12, 2023
@alphapapa
Copy link
Owner

Ok, thanks. I may not have time to review this in detail soon, but I'll get to it.

* ement-room.el (ement-room-send-file): Add new :then argument for
these new features.
(ement-room-dnd-xds-upload-file): Add XDS function.
(ement-room-send-image-in-clipboard, ement-room-send-copied-files):
Add yank-media handler functions.
(ement-room-mode): Register them all.

Closes alphapapa#47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:B
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants