emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] enhanced mac drag-n-drop


From: Jan D.
Subject: Re: [patch] enhanced mac drag-n-drop
Date: Sat, 9 Apr 2005 15:46:10 +0200

On Tue, 05 Apr 2005 17:53:00 -0700, "Sean O'Rourke" <address@hidden> said:

-           /* x-dnd functions expect undecoded filenames.  */
-            drag_and_drop_file_list =
-             Fcons (make_unibyte_string (unix_path_name,
+              /* x-dnd functions expect undecoded filenames, but we
+                 don't have to follow that. */
+              drag_and_drop_list =
+                Fcons (Fcons
+                       (intern ("file"),
+                        Fdecode_coding_string
+                        (make_unibyte_string (unix_path_name,

I have a general question in relation to this part.  Is it safe
to (possibly indirectly) call Feval, which may cause GC, while
executing XTread_socket?

It is not safe if the Mac OSX port runs XTread_socket in a signal handler. That is one more argument for just creating simple events in C and pass them on to Lisp.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]