I've just compiled and installed emacs 23.1 on my mac. It's running Leopard 10.5.8. And I've noticed that dragging and dropping does not work correctly (as it used to work with emacs 22). Now when dragging a file to the emacs icon on the dock, Emacs will start with two windows (frames in its terminology), one showing the startup screen and the other with the contents of the file. I've tried to get rid of this behaviour and I've set 'inhibit-startup-screen' option to t. But that only helped with this problem.
The other problem that I have is that when dragging a file onto a running emacs window, it justs shows the contents of the file in the existing buffer, instead of opening a new buffer (named the same as the file). Any help with that?
I've compiled emacs myself using guidlines from this page: link text
Also I've noticed that this version of Emacs has been rather flaky - it crashed a few times. I do not remember such situations when using previous versions. Any help will be highly appreciated.
If drag and drop still not working on Mac, try to reset Trackpad dragging options in Accessibility. Open Apple Menu and Select System Preferences. This time select Accessibility and click on Pointer Control. If you are on an older version of macOS, click Mouse & Trackpad.
A Mac's drag and drop function not working can be due to incorrect settings or an out-of-date operating system, software, or firmware. Mouse and trackpad preferences can also often confuse as there are several options users can select to customize how an item is selected and moved via Mac's mouse cursor.
If you can't move or copy a file or folder, you might need to change its permissions settings. You might also need to change permissions settings for the disk, server, or folder where you want to move the item. On your Mac, select the item, then choose File > Get Info, or press Command-I.
Just to have the information regarding this problem more complete - there's a whole page in emacs info dedicated to Mac OS X builds. Here's the link to web version: emacs info about ns events
Also I've found that when using Emacs 23 as an external editor for XCode, each file gets opened in a different frame (window). To fix this, just add:
(setq ns-pop-up-frames nil)
to your .emacs file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With