From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <4BBCD30D.3030803@alldunn.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329898021 19198 80.91.229.3 (22 Feb 2012 08:07:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 08:07:01 +0000 (UTC) Cc: 5855@debbugs.gnu.org To: Robin Dunn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 09:06:59 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S07Dz-0008VX-CP for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 09:06:55 +0100 Original-Received: from localhost ([::1]:39832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07Dy-0000Y0-N1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 03:06:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07Dr-0000Wp-2v for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 03:06:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S07Dl-0006zv-2H for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 03:06:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07Dk-0006zr-UU for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 03:06:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S07G1-0002ua-OI for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 03:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2012 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5855 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 5855-submit@debbugs.gnu.org id=B5855.132989812711172 (code B ref 5855); Wed, 22 Feb 2012 08:09:01 +0000 Original-Received: (at 5855) by debbugs.gnu.org; 22 Feb 2012 08:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:49917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S07Fm-0002u9-O8 for submit@debbugs.gnu.org; Wed, 22 Feb 2012 03:08:47 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:32962 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S07Fk-0002u2-4w for 5855@debbugs.gnu.org; Wed, 22 Feb 2012 03:08:45 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S07DR-0002O4-Fe; Wed, 22 Feb 2012 03:06:21 -0500 X-Spook: SAPO enigma David John Oates AK-47 offensive information X-Ran: !xV:z_Y02vFie,)v*,[z7Vc(Ja6A/+sAq^r'4zDm"^z3MB@?1`W.Db,V!D6't&.GCAodX{ X-Hue: green X-Attribution: GM In-Reply-To: <4BBCD30D.3030803@alldunn.com> (Robin Dunn's message of "Wed, 07 Apr 2010 11:46:37 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57089 Archived-At: 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.