GNU bug report logs - #72003
29.3; Drag and drop in Emacs 29 on macOS

Previous Next

Package: emacs;

Reported by: Giah de Barag <gdb <at> crelg.com>

Date: Tue, 9 Jul 2024 04:32:02 UTC

Severity: normal

Found in version 29.3

To reply to this bug, email your comments to 72003 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Tue, 09 Jul 2024 04:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Giah de Barag <gdb <at> crelg.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 09 Jul 2024 04:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Giah de Barag <gdb <at> crelg.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.3; Drag and drop in Emacs 29 on macOS
Date: Mon, 8 Jul 2024 18:32:02 -0400
* SUMMARY

Drag and drop does not work in Emacs version 29 on macOS.


* DESCRIPTION

- Drag and drop does NOT work on Emacs 29 on macOS. (Drag
  and drop DOES work in Emacs < 28. Upgrading to v29 makes
  drag and drop stop working.)

- If we do M-x describe-key then drag and drop a file on the
  text area of the window, we get
  - nothing -- in Emacs 29
  - a spurious message -- in Emacs 28
  - a normal message -- in Emacs 26


* USE CASE 1

- App: Emacs 29.x
  1. emacs -Q
  2. drag and drop a file from macOS Finder to Emacs

** EXPECTED BEHAVIOR

  3. file should open in Emacs

** ACTUAL BEHAVIOR

  3. NOTHING HAPPENS

  |-------+---------------------|
  | Emacs | Drag-n-Drop         |
  |-------+---------------------|
  |  29.3 | NOTHING HAPPENS     |
  |  28.2 | drag-and-drop works |
  |  26.3 | drag-and-drop works |
  |-------+---------------------|


* USE CASE 2

  1. M-x describe-key
  2. Drag and drop a file from Finder to Emacs

** EXPECTED BEHAVIOR

  3. should receive an informative message like
     “<drag-n-drop> ... runs ... ns-drag-n-drop ...”

** ACTUAL BEHAVIOR

  3. Results below. Regarding v28, even though drag-and-drop
     itself works fine in v28, we get this spurious
     “position not in text area” message. It is spurious
     because we indeed drag and drop the file into the text
     area.

  |-------+---------------------------------------------|
  | Emacs | ACTUAL BEHAVIOR                             |
  |-------+---------------------------------------------|
  |  26.3 | “<drag-n-drop> ... runs ... ns-drag-n-drop” |
  |  28.2 | “Position not in text area of window”       |
  |  29.3 | NOTHING HAPPENS                             |
  |-------+---------------------------------------------|


--
In GNU Emacs 29.3 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60
Version 10.14.6 (Build 18G9323)) of 2024-03-24 built on
builder10-14.lan
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.7.5

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
-DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'

Configured features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
value of $LC_ALL: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
ruler-mode: t
windmove-mode: t
moom-mode: t
display-time-mode: t
electric-pair-mode: t
global-auto-revert-mode: t
delete-selection-mode: t
adaptive-wrap-prefix-mode: t
smart-quotes-mode: t
tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t

Load-path shadows:
/Applications/Emacs.app/Contents/Resources/lisp/progmodes/csharp-mode hides /Volumes/Data/Share/Users/Telfeyan/roland/.emacs.d/lisp/csharp-mode/csharp-mode

Features:
(macros misearch multi-isearch ruler-mode mhtml-mode css-mode smie color
js c-ts-common treesit imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode facemenu ox-odt
rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse
nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda
ox-html table ox-ascii ox-publish ox shortdoc help-fns radix-tree
dired-aux display-line-numbers vc-git diff-mode vc-dispatcher vc-svn
org-element org-persist org-id org-refile avl-tree generator oc-basic
ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus
nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig
gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source eieio
eieio-core json map url-vars gnus-group gnus-undo gnus-start gnus-dbus
dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview
doc-view jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb
ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint
ansi-osc ansi-color ring org-list org-footnote org-faces org-entities
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu
calendar cal-loaddefs org-version org-compat org-macs format-spec
windmove thingatpt shadow sort mail-extr emacsbug message mailcap
yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache
epa derived epg rfc6068 epg-config gnus-util text-property-search
time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils rx kmacro moom moom-font server cus-edit
pp cus-load icons wid-edit wheatgrass-theme sqlite-mode time elec-pair
autorevert filenotify delsel byte-opt aggressive-indent lisp-mnt cl-macs
cl-extra help-mode cl-seq use-package-core bytecomp byte-compile
adaptive-wrap smart-quotes autopair advice cl-loaddefs cl-lib
sync-window easy-mmode gv pcase rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 338938 56281)
(symbols 48 29248 4)
(strings 32 106691 6366)
(string-bytes 1 3439476)
(vectors 16 60208)
(vector-slots 8 1414280 148312)
(floats 8 482 287)
(intervals 56 6438 1265)
(buffers 984 16))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Tue, 09 Jul 2024 06:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Giah de Barag <gdb <at> crelg.com>
Cc: 72003 <at> debbugs.gnu.org
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Tue, 09 Jul 2024 14:29:27 +0800
Giah de Barag <gdb <at> crelg.com> writes:

