Questions tagged [drag-and-drop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

Dragging and dropping a file path into emacs

If I drag a pdf into an emacs org file, it opens the pdf in a buffer with DocView (1). Whgat I would like instead, is the the file path, which is the default behavior into a terminal. For now I do M-...
user avatar
1 vote
1 answer
91 views

How to revert Dired drag and drop for dirs to old behavior?

When I drag and drop a directory to Dired in Emacs 26.3, it copies the directory (and its contents) to the directory that Emacs is showing. This is like the behavior in MS Windows explorer. I don't ...
pb-'s user avatar
  • 21
0 votes
0 answers
519 views

Drag and drop a file to org buffer to insert a link to this file

On Windows it is possible to create a link holding the Meta (Alt) key while dragging a file. Is it possible to create a link to a file when it is dragged from an Explorer over to emacs holding the ...
breathe_in_breathe_out's user avatar
0 votes
1 answer
158 views

Don't open a HTML link if drag-and-dropped to Emacs

I keep my notes in Markdown. Often I would like to collect various links by drag-and-dropping them from the browser. However, Emacs opens them instead. I know that this is probably what most people ...
Marcin Magnus's user avatar
1 vote
0 answers
149 views

How can I drag-and-drop an `org-mode` header onto the Mac desktop?

John Kitchin has a terrific video on modifying the default drag-n-drop behavior, going from the Mac Finder onto an Emacs buffer. I would like to implement the opposite behavior: dragging an org-mode ...
Adam's user avatar
  • 1,887
5 votes
1 answer
2k views

Drag selected text with the mouse

In many editors it is standard to move selected text by dragging and dropping it with the mouse. In emacs dragging selection with the mouse starts a new selection by default. This is extremely ...
Alexander Shcheblikin's user avatar
3 votes
1 answer
129 views

How do I show the filename instead of the file I drag into an Emacs buffer?

I would like to drag and drop an image file into an emacs buffer and make the filename appear instead of the image. Is this possible?
Jason Mirk's user avatar