From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: a little feedback on Cocoa Emacs.app Date: Mon, 4 Aug 2008 09:08:59 -0400 Message-ID: References: <4358E889-E5D2-4E68-83D3-E6AB9C03F7B5@gnu.org><508B5967-EAA1-4DEA-8533-19E4C0CD4ECF@gnu.org> <9F4D1718-BBB2-489C-8124-35189C98775E@gnu.org> <50642.203.180.89.51.1217853759.squirrel@weber.math.s.chiba-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217859164 13335 80.91.229.12 (4 Aug 2008 14:12:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2008 14:12:44 +0000 (UTC) Cc: Ken Raeburn , emacs-devel@gnu.org To: mituharu@math.s.chiba-u.ac.jp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 04 16:13:34 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KQ0oW-0001Ok-2a for ged-emacs-devel@m.gmane.org; Mon, 04 Aug 2008 16:13:32 +0200 Original-Received: from localhost ([127.0.0.1]:35136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ0na-0001Cx-V6 for ged-emacs-devel@m.gmane.org; Mon, 04 Aug 2008 10:12:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ0lZ-0000Ci-BE for emacs-devel@gnu.org; Mon, 04 Aug 2008 10:10:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ0lX-00009e-F8 for emacs-devel@gnu.org; Mon, 04 Aug 2008 10:10:27 -0400 Original-Received: from [199.232.76.173] (port=34013 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ0lX-00009S-Aj for emacs-devel@gnu.org; Mon, 04 Aug 2008 10:10:27 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:39868) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQ0lX-0002mA-1x for emacs-devel@gnu.org; Mon, 04 Aug 2008 10:10:27 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.158]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPzoh-0000LO-2A for emacs-devel@gnu.org; Mon, 04 Aug 2008 09:09:39 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so1000007ywk.66 for ; Mon, 04 Aug 2008 06:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:in-reply-to:subject :x-priority:references:message-id:content-type :content-transfer-encoding:mime-version:date:cc:x-mailer; bh=JLYvvSR9I191tepuKAIotjR4qVHhf+1J9rX6Gycc8gU=; b=v4gYvnv0A044HUKizrLDYFE1fRp8L6xks8PxGubUN/WSmHlECQPPxCoBIBGQG4LAwj dGhAjRWsId51M5XVbQsXttInEQJN8u1rpQyN7WZw9vY2aApy1e0FhE1Mo/BeejfdPSwv DEWVC4P3He3z59PRHrjgubvN8vZ+lYVaEgmUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:in-reply-to:subject:x-priority:references:message-id :content-type:content-transfer-encoding:mime-version:date:cc :x-mailer; b=DSnrDlrbZU2eK/x3nwo4om4lrg/OiBKXSQ6flewqiNGnVQKjCANCH7zLaMFJvaQ/B7 i4zzoEX20BdCSubrKSs9NervTIm2qX4HI2X6AbWwWXyTHev4Pr6we0UkY6UWQdTY+awD 9t6sYpmrueN/GAX7wD6fEzJDHO7AePkUdepSc= Original-Received: by 10.151.113.11 with SMTP id q11mr3110253ybm.48.1217855368838; Mon, 04 Aug 2008 06:09:28 -0700 (PDT) Original-Received: from ?10.0.1.200? ( [97.73.30.9]) by mx.google.com with ESMTPS id i12sm7470327wxd.4.2008.08.04.06.09.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Aug 2008 06:09:26 -0700 (PDT) In-Reply-To: <50642.203.180.89.51.1217853759.squirrel@weber.math.s.chiba-u.ac.jp> X-Priority: 3 (Normal) X-Mailer: Apple Mail (2.926) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:102035 Archived-At: On Aug 4, 2008, at 8:42 AM, mituharu@math.s.chiba-u.ac.jp wrote: >> +- (void)newFrame: (id)sender >> +{ >> + Feval (Fcons (intern ("make-frame"), Qnil)); >> +} >> + > > Strictly speaking, Feval calls inside read_socket_hook are not > allowed by design, although the Cocoa/GNUstep port is using it > extensively... Yes.. I was going to change this to use an alternative method similar to your patch below before committing. And the other Fevals are still slated for removal -- just been a lot of higher-priority items since the previous discussion. > err = AppendMenuItemTextWithCFString (menu, CFSTR ("New Frame"), > 0, kHICommandNew, NULL); > ... > (put 'new 'mac-apple-event-id "new ") ; kHICommandNew > (define-key mac-apple-event-map [hi-command new] 'make-frame)