[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about the undocumented options -psn_*

From: Jan Djärv
Subject: Re: about the undocumented options -psn_*
Date: Wed, 16 Oct 2013 18:40:52 +0200


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 <address@hidden>:

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]