> * SUMMARY
>
> Drag and drop does not work in Emacs version 29 on macOS.
>
>
> * DESCRIPTION
>
> - Drag and drop does NOT work on Emacs 29 on macOS. (Drag
>   and drop DOES work in Emacs < 28. Upgrading to v29 makes
>   drag and drop stop working.)
>
> - If we do M-x describe-key then drag and drop a file on the
>   text area of the window, we get
>   - nothing -- in Emacs 29

Since I cannot reproduce this in GNUstep on Emacs 30, this has either
been dealt with in the release branch, or is specific to Mac OS.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Thu, 11 Jul 2024 13:09:01 GMT) Full text and rfc822 format available.

Message #11 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Giah de Barag <gdb <at> crelg.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 72003 <at> debbugs.gnu.org
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Thu, 11 Jul 2024 09:08:03 -0400
On Jul 9, 2024, at 02:29, Po Lu <luangruo <at> yahoo.com> wrote:

> Giah de Barag <gdb <at> crelg.com> writes:
> 
>> * SUMMARY
>> 
>> Drag and drop does not work in Emacs version 29 on macOS.
>> 
>> * DESCRIPTION
>> 
>> - Drag and drop does NOT work on Emacs 29 on macOS. (Drag
>>   and drop DOES work in Emacs < 28. Upgrading to v29 makes
>>   drag and drop stop working.)
>> 
>> - If we do M-x describe-key then drag and drop a file on the
>>   text area of the window, we get -- nothing -- in Emacs 29
> 
> Since I cannot reproduce this in GNUstep on Emacs 30, this has either
> been dealt with in the release branch, or is specific to Mac OS

Who maintains the macOS-specific code?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Thu, 11 Jul 2024 14:24:01 GMT) Full text and rfc822 format available.

Message #14 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Giah de Barag <gdb <at> crelg.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Thu, 11 Jul 2024 16:22:31 +0200
>>>>> On Thu, 11 Jul 2024 09:08:03 -0400, Giah de Barag <gdb <at> crelg.com> said:

    Giah> On Jul 9, 2024, at 02:29, Po Lu <luangruo <at> yahoo.com> wrote:
    >> Giah de Barag <gdb <at> crelg.com> writes:
    >> 
    >>> * SUMMARY
    >>> 
    >>> Drag and drop does not work in Emacs version 29 on macOS.
    >>> 
    >>> * DESCRIPTION
    >>> 
    >>> - Drag and drop does NOT work on Emacs 29 on macOS. (Drag
    >>> and drop DOES work in Emacs < 28. Upgrading to v29 makes
    >>> drag and drop stop working.)
    >>> 
    >>> - If we do M-x describe-key then drag and drop a file on the
    >>> text area of the window, we get -- nothing -- in Emacs 29
    >> 
    >> Since I cannot reproduce this in GNUstep on Emacs 30, this has either
    >> been dealt with in the release branch, or is specific to Mac OS

    Giah> Who maintains the macOS-specific code?

Drag and drop works fine for me on macOS with Emacs 29.3 and
master. Is this one of those 'apps need permission to access folders'
security things that pops up every once in a while on macOS?

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Thu, 11 Jul 2024 18:43:01 GMT) Full text and rfc822 format available.

Message #17 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Giah De Barag <gdb <at> crelg.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Thu, 11 Jul 2024 14:42:21 -0400
On Jul 11, 2024, at 10:23, Robert Pluim <rpluim <at> gmail.com> wrote:

