branch: externals/ement commit df303f398da8ed14accdb69a4114c09c0c52eee1 Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Comment: Add TODO --- ement-room.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ement-room.el b/ement-room.el index 6e697acbb9..6bd3a249c5 100644 --- a/ement-room.el +++ b/ement-room.el @@ -5980,6 +5980,9 @@ otherwise, download to the filename. Interactively, download to (user-error "Destination path not writable: %S" destination)) (when (file-exists-p destination) (user-error "File already exists: %S" destination)) + ;; TODO: For bonus points, provide a way to cancel a download (otherwise the user + ;; would have to use `list-processes' and find the right one to delete), and to see + ;; progress (perhaps borrowing some of the relevant code in hyperdrive.el). (ement--media-request mxc-url ement-session :authenticatedp t :as `(file ,destination) :then (lambda (&rest _)