From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.help,gmane.emacs.bugs Subject: 27.0.91; default-directory launched via Dock MacOS Date: Tue, 28 Apr 2020 17:24:50 +0900 (JST) Message-ID: <20200428.172450.1176813873723503826.tak.kunihiro@gmail.com> References: <20200428.134710.626410507196052586.tak.kunihiro@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="118835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, tak.kunihiro@gmail.com To: bug-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 28 10:53:55 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTM03-000UoI-D6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Apr 2020 10:53:55 +0200 Original-Received: from localhost ([::1]:47214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTM02-0002vV-76 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Apr 2020 04:53:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51566) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTLtR-0004tE-KU for help-gnu-emacs@gnu.org; Tue, 28 Apr 2020 04:48:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTLdY-0005aQ-ST for help-gnu-emacs@gnu.org; Tue, 28 Apr 2020 04:33:03 -0400 Original-Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:50225) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTLYi-0001mF-Dp; Tue, 28 Apr 2020 04:25:40 -0400 Original-Received: by mail-pj1-x1035.google.com with SMTP id t9so820182pjw.0; Tue, 28 Apr 2020 01:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-transfer-encoding; bh=K1EJS/ZyZfp4ltucjZAXGOrGaLMfLpMKXtVNjv4Kyko=; b=NyXnu/IF33rrpT+xcUffRVWSJw4tN0gDV/QhCTFCR/lE98HltE7Jx8qe14sUrxcz72 0XEZzZMRCWYyBGXU7UFcPGLDa3qIXkOkv0VHvg0kqFv0/TICbK2+44LFZoTZNzbHyN0P OeFIrSNvEqqvghkxHoh6k3NspGQq8xtytfbbDZusTg9ytAJXWJFMFe9lm7Gob27HiZaa /dVeSeT+Fb1UEvT2QY2gbYZ8QezSQPyo5y8gGcRRKRyNASkEjv/f7pskf4HB5r9hQQI6 vVqbUmM8qk5H84bLj3ewdXjr6VXGIKXimNGJmzKFk2y2fTqe2YKfiZxpfauKcF5Ftw6j gOHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:mime-version:content-transfer-encoding; bh=K1EJS/ZyZfp4ltucjZAXGOrGaLMfLpMKXtVNjv4Kyko=; b=bMMH8mbNLCdzX49WjDFUXW/rz7blGo+8ZnHzZg9rKHUgrM7dBbC+EqaJOUbg6qKW1R eAUX+a/uKCl9RggQPFi3lsXb2VsIzQT2BmPvOrhhuYHtvvh1BuPsRoKajNkBE9N2Yr/0 848cODfGJlMRyKW9T4rpqdD3YvA6JVpn1QcySmtyBoCu56By36XU1WkN4NwSK4KFYeAB zjeLuVzozhsANxm6ZSvo2qwTOQitaMTu34zo9cwvJymT6Ci6fVlhLQp6Mwv724dTbpcd FTh7hH6FQwgmv8XY2gQVyaYPZ76nAUlg1Rl/awOyVAXzwwnK389xuYHXU8ywP4Mz9nYL 4bjw== X-Gm-Message-State: AGi0Puao/ktyiF3uCsv+8n/6nBOsZaPw6Kw/gGrdkEG9SeTTaYWfHkVH s6eEWDYj5qN49/TNBho1NKcZ0b/Q X-Google-Smtp-Source: APiQypKazMHzkX2O77WUEFlmgY0ADFvHyY32F264xbxGFN+Ru5+jbkvbeNuPWwXvRZD3RakE+TfUCA== X-Received: by 2002:a17:902:bd81:: with SMTP id q1mr18136877pls.46.1588062337707; Tue, 28 Apr 2020 01:25:37 -0700 (PDT) Original-Received: from localhost ([2400:4153:47a0:f310:dd2d:5890:3f80:27a6]) by smtp.gmail.com with ESMTPSA id j26sm14442709pfr.215.2020.04.28.01.25.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 28 Apr 2020 01:25:37 -0700 (PDT) In-Reply-To: X-Mailer: Mew version 6.8 on Emacs 26.3 Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=tak.kunihiro@gmail.com; helo=mail-pj1-x1035.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1035 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122964 gmane.emacs.bugs:179205 Archived-At: I want to launch emacs via Dock or Spotlight on MacOS. >From scratch buffer on emacs 26.3, C-x C-f prompts home directory "~/". However, from scratch buffer on emacs 27.0.91, C-x C-f prompts root directory "/", which is inconvenient. When emacs 27.0.91 is started in home directory, C-x C-f prompts "~/", as expected. I think that C-x C-f should prompt home directory "~/" instead of root directory "/" when emacs is launched via Dock or Spotlight. Since that worked good until emacs 26.3, something was changed on emacs 27. Can you store the behavior back? I show the recipe below to reproduce the problem. $ cd; mv .emacs.d dot.emacs.d click emacs 27.0.91 on Dock C-x b *scratch* C-x C-f ; => Find file: / M-x kill-emacs $ ./Downloads/emacs-27.0.91/nextstep/Emacs.app/Contents/MacOS/Emacs & C-x b *scratch* C-x C-f ; => Find file: ~/ M-x kill-emacs click emacs 26.3 on Dock C-x b *scratch* C-x C-f ;=> Find file: ~/