In both cases they both display "Márton". 2016-11-26 20:19 GMT+01:00 Eli Zaretskii : > > From: > > Date: Sat, 26 Nov 2016 19:33:29 +0100 > > > > If I start Emacs by opening (double-clicking) a file that has its > extension associated > > with Emacs, my user directory is not found, my .emacs is not run > > etc. This does not happen if I start emacs from the command-line or by > > double-clicking the executable, this way my user directory is correctly > found. > > > > Here is the error message: > > > > Warning (initialization): Unable to create `user-emacs-directory' > (~/.emacs.d/). > > Any data that would normally be written there may be lost! > > If you never want to see this message again, > > customize the variable `user-emacs-directory-warning'. > > Error (initialization): User M rton has no home directory > > Warning (initialization): An error occurred while loading ‘nil’: > > File error: Opening directory, No such file or directory, > c:/Users/M\341rton/AppData/Roaming > > To ensure normal operation, you should investigate and remove the > > cause of the error in your initialization file. Start Emacs with > > the ‘--debug-init’ option to view a complete error backtrace. > > What do these display: > > M-: (user-login-name) RET > M-: (user-real-login-name) RET > > Please try this both in the session started by clicking a file > associated with Emacs and in a session started from the command-line. > > Thanks. >