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: Tue, 15 Oct 2013 07:06:22 +0200 Message-ID: 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 1381814172 21492 80.91.229.3 (15 Oct 2013 05:16:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2013 05:16:12 +0000 (UTC) Cc: 15607-done@debbugs.gnu.org, Darren Hoo To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 15 07:16:15 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 1VVwzO-00023S-L3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 07:16:14 +0200 Original-Received: from localhost ([::1]:39803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVwzN-0005JK-Sr for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 01:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVwzE-0005DM-Vs for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 01:16:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVwqX-0000Yd-7V for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 01:08:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVwqX-0000YZ-2E for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 01:07:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VVwqV-0007AF-Gh for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 01:07:03 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2013 05:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 15607@debbugs.gnu.org, jan.h.d@swipnet.se, darren.hoo@gmail.com Original-Received: via spool by 15607-done@debbugs.gnu.org id=D15607.138181358327475 (code D ref 15607); Tue, 15 Oct 2013 05:07:02 +0000 Original-Received: (at 15607-done) by debbugs.gnu.org; 15 Oct 2013 05:06:23 +0000 Original-Received: from localhost ([127.0.0.1]:49746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVwpp-000793-If for submit@debbugs.gnu.org; Tue, 15 Oct 2013 01:06:22 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:60064) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VVwpl-00078q-Pz for 15607-done@debbugs.gnu.org; Tue, 15 Oct 2013 01:06:18 -0400 Original-Received: (qmail 17830 invoked by uid 89); 15 Oct 2013 05:06:15 -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; 15 Oct 2013 05:06:15 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8F5391A00B4; Tue, 15 Oct 2013 05:06:15 +0000 (UTC) In-Reply-To: <9ua9ibyzbb.fsf@fencepost.gnu.org> 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:79260 Archived-At: Hello. I've checked 24.3 and 10.7/10.8: open Emacs.app --args -Q =3D> / open Emacs.app =3D> $HOME =46rom Dock =3D> $HOME So dock starting at / must be a local thing. Check your .emacs and = environment set by launchd. The -Q behaviour may very well be NS-specific, but it isn't new. I see no bug here, closing. Jan D. 15 okt 2013 kl. 05:42 skrev Glenn Morris : > 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.