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: [OS X] new variable for app bundle path Date: Mon, 03 Sep 2007 12:16:55 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <61C33CA6-BE86-48EF-8B7E-E2CE093F8876@mac.com> NNTP-Posting-Host: lo.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 1188789429 27608 80.91.229.12 (3 Sep 2007 03:17:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 03:17:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Seiji Zenitani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 05:17:09 2007 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 1IS2R2-0006JA-Bg for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 05:17:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS2R1-0003A0-89 for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 23:17:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IS2Qx-00039l-Aa for emacs-devel@gnu.org; Sun, 02 Sep 2007 23:17:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IS2Qu-00038v-Vv for emacs-devel@gnu.org; Sun, 02 Sep 2007 23:17:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS2Qu-00038X-MP for emacs-devel@gnu.org; Sun, 02 Sep 2007 23:17:00 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IS2Qu-00065c-BI for emacs-devel@gnu.org; Sun, 02 Sep 2007 23:17:00 -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 787BD2C45; Mon, 3 Sep 2007 12:16:55 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-Detected-Kernel: NetBSD 3.0 (DF) 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:77637 Archived-At: >>>>> On Sun, 2 Sep 2007 22:54:04 -0400, Seiji Zenitani said: > (expand-file-name "../.." invocation-directory) > would be an alternative on Mac window environment. By the way, when > invoked from CLI, invocation-directory returns "/usr/local/bin" or > "/Application/Emacs.app/Contents/MacOS". On the other hand, the new > variable will be more logical: 0 (strictly speaking, it should be > nil) or "/Application/Emacs.app". Why don't you check window-system additionally? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp