From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#15607: default-directory set to / when launch from Mac OS Dock Date: Mon, 14 Oct 2013 23:42:48 -0400 Message-ID: <9ua9ibyzbb.fsf@fencepost.gnu.org> References: <9DBA9785-D2FB-4051-9460-AF5E3406F699@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381808584 5450 80.91.229.3 (15 Oct 2013 03:43:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2013 03:43:04 +0000 (UTC) Cc: 15607@debbugs.gnu.org, Darren Hoo To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 15 05:43:07 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 1VVvXH-0005zc-09 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 05:43:07 +0200 Original-Received: from localhost ([::1]:39580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVvXG-0003ZZ-Ki for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2013 23:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVvXD-0003ZH-3N for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 23:43:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVvXC-00032T-Bi for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 23:43:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVvXC-00032P-8T for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 23:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VVvXC-00054k-2u for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 23:43:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2013 03:43:01 +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-submit@debbugs.gnu.org id=B15607.138180857119491 (code B ref 15607); Tue, 15 Oct 2013 03:43:01 +0000 Original-Received: (at 15607) by debbugs.gnu.org; 15 Oct 2013 03:42:51 +0000 Original-Received: from localhost ([127.0.0.1]:49675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVvX0-00054J-TQ for submit@debbugs.gnu.org; Mon, 14 Oct 2013 23:42:51 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:55890 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVvWz-00054B-Mg for 15607@debbugs.gnu.org; Mon, 14 Oct 2013 23:42:49 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VVvWy-0004Ub-OU; Mon, 14 Oct 2013 23:42:48 -0400 X-Spook: South Africa Armani Centro bemd IMF Mahmoud Ahmadinejad X-Ran: e1DNoiu,MA&h\NZ+]kC'2<=7nNeK\+rXPQ_'HyiPiM6rr+36(W@X~OdB~}h)oBve@eyJqd X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:79258 Archived-At: Jan Dj=C3=A4rv wrote: >> It used to be the $HOME directory. >>=20 >> 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.