From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.bugs Subject: bug#15607: default-directory set to / when launch from Mac OS Dock Date: Thu, 17 Oct 2013 11:57:21 +0800 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381982295 12267 80.91.229.3 (17 Oct 2013 03:58:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 03:58:15 +0000 (UTC) Cc: 15607-done@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 17 05:58:19 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 1VWej0-0001oI-Fx for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2013 05:58:14 +0200 Original-Received: from localhost ([::1]:50203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWej0-0007K8-7S for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2013 23:58:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWeit-0007Jl-Kr for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 23:58:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWeip-0000lv-BJ for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 23:58:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWeip-0000lp-79 for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 23:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VWeip-0007VK-1y for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 23:58:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Darren Hoo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Oct 2013 03:58:02 +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.138198225328792 (code D ref 15607); Thu, 17 Oct 2013 03:58:02 +0000 Original-Received: (at 15607-done) by debbugs.gnu.org; 17 Oct 2013 03:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:54874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWeiK-0007UJ-Rm for submit@debbugs.gnu.org; Wed, 16 Oct 2013 23:57:33 -0400 Original-Received: from mail-we0-f179.google.com ([74.125.82.179]:34709) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWeiF-0007Tw-Dv for 15607-done@debbugs.gnu.org; Wed, 16 Oct 2013 23:57:31 -0400 Original-Received: by mail-we0-f179.google.com with SMTP id w61so1699235wes.10 for <15607-done@debbugs.gnu.org>; Wed, 16 Oct 2013 20:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=2zCL/7mPg1CYAtZJ9gNyFxfrmpB6BCRRBO66k/7tTbQ=; b=0CSVubFSQyamJgq1yuyg5WscwN/FfDn+3cSklPNCDFZnDKw7d/tlmGbCrFzCsdfpei rp/85KV38ZBe+7LE+ynJGW6xF0hZt3xz3xx1R5twOf1NPR+yaRU58VwdgNmssSsU3Fxj xXDa/7IQU+cPIKuDzN+WZSbtIS+L8ixy5/NqIXJjRL7HghIzhZHqWOgu0oulNJk4+FP7 1pT+R7y8Pd9KSkyzqiN1AjwCLvzLD3QMLQLEkFImqQNUeYo2cGG0UviUa9AGyWq5kDBC qUIiwfl5F3w5+Mrg/rIU8J71DJ5TUJdwaKWQIvPjMVNPxxAwyvH6fWQmgOvl5Fxg81Jz 7BrA== X-Received: by 10.181.11.163 with SMTP id ej3mr4861560wid.47.1381982241165; Wed, 16 Oct 2013 20:57:21 -0700 (PDT) Original-Received: by 10.194.6.162 with HTTP; Wed, 16 Oct 2013 20:57:21 -0700 (PDT) In-Reply-To: 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:79331 Archived-At: sorry to have missed filling the details while filing the report. As YAMAMOTO Mitsuharu describes in http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00498.html I can confirm that the -psn_* option is no longer passed as args when launched from GUI under OSX 10.9. On Tue, Oct 15, 2013 at 1:06 PM, Jan Dj=E4rv wrote: > Hello. > > I've checked 24.3 and 10.7/10.8: > > open Emacs.app --args -Q =3D> / > open Emacs.app =3D> $HOME > From Dock =3D> $HOME > > So dock starting at / must be a local thing. Check your .emacs and envir= onment 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: >> >>>> It used to be the $HOME directory. >>>> >>>> Is it changed intentionally recently? >>> >>> If I don't give -Q, it prompts with $HOME. Must be a general change >>> w.r.t. -Q. >> >> 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?) >> >>>> I wonder how it works in other desktop environments. >> >> AFAIK, It uses whatever working directory the launcher sets up, >> which I guess is HOME in 99+% of cases. >