From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: about the undocumented options -psn_* Date: Wed, 16 Oct 2013 18:40:52 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381941673 20020 80.91.229.3 (16 Oct 2013 16:41:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Oct 2013 16:41:13 +0000 (UTC) Cc: emacs-devel To: Darren Hoo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 18:41:16 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VWU9r-0001c4-OY for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2013 18:41:15 +0200 Original-Received: from localhost ([::1]:48375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWU9r-0008SW-Cc for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2013 12:41:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWU9h-0008RX-Ni for emacs-devel@gnu.org; Wed, 16 Oct 2013 12:41:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWU9a-0000RD-AF for emacs-devel@gnu.org; Wed, 16 Oct 2013 12:41:05 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:44516) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VWU9Z-0000Py-UV for emacs-devel@gnu.org; Wed, 16 Oct 2013 12:40:58 -0400 Original-Received: (qmail 8003 invoked by uid 89); 16 Oct 2013 16:40:52 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 16 Oct 2013 16:40:52 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 9E42F1A0135; Wed, 16 Oct 2013 16:40:52 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1510) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 176.10.222.34 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164236 Archived-At: 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 : > This is the related ChangeLog entry: >=20 > 2005-11-23 YAMAMOTO Mitsuharu >=20 >=20 > * emacs.c (main) [MAC_OSX]: Change working directory to home >=20 > directory if `-psn_*' option is specified. >=20 >=20 > what's the meaning and usage of -psn_*? >=20 > I ask this because I want to figure out in which cases it is > necessary to change > working directory to home directory.