all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tak.kunihiro@gmail.com>
To: bug-gnu-emacs@gnu.org
Cc: help-gnu-emacs@gnu.org, tak.kunihiro@gmail.com
Subject: 27.0.91; default-directory launched via Dock MacOS
Date: Tue, 28 Apr 2020 17:24:50 +0900 (JST)	[thread overview]
Message-ID: <20200428.172450.1176813873723503826.tak.kunihiro@gmail.com> (raw)
In-Reply-To: <C018521E-4104-46E6-93C7-F6BE0ECE2D42@gmail.com>

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: ~/



  reply	other threads:[~2020-04-28  8:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27  8:24 default-directory launched from Dock macOS Tak Kunihiro
2020-04-27 20:37 ` Perry Smith
2020-04-28  4:47 ` Tak Kunihiro
2020-04-28  7:32   ` Eli Zaretskii
2020-04-28  7:33   ` Carlo Tambuatco
2020-04-28  8:08     ` Tak Kunihiro
2020-04-28  8:24       ` Tak Kunihiro [this message]
2020-05-03  2:52         ` bug#40924: 27.0.91; default-directory launched via Dock MacOS Tak Kunihiro
2021-01-28  6:44           ` Lars Ingebrigtsen
2021-01-28 10:02             ` Tak Kunihiro
2021-01-28 10:25               ` Lars Ingebrigtsen
2021-01-28 10:57                 ` Andrii Kolomoiets
2020-04-28  7:46   ` default-directory launched from Dock macOS Nicolas Cavigneaux
2020-04-28 12:45     ` Perry Smith
2020-04-28 13:46       ` Nicolas Cavigneaux
2020-04-28 15:51         ` Perry Smith
2020-05-04  2:06     ` Ben McGinnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428.172450.1176813873723503826.tak.kunihiro@gmail.com \
    --to=tak.kunihiro@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.