emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @


From: Max Nikulin
Subject: Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]
Date: Tue, 26 Sep 2023 23:25:22 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

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

[Prev in Thread] Current Thread [Next in Thread]