>>>>>> On Thu, 11 Jul 2024 09:08:03 -0400, Giah de Barag <gdb <at> crelg.com> said:
> 
>    Giah> On Jul 9, 2024, at 02:29, Po Lu <luangruo <at> yahoo.com> wrote:
>>> Giah de Barag <gdb <at> crelg.com> writes:
>>> 
>>>> * SUMMARY
>>>> 
>>>> Drag and drop does not work in Emacs version 29 on macOS.
>>>> 
>>>> * DESCRIPTION
>>>> 
>>>> - Drag and drop does NOT work on Emacs 29 on macOS. (Drag
>>>> and drop DOES work in Emacs < 28. Upgrading to v29 makes
>>>> drag and drop stop working.)
>>>> 
>>>> - If we do M-x describe-key then drag and drop a file on the
>>>> text area of the window, we get -- nothing -- in Emacs 29
>>> 
>>> Since I cannot reproduce this in GNUstep on Emacs 30, this has either
>>> been dealt with in the release branch, or is specific to Mac OS
> 
>    Giah> Who maintains the macOS-specific code?
> 
> Drag and drop works fine for me on macOS with Emacs 29.3 and
> master. Is this one of those 'apps need permission to access folders'
> security things that pops up every once in a while on macOS?
> 
> Robert
> --

Thank you for that suggestion. However, there is no error message. It just silently does not work. Search for the string "NOTHING HAPPENS" in my bug report. Also note that rolling back to Emacs 28 or going to a more recent macOS makes drag and drop work.

What other reasons could we think of, to explain why Emacs 29 drag and drop does not work in macOS 12, an OS that is only three years old, still supported and updated, and still widely used?

macOS 12 | Emacs 28 | works
macOS 12 | Emacs 29 | does not work
macOS 14 | Emacs 28 | works
macOS 14 | Emacs 29 | works







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Thu, 11 Jul 2024 23:39:01 GMT) Full text and rfc822 format available.

Message #20 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>, Giah de Barag <gdb <at> crelg.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Thu, 11 Jul 2024 16:37:46 -0700
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Thu, 11 Jul 2024 09:08:03 -0400, Giah de Barag <gdb <at> crelg.com> said:
>
>     Giah> On Jul 9, 2024, at 02:29, Po Lu <luangruo <at> yahoo.com> wrote:
>     >> Giah de Barag <gdb <at> crelg.com> writes:
>     >>
>     >>> * SUMMARY
>     >>>
>     >>> Drag and drop does not work in Emacs version 29 on macOS.
>     >>>
>     >>> * DESCRIPTION
>     >>>
>     >>> - Drag and drop does NOT work on Emacs 29 on macOS. (Drag
>     >>> and drop DOES work in Emacs < 28. Upgrading to v29 makes
>     >>> drag and drop stop working.)
>     >>>
>     >>> - If we do M-x describe-key then drag and drop a file on the
>     >>> text area of the window, we get -- nothing -- in Emacs 29
>     >>
>     >> Since I cannot reproduce this in GNUstep on Emacs 30, this has either
>     >> been dealt with in the release branch, or is specific to Mac OS
>
>     Giah> Who maintains the macOS-specific code?
>
> Drag and drop works fine for me on macOS with Emacs 29.3 and
> master. Is this one of those 'apps need permission to access folders'
> security things that pops up every once in a while on macOS?

The above recipe works for me too (the file opens) on macOS 14.5 in
emacs -Q, tested on master and Emacs 29.4.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Fri, 12 Jul 2024 08:37:02 GMT) Full text and rfc822 format available.

Message #23 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Giah De Barag <gdb <at> crelg.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Alan Third <alan <at> idiocy.org>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 12 Jul 2024 10:35:04 +0200
>>>>> On Thu, 11 Jul 2024 14:42:21 -0400, Giah De Barag <gdb <at> crelg.com> said:

    Giah> Thank you for that suggestion. However, there is no error message. It
    Giah> just silently does not work. Search for the string "NOTHING HAPPENS"
    Giah> in my bug report. Also note that rolling back to Emacs 28 or going to
    Giah> a more recent macOS makes drag and drop work.

Ah, so this is Appleʼs fault 😉

    Giah> What other reasons could we think of, to explain why Emacs 29 drag and
    Giah> drop does not work in macOS 12, an OS that is only three years old,
    Giah> still supported and updated, and still widely used?

"Why does Apple change APIs so that they break drag and drop" is
another way of asking that question.

    Giah> macOS 12 | Emacs 28 | works
    Giah> macOS 12 | Emacs 29 | does not work
    Giah> macOS 14 | Emacs 28 | works
    Giah> macOS 14 | Emacs 29 | works

