On 25/09/2023 20:14, Visuwesh wrote:
+  (setq-local dnd-protocol-alist
+              (cons '("^file:///" . org--dnd-local-file-handler)
+                    dnd-protocol-alist))

Does it mean that `org--dnd-local-file-handler' is unconditionally called for Org buffers? Current action is to open text files in the widow under cursor and it is what users may expect. They may be surprised if the file is attached instead.

Some applications may highlight some area and display a hint describing effect of drop. Unsure if it is possible in Emacs.

I have tried to drop files from Dolphin KDE file manager onto an Emacs-28 frame. ACTION is always 'private. In some application Shift/Ctrl pressed during drop means move/copy. Mouse cursor changes accordingly. Is it possible to achieve the same effect in Emacs?

Reply via email to