On Tue, 05 Apr 2005 17:53:00 -0700, "Sean O'Rourke" <[EMAIL PROTECTED]> 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.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to