From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: a review of the merge (Re: Emacs.app merged) Date: Wed, 16 Jul 2008 14:23:47 -0700 Message-ID: <200807162123.m6GLNmIw021022@sallyv1.ics.uci.edu> References: <1C66F1FC-BF82-4365-944D-ADCC4D1F435C@gmail.com> <200807160925.m6G9PuVj012462@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216243611 23069 80.91.229.12 (16 Jul 2008 21:26:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 21:26:51 +0000 (UTC) Cc: Adrian Robert , emacs- devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 16 23:27:38 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 1KJEX7-0002cL-J5 for ged-emacs-devel@m.gmane.org; Wed, 16 Jul 2008 23:27:33 +0200 Original-Received: from localhost ([127.0.0.1]:60948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJEWE-00016C-QO for ged-emacs-devel@m.gmane.org; Wed, 16 Jul 2008 17:26:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJEWA-000165-SC for emacs-devel@gnu.org; Wed, 16 Jul 2008 17:26:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJEW9-00015m-CF for emacs-devel@gnu.org; Wed, 16 Jul 2008 17:26:33 -0400 Original-Received: from [199.232.76.173] (port=53065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJEW9-00015j-6w for emacs-devel@gnu.org; Wed, 16 Jul 2008 17:26:33 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:45294) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KJEW8-0007Ag-Sh for emacs-devel@gnu.org; Wed, 16 Jul 2008 17:26:33 -0400 X-ICS-MailScanner-Watermark: 1216848228.77417@ZMUuDYrRnTKauhQuSTgmoA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m6GLNmIw021022; Wed, 16 Jul 2008 14:23:48 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 16 Jul 2008 12:21:17 -0400") Original-Lines: 25 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_UJ 0.08) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:100843 Archived-At: Stefan Monnier writes: > > +(defconst command-line-ns-option-alist > > + '(("-NSAutoLaunch" 1 ns-ignore-1-arg) > > + ("-NXAutoLaunch" 1 ns-ignore-1-arg) > > [snip] > > > Can this be put somewhere else? It would be better if all other platforms > > do not have to load this definition. > > How do other platforms do it? I think they define x-handle-* functions in term/*-win.el Not sure why Emacs.app chose not to define x-handle-* functions, but call them ns-handle-* We probably need some common file for these functions (and the humongous x-colors list) to avoid all the duplication that is happening now. > Shoujld we have a lisp/ns-fns.el where we can put those things? Not sure if anything is needed, maybe just appending to command-line-x-option-alist would work.