From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.devel Subject: Re: app termination / ns resources Date: Wed, 11 Mar 2009 07:42:09 -0700 Message-ID: <20090311144208.GA6159@reforged> References: <81BDC0A8-D72A-4CA7-8342-65057E77339D@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" X-Trace: ger.gmane.org 1236782655 8075 80.91.229.12 (11 Mar 2009 14:44:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Mar 2009 14:44:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 11 15:45:29 2009 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 1LhPes-0004MI-QB for ged-emacs-devel@m.gmane.org; Wed, 11 Mar 2009 15:43:47 +0100 Original-Received: from localhost ([127.0.0.1]:57290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhPdW-0006DM-RT for ged-emacs-devel@m.gmane.org; Wed, 11 Mar 2009 10:42:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhPdP-00066E-DH for emacs-devel@gnu.org; Wed, 11 Mar 2009 10:42:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhPdO-00063P-9W for emacs-devel@gnu.org; Wed, 11 Mar 2009 10:42:14 -0400 Original-Received: from [199.232.76.173] (port=56627 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhPdO-000639-33 for emacs-devel@gnu.org; Wed, 11 Mar 2009 10:42:14 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.176]:64300) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhPdN-0004jj-IU for emacs-devel@gnu.org; Wed, 11 Mar 2009 10:42:13 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k17so16843waf.26 for ; Wed, 11 Mar 2009 07:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=r5RVbtdJ6Z+pRV4a3VKdkyAk2z3c1eoTPCnbP65Xkts=; b=LTpGMcRAxwNgJiP7SVuPXZEVvrTaJcLaSXB0QSh2jOiuHKpgmDtGXpm0ulmsqj0Xcx a3YssCZDj6BoCQO9JFGsOoDOR4Yo/pSvGMvRaUu2txi552opDrccE94eWy6z7or07DoS B/VEkfLZQBupi7gQa5hQVTQfc9TfpybTmnnWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=vCLJOKT7KUD2e3GUNR9jFeMgVAJNLWegEruRDqivfiUWiy6UvVvSSNXL1fjWL8u5e/ t4r4XZDohOucOSP7jdJTaueLWOTUh2w6Nfg/G/ATbkkxXfQiAjGqycF4ek+cN08dFUiN EK0fpO8AAA142py7ry7Jde5VGE39zQTH+JGNk= Original-Received: by 10.114.108.8 with SMTP id g8mr5192183wac.103.1236782532218; Wed, 11 Mar 2009 07:42:12 -0700 (PDT) Original-Received: from @ (c66-235-1-45.sea2.cablespeed.com [66.235.1.45]) by mx.google.com with ESMTPS id m30sm6290718wag.47.2009.03.11.07.42.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Mar 2009 07:42:11 -0700 (PDT) Content-Disposition: inline In-Reply-To: <81BDC0A8-D72A-4CA7-8342-65057E77339D@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:109566 Archived-At: --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2009 at 11:59:25AM +0200, Adrian Robert wrote: > [cc'ing emacs-devel] > > >> Also, I have a removed the NS resources and also the ns-expand-lines=20 >> business, which helped with the interrupted pattern in the fringe for so= me=20 >> (but not all) fonts. I will test this a little more and check it in lat= er=20 >> this week. > > One final dying thought about this ;) -- the way it was prefs-panel <-> n= s=20 > defaults <-> platform-specific settings was a neat way of keeping the=20 > NS-specific stuff, be it line spacing or modifier keys, out of .emacs, et= c.=20 > so they would not interfere when moving a .emacs across platforms. > > As some of these were or are being brought up to the core level, this pat= h=20 > can and should go away. However, what WILL be remaining platform-specific= =20 > after the current round are: > > - modifier key settings > - system highlight color switch > - antialiasing switch > - quickdraw smoothing switch > > As these get moved to .emacs, it is important to make sure settings for= =20 > these don't pollute it in a way so as to cause migration problems. I don= 't=20 > know but it would be nice if there were some way to use .emacs and core= =20 > customization but have these settings conditionalized on whether the=20 > variables exist, or whether the windowing system is 'ns. I maintain an emacs across a few different platforms. To do this I use the following peice of code below. (load-user-elisp (cond ((string-equal "gnu/linux" system-type) "linux.el") ((string-equal "darwin" system-type) "darwin.el"))) load-user-elisp is my own function. You would need to convert that to the Emacs distributed function (load) For dealing with the whole range of these kinds of issues I made the follow= ing package: http://www.emacswiki.org/emacs/Grail It would not be a good idea to make the platform specific switch based on a check of the window system, as Emacs can always run in tty mode and the test would be broken. > > Finally, the face color setting system will still need to be changed to u= se=20 > the .emacs path. > > > > --=20 GnuPG Key: B9012279 is available from HKP server pgp.mit.edu --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkm3zcAACgkQdfRchrkBInmV8gCg2JFjaikq6Yqcjx2UInz5jp41 HZkAnRiEEPzlKzNqEGd5TFqNlnK59o64 =NPcE -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--