From: Mike Mattie <codermattie@gmail.com>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: app termination / ns resources
Date: Wed, 11 Mar 2009 07:42:09 -0700 [thread overview]
Message-ID: <20090311144208.GA6159@reforged> (raw)
In-Reply-To: <81BDC0A8-D72A-4CA7-8342-65057E77339D@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]
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
>> business, which helped with the interrupted pattern in the fringe for some
>> (but not all) fonts. I will test this a little more and check it in later
>> this week.
>
> One final dying thought about this ;) -- the way it was prefs-panel <-> ns
> defaults <-> platform-specific settings was a neat way of keeping the
> NS-specific stuff, be it line spacing or modifier keys, out of .emacs, etc.
> 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 path
> can and should go away. However, what WILL be remaining platform-specific
> 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
> these don't pollute it in a way so as to cause migration problems. I don't
> know but it would be nice if there were some way to use .emacs and core
> customization but have these settings conditionalized on whether the
> 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 following
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 use
> the .emacs path.
>
>
>
>
--
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-03-11 14:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <B9752D2D-6866-4533-841A-CCBC9C51F7B9@gmail.com>
2009-03-11 9:59 ` app termination / ns resources Adrian Robert
2009-03-11 12:27 ` David Reitter
2009-03-11 16:51 ` Adrian Robert
2009-03-13 4:55 ` Adrian Robert
2009-03-14 21:39 ` David Reitter
2009-03-11 14:42 ` Mike Mattie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090311144208.GA6159@reforged \
--to=codermattie@gmail.com \
--cc=adrian.b.robert@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.