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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5855 in the body.
You can then email your comments to 5855 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5855
; Package
emacs
.
(Wed, 07 Apr 2010 18:59:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robin Dunn <robin <at> alldunn.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 07 Apr 2010 18:59:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 23.1.95.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-04-03 on black.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure '--host=x86_64-apple-darwin'
'--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin'
'host_alias=x86_64-apple-darwin' 'CC=gcc''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
delete-selection-mode: t
pc-selection-mode: t
diff-auto-refine-mode: t
global-auto-revert-mode: t
cua-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <f6>
<ns-drag-file> M-x r e p o r t - e m a c s - b u g
<return>
Recent messages:
Loading psvn...done
Loading projects...
Loading desktop...done
Loading projects...done
Loading /Users/robind/elisp/my.emacs.el (source)...done
Loading isearch...done
Loading pc-select...done
Toggling font-lock-mode off; better pass an explicit argument.
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Load-path shadows:
/Users/robind/elisp/whitespace hides
/Applications/MyApps/Editors/Emacs.app/Contents/Resources/lisp/whitespace
/Users/robind/elisp/table hides
/Applications/MyApps/Editors/Emacs.app/Contents/Resources/lisp/textmodes/table
/Users/robind/elisp/zone hides
/Applications/MyApps/Editors/Emacs.app/Contents/Resources/lisp/play/zone
Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util
hashcash mail-utils emacsbug delsel pc-select cus-start cus-load desktop
psvn wid-edit log-edit ring pcvs-util add-log diff-mode easy-mmode
vc-svn cl cl-19 whitespace autorevert cua-base speedbar sb-image ezimage
dframe assoc table paren disp-table misc tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)
bug reassigned from package 'emacs' to 'emacs,ns'.
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Sat, 10 Apr 2010 15:57:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5855
; Package
emacs,ns
.
(Wed, 22 Feb 2012 08:09:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 5855 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5855
; Package
emacs,ns
.
(Wed, 22 Feb 2012 11:04:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 5855 <at> debbugs.gnu.org (full text, mbox):
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 <at> 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.
>
>
Merged 5855 10050.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 22 Feb 2012 17:26:01 GMT)
Full text and
rfc822 format available.
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Mar 2012 11:24:04 GMT)
Full text and
rfc822 format available.
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.