> I suggest to ask for a string with (read-string "URL: " nil nil default), > offering the content of the clipboard/kill ring/selections as the DEFAULT. > I think it's better to be explicit when downloading content, and there > isn't much overhead in asking for a confirmation.
I've moved the clipboard stuff to `org-download-yank'. `org-download-image' asks for the link now. > > This can be fixed by adding `org-download-max-filename-length`. When > > it > > overflows, just resort to `default-directory' and provide a > > message/option to fix. > > I suggest that the right place for those files is as attachment, and > that's where customization should happen. The function choosing the > right place (i.e. org-download--dir) could be turned into a defvar or > defcustom which could then be set either to #'org-download--dir or > #'org-attach-dir. Yes, this should be added. Oleh