Subject: bug#39168: 27.0.50; Error on command line flags with use dump-file flag with other flags

From: Eli Zaretskii <[email-masked]>
Date: Sat, 18 Jan 2020 17:23:32 +0200

> From: Yuan Fu <[email-masked]>
> Date: Sat, 18 Jan 2020 09:29:02 -0500
> Cc: [email-masked]
> 
> BTW, I can’t use —dump-file flag with ~, otherwise it complains
> 
>     emacs: could not load dump file "~/.emacs.d/cache/emacs.pdmp": could not open file
> 
> Using a root path (/Users/yuan/.emacs.d/…) works fine. Is this expected?

Yes, I think so.  Emacs loads the dump file very early during startup,
and the various known directories are not yet set up at that point.