GNU bug report logs -
#40924
27.0.91; default-directory launched via Dock MacOS
Previous Next
Reported by: Tak Kunihiro <tak.kunihiro <at> gmail.com>
Date: Tue, 28 Apr 2020 08:52:01 UTC
Severity: normal
Tags: fixed
Found in version 27.0.91
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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: ~/
This bug report was last modified 4 years and 193 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.