all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Seiji Zenitani <zenitani@mac.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: [OS X] new variable for app bundle path
Date: Mon, 3 Sep 2007 16:32:04 -0400	[thread overview]
Message-ID: <F34BE5E5-EC1D-47E1-8B1A-738C7ACC14FE@mac.com> (raw)
In-Reply-To: <wlps10mlen.wl%mituharu@math.s.chiba-u.ac.jp>

On 2007/09/03, at 0:18, YAMAMOTO Mitsuharu wrote:

>> The mac-app-path should be available even when emacs is invoked
>> from the CLI (/Application/Emacs.app/Contents/MacOS/Emacs -nw)
>> inside the app bundle folder.  On the other hand, it should not be
>> available when invoked from /usr/local/bin/emacs.
>
> Actually, I thought of this case when I replied first.  My idea was
> not just a single expand-file-name call but with checking whether
> invocation-directory ends with "/Contents/MacOS/".  That's why I used
> the term "deduce".

Checking "(*.app)/Contents/MacOS" will work in many cases,
but it is also true that I don't want to rely on such string operations.

Seiji Zenitani
zenitani@mac.com

  reply	other threads:[~2007-09-03 20:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02  1:37 [OS X] new variable for app bundle path Seiji Zenitani
2007-09-02  2:11 ` YAMAMOTO Mitsuharu
2007-09-03  2:54   ` Seiji Zenitani
2007-09-03  3:16     ` YAMAMOTO Mitsuharu
2007-09-03  3:59       ` Seiji Zenitani
2007-09-03  4:18         ` YAMAMOTO Mitsuharu
2007-09-03 20:32           ` Seiji Zenitani [this message]
2007-09-04  0:15             ` YAMAMOTO Mitsuharu

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=F34BE5E5-EC1D-47E1-8B1A-738C7ACC14FE@mac.com \
    --to=zenitani@mac.com \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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.