all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Robin Dunn <robin@alldunn.com>
Cc: 5855@debbugs.gnu.org
Subject: bug#5855: 23.1.95; OS X file drag-and-drop inserts into current buffer
Date: Wed, 22 Feb 2012 03:06:21 -0500	[thread overview]
Message-ID: <nozkcbmgw2.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <4BBCD30D.3030803@alldunn.com> (Robin Dunn's message of "Wed, 07 Apr 2010 11:46:37 -0700")

Robin Dunn wrote:

> When dragging a text file from Finder and dropping in an Emacs window
> the contents of the file are inserted into the current buffer near the
> drop point instead of making a new buffer for the file.

Sorry for the very slow reply. I happened to just now read in the Mac OS
section of the Emacs manual:

  The default behavior when a user drags files from another application
  into an Emacs frame is to insert the contents of all the dragged files
  into the current buffer.  To remap the `ns-drag-file' event to open the
  dragged files in the current frame use the following line:

     (define-key global-map [ns-drag-file] 'ns-find-file)

I don't know if it works, or if it should be the default.





  reply	other threads:[~2012-02-22  8:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 18:46 bug#5855: 23.1.95; OS X file drag-and-drop inserts into current buffer Robin Dunn
2012-02-22  8:06 ` Glenn Morris [this message]
2012-02-22 11:01   ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nozkcbmgw2.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=5855@debbugs.gnu.org \
    --cc=robin@alldunn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.