I donʼt have a macOS 12 machine, so I canʼt test. Alan, would you have
any ideas?

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Fri, 12 Jul 2024 09:16:01 GMT) Full text and rfc822 format available.

Message #26 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Giah De Barag <gdb <at> crelg.com>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 12 Jul 2024 10:14:21 +0100
On Fri, Jul 12, 2024 at 10:35:04AM +0200, Robert Pluim wrote:
> >>>>> On Thu, 11 Jul 2024 14:42:21 -0400, Giah De Barag <gdb <at> crelg.com> said:
> 
>     Giah> Thank you for that suggestion. However, there is no error message. It
>     Giah> just silently does not work. Search for the string "NOTHING HAPPENS"
>     Giah> in my bug report. Also note that rolling back to Emacs 28 or going to
>     Giah> a more recent macOS makes drag and drop work.
> 
> Ah, so this is Appleʼs fault 😉

As always. ;)

>     Giah> macOS 12 | Emacs 28 | works
>     Giah> macOS 12 | Emacs 29 | does not work
>     Giah> macOS 14 | Emacs 28 | works
>     Giah> macOS 14 | Emacs 29 | works
> 
> I donʼt have a macOS 12 machine, so I canʼt test. Alan, would you have
> any ideas?

My Mac is still running 10.14 or something equally ancient, so I doubt
I'll be much help in diagnosing this, but it smells a little to me of
an incorrect #if statement somewhere.

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Fri, 12 Jul 2024 12:31:02 GMT) Full text and rfc822 format available.

Message #29 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Giah De Barag <gdb <at> crelg.com>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 12 Jul 2024 14:29:32 +0200
>>>>> On Fri, 12 Jul 2024 10:14:21 +0100, Alan Third <alan <at> idiocy.org> said:

    >> 
    >> I donʼt have a macOS 12 machine, so I canʼt test. Alan, would you have
    >> any ideas?

    Alan> My Mac is still running 10.14 or something equally ancient, so I doubt
    Alan> I'll be much help in diagnosing this, but it smells a little to me of
    Alan> an incorrect #if statement somewhere.

You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like that
influences how Emacs interacts with the PasteBoard.

Giah, did you build your emacsen yourself? Or are these from homebrew
or similar?

Thanks

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Sat, 13 Jul 2024 00:40:01 GMT) Full text and rfc822 format available.

Message #32 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Giah de Barag <gdb <at> crelg.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Alan Third <alan <at> idiocy.org>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 12 Jul 2024 20:38:54 -0400
On Jul 12, 2024, at 08:29, Robert Pluim <rpluim <at> gmail.com> wrote:

> You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like
> that influences how Emacs interacts with the PasteBoard.
> 
> Giah, did you build your emacsen yourself? Or are these from
> homebrew or similar?
> 
> Thanks
> 
> Robert

Yes, these are from homebrew. Thanks.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Sat, 13 Jul 2024 00:47:02 GMT) Full text and rfc822 format available.

Message #35 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Giah de Barag <gdb <at> crelg.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Alan Third <alan <at> idiocy.org>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 12 Jul 2024 20:46:11 -0400
On Jul 12, 2024, at 20:38, Giah de Barag <gdb <at> crelg.com> wrote:

> On Jul 12, 2024, at 08:29, Robert Pluim <rpluim <at> gmail.com> wrote:
> 
>> You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like
>> that influences how Emacs interacts with the PasteBoard.
>> 
>> Giah, did you build your emacsen yourself? Or are these from
>> homebrew or similar?
>> 
>> Thanks
>> 
>> Robert
> 
> Yes, these are from homebrew. Thanks.

Sorry, I spoke too soon. These are all from emacsformacosx.com.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Sat, 13 Jul 2024 10:51:02 GMT) Full text and rfc822 format available.

Message #38 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Giah de Barag <gdb <at> crelg.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Sat, 13 Jul 2024 11:50:04 +0100
On Fri, Jul 12, 2024 at 08:46:11PM -0400, Giah de Barag wrote:
> On Jul 12, 2024, at 20:38, Giah de Barag <gdb <at> crelg.com> wrote:
> 
> > On Jul 12, 2024, at 08:29, Robert Pluim <rpluim <at> gmail.com> wrote:
> > 
> >> You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like
> >> that influences how Emacs interacts with the PasteBoard.
> >> 
> >> Giah, did you build your emacsen yourself? Or are these from
> >> homebrew or similar?
> >> 
> >> Thanks
> >> 
> >> Robert
> > 
> > Yes, these are from homebrew. Thanks.
> 
> Sorry, I spoke too soon. These are all from emacsformacosx.com.

