GNU bug report logs -
#5855
23.1.95; OS X file drag-and-drop inserts into current buffer
Previous Next
Reported by: Robin Dunn <robin <at> alldunn.com>
Date: Wed, 7 Apr 2010 18:59:03 UTC
Severity: normal
Merged with 10050
Found in version 24.0.90
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 5855-done <at> debbugs.gnu.org (full text, mbox):
Hello.
22 feb 2012 kl. 09:06 skrev Glenn Morris:
> 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.
It is now the default as the fix for 10050 has been checked in. So it also fixes this bug, closing.
Jan D.
This bug report was last modified 13 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.