Comment
Comment by hollerith
Emacs will respond to a file's being dropped onto its dock icon (and the response can be whatever Lisp code you want) but of course there has to be an Emacs icon in the Dock, which means the Emacs cannot be running "inside" a terminal.