From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15607: default-directory set to / when launch from Mac OS Dock Date: Sun, 20 Oct 2013 18:48:20 +0200 Message-ID: <18A06AAB-1E53-4D91-9E8A-8E5E917828CB@swipnet.se> References: <9DBA9785-D2FB-4051-9460-AF5E3406F699@swipnet.se> <9ua9ibyzbb.fsf@fencepost.gnu.org> 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 1382287757 2742 80.91.229.3 (20 Oct 2013 16:49:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 16:49:17 +0000 (UTC) Cc: 15607-done@debbugs.gnu.org To: Darren Hoo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 18:49:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VXwBp-0004rp-SE for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 18:49:17 +0200 Original-Received: from localhost ([::1]:36918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXwBp-0000XK-IZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 12:49:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXwBh-0000XB-H5 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 12:49:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXwBc-00049y-Ck for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 12:49:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXwBc-00049t-8u for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 12:49:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VXwBb-0006YV-UW for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 12:49:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2013 16:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15607-done@debbugs.gnu.org id=D15607.138228770925140 (code D ref 15607); Sun, 20 Oct 2013 16:49:03 +0000 Original-Received: (at 15607-done) by debbugs.gnu.org; 20 Oct 2013 16:48:29 +0000 Original-Received: from localhost ([127.0.0.1]:59322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXwB2-0006XK-Ha for submit@debbugs.gnu.org; Sun, 20 Oct 2013 12:48:29 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:43174) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VXwAx-0006X1-BV for 15607-done@debbugs.gnu.org; Sun, 20 Oct 2013 12:48:24 -0400 Original-Received: (qmail 31210 invoked by uid 89); 20 Oct 2013 16:48:20 -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; 20 Oct 2013 16:48:20 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B96551A0193; Sun, 20 Oct 2013 16:48:20 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1510) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79424 Archived-At: Hello. 17 okt 2013 kl. 05:57 skrev Darren Hoo : > sorry to have missed filling the details while filing the report. >=20 > As YAMAMOTO Mitsuharu describes in > http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00498.html >=20 > I can confirm that the -psn_* option is no longer passed as args when > launched from GUI under OSX 10.9. >=20 Ok, I tried a different GUI-detection in the trunk. Jan D. > On Tue, Oct 15, 2013 at 1:06 PM, Jan Dj=E4rv = wrote: >> Hello. >>=20 >> I've checked 24.3 and 10.7/10.8: >>=20 >> open Emacs.app --args -Q =3D> / >> open Emacs.app =3D> $HOME >> =46rom Dock =3D> $HOME >>=20 >> So dock starting at / must be a local thing. Check your .emacs and = environment set by launchd. >>=20 >> The -Q behaviour may very well be NS-specific, but it isn't new. >> I see no bug here, closing. >>=20 >> Jan D. >>=20 >> 15 okt 2013 kl. 05:42 skrev Glenn Morris : >>=20 >>> Jan Dj=E4rv wrote: >>>=20 >>>>> It used to be the $HOME directory. >>>>>=20 >>>>> Is it changed intentionally recently? >>>>=20 >>>> If I don't give -Q, it prompts with $HOME. Must be a general change >>>> w.r.t. -Q. >>>=20 >>> I haven't noticed such a change (it would be a weird thing to do = IMO), >>> I'd check what eg emacs 24.3 or an xterm does when opened from the = Dock. >>> (Maybe you have something in .emacs that changes PWD?) >>>=20 >>>>> I wonder how it works in other desktop environments. >>>=20 >>> AFAIK, It uses whatever working directory the launcher sets up, >>> which I guess is HOME in 99+% of cases. >>=20