I'm not quite up to date on the status of the various macOS builds,
but it might be worth trying Jim's build:

    https://github.com/jimeh/emacs-builds

or try building it yourself.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Sat, 13 Jul 2024 19:50:02 GMT) Full text and rfc822 format available.

Message #41 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Giah de Barag <gdb <at> crelg.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Sat, 13 Jul 2024 15:49:48 -0400
On Jul 13, 2024, at 06:50, Alan Third <alan <at> idiocy.org> wrote:

> On Fri, Jul 12, 2024 at 08:46:11PM -0400, Giah de Barag wrote:
>> On Jul 12, 2024, at 20:38, Giah de Barag <gdb <at> crelg.com> wrote:
>> 
>>> On Jul 12, 2024, at 08:29, Robert Pluim <rpluim <at> gmail.com> wrote:
>>> 
>>>> You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like
>>>> that influences how Emacs interacts with the PasteBoard.
>>>> 
>>>> Giah, did you build your emacsen yourself? Or are these from
>>>> homebrew or similar?
>>>> 
>>>> Thanks
>>>> 
>>>> Robert
>>> 
>>> Yes, these are from homebrew. Thanks.
>> 
>> Sorry, I spoke too soon. These are all from emacsformacosx.com.
> 
> I'm not quite up to date on the status of the various macOS builds,
> but it might be worth trying Jim's build:
> 
>    https://github.com/jimeh/emacs-builds
> 
> or try building it yourself.
> -- 
> Alan Third

In Jim’s build, yes, drag and drop works, but it still does this:

1. C-h k (describe-key)

2. Drag and drop something into the text
   area of the window.

3. Emacs incorrectly complains:
   "Position not in text area of window"

And PDF viewing is broken on Jim’s build (DocView complains “the pdf process exited abnormally”).






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72003; Package emacs. (Fri, 26 Jul 2024 19:45:02 GMT) Full text and rfc822 format available.

Message #44 received at 72003 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Giah de Barag <gdb <at> crelg.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 72003 <at> debbugs.gnu.org,
 Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#72003: 29.3; Drag and drop in Emacs 29 on macOS
Date: Fri, 26 Jul 2024 20:44:26 +0100
On Sat, Jul 13, 2024 at 03:49:48PM -0400, Giah de Barag wrote:
> On Jul 13, 2024, at 06:50, Alan Third <alan <at> idiocy.org> wrote:
> 
> > On Fri, Jul 12, 2024 at 08:46:11PM -0400, Giah de Barag wrote:
> >> On Jul 12, 2024, at 20:38, Giah de Barag <gdb <at> crelg.com> wrote:
> >> 
> >>> On Jul 12, 2024, at 08:29, Robert Pluim <rpluim <at> gmail.com> wrote:
> >>> 
> >>>> You mean the MAC_OS_X_VERSION_MIN_REQUIRED? It looks like
> >>>> that influences how Emacs interacts with the PasteBoard.
> >>>> 
> >>>> Giah, did you build your emacsen yourself? Or are these from
> >>>> homebrew or similar?
> >>>> 
> >>>> Thanks
> >>>> 
> >>>> Robert
> >>> 
> >>> Yes, these are from homebrew. Thanks.
> >> 
> >> Sorry, I spoke too soon. These are all from emacsformacosx.com.
> > 
> > I'm not quite up to date on the status of the various macOS builds,
> > but it might be worth trying Jim's build:
> > 
> >    https://github.com/jimeh/emacs-builds
> > 
> > or try building it yourself.
> 
> In Jim’s build, yes, drag and drop works, but it still does this:

Hmm, that makes me think that the issue is something to do with
David's build scripts for emacsformacosx.com. You could try reporting
it to him if you want. I think the bug reporting info is on the
website.

> 1. C-h k (describe-key)
> 
> 2. Drag and drop something into the text
>    area of the window.
> 
> 3. Emacs incorrectly complains:
>    "Position not in text area of window"

I'm not sure but you may have to drop into the minibuffer while using
describe-key.

> And PDF viewing is broken on Jim’s build (DocView complains “the pdf
> process exited abnormally”).

I'm not sure what's needed there. You could again try reporting it to
Jim directly.

The alternative is trying to build it yourself, which is actually
relatively easy if you're already using homebrew or macports.

Sorry for the long delay in replying.
-- 
Alan Third




This bug report was last modified 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.