From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: [patch] enhanced mac drag-n-drop Date: Mon, 11 Apr 2005 18:49:07 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <2dd8774c48ccbc9795d0d4ebe620f1e2@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1113213466 19703 80.91.229.2 (11 Apr 2005 09:57:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 09:57:46 +0000 (UTC) Cc: sorourke@cs.ucsd.edu, jan.h.d@swipnet.se, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 11 11:57:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKveK-0002sR-Am for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2005 11:56:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKvEP-0006Fa-HQ for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2005 05:29:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKv6Z-000548-Ld for emacs-devel@gnu.org; Mon, 11 Apr 2005 05:21:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKv6U-000534-NR for emacs-devel@gnu.org; Mon, 11 Apr 2005 05:21:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKv6T-00052B-Jc for emacs-devel@gnu.org; Mon, 11 Apr 2005 05:21:09 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKvZ8-00041L-4D; Mon, 11 Apr 2005 05:50:46 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 072B41A6395; Mon, 11 Apr 2005 18:49:08 +0900 (JST) Original-To: Stefan Monnier In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35859 >>>>> On Sun, 10 Apr 2005 23:35:55 -0400, Stefan Monnier said: > For what it's worth I've been using Emacs with -DSYNC_INPUT since > before I installed the patch and haven't noticed any negative impact > (except for a few places where a QUIT was missing, but I haven't > bumped into any such thing for a while now). I've also been using Emacs on two SIGALRM systems, Mac OS X and Solaris 8, with -DSYNC_INPUT and a small patch in http://lists.gnu.org/archive/html/emacs-devel/2004-09/msg00094.html. Both of them work without problems. >>>>> On Sun, 10 Apr 2005 11:03:43 +0900, YAMAMOTO Mitsuharu said: > I've just encountered a situation that I'd like to use code > conversion, which may call Feval, inside XTread_socket. That is > related to a callback function for the clipboard, and it should > complete code conversion before it returns. Thus passing events to > Lisp does not work here. There seems to be some similar situations especially about interapplication communication such as clipboard, drag-and-drop, and service menu, on Mac. Callback/handler functions are supposed to set results on return there. Some of them can be avoided by preparing all the possible values that might be passed to other applications in advance, and it seems to be acceptable in the case of the clipboard mentioned above. Because the next release is coming, I'll do so for now, and leave the improved one to the Unicode version. Thanks again for all the responses to my question. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp