all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Darren Hoo <darren.hoo@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: about the undocumented options -psn_*
Date: Wed, 16 Oct 2013 18:40:52 +0200	[thread overview]
Message-ID: <E8D9E38D-3B16-4A46-A25E-8623D35524A3@swipnet.se> (raw)
In-Reply-To: <CAJ+QY_FuPE9gU9+Q0+oc9H_=oPa2xUdT6Mq+fo=+pq4y0akw-A@mail.gmail.com>

Hello.

When started from the GUI (Dock, Finder, open), the launcher adds a -psn_hi_low option where hi and low are numbers (hi usually 0) that form the process serial number.  Not sure what it is used for.  If however you pass any argument to the program, like:

% open -a Emacs --args -Q

no -psn-option is passed.

In Emacs it acts like a "started from GUI"-detector.

	Jan D.

16 okt 2013 kl. 13:40 skrev Darren Hoo <darren.hoo@gmail.com>:

> This is  the related ChangeLog entry:
> 
> 2005-11-23  YAMAMOTO Mitsuharu
> 
> 
>        * emacs.c (main) [MAC_OSX]: Change working directory to home
> 
>        directory if `-psn_*' option is specified.
> 
> 
> what's the meaning and usage of -psn_*?
> 
> I ask this because I want to figure out in which  cases it is
> necessary to change
> working directory to home directory.




  reply	other threads:[~2013-10-16 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16 11:40 about the undocumented options -psn_* Darren Hoo
2013-10-16 16:40 ` Jan Djärv [this message]
2013-10-17  2:56   ` 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=E8D9E38D-3B16-4A46-A25E-8623D35524A3@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=darren.hoo@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.