From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Glenn Morris <rgm@gnu.org>
Cc: "5855@debbugs.gnu.org" <5855@debbugs.gnu.org>,
Robin Dunn <robin@alldunn.com>
Subject: bug#5855: 23.1.95; OS X file drag-and-drop inserts into current buffer
Date: Wed, 22 Feb 2012 12:01:24 +0100 [thread overview]
Message-ID: <C12C2E35-7D8F-42A0-9BEE-0794C3411455@swipnet.se> (raw)
In-Reply-To: <nozkcbmgw2.fsf@fencepost.gnu.org>
Hello.
I think the default should match other platforms. If nobody objects, I plan to change this in 24.2.
Jan D.
22 feb 2012 kl. 09:06 skrev Glenn Morris <rgm@gnu.org>:
> 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.
>
>
prev parent reply other threads:[~2012-02-22 11:01 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
2012-02-22 11:01 ` Jan Djärv [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C12C2E35-7D8F-42A0-9BEE-0794C3411455@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=5855@debbugs.gnu.org \
--cc=rgm@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).