emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/etc PROBLEMS


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs/etc PROBLEMS
Date: Tue, 24 Feb 2009 19:09:04 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    09/02/24 19:09:04

Modified files:
        etc            : PROBLEMS 

Log message:
        Mention problems with username in the MS-DOS port on MS-Windows.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/etc/PROBLEMS?cvsroot=emacs&r1=1.267&r2=1.268

Patches:
Index: PROBLEMS
===================================================================
RCS file: /cvsroot/emacs/emacs/etc/PROBLEMS,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -b -r1.267 -r1.268
--- PROBLEMS    4 Feb 2009 09:12:59 -0000       1.267
+++ PROBLEMS    24 Feb 2009 19:09:03 -0000      1.268
@@ -3534,6 +3534,28 @@
 config.bat.  To resolve this, move the DJGPP's `bin' subdirectory to
 the front of your PATH environment variable.
 
+*** When Emacs compiled with DJGPP runs on Windows 2000 and later, it cannot
+find your HOME directory.
+
+This was reported to happen when you click on "Save for future
+sessions" button in a Customize buffer.  You might see an error
+message like this one:
+
+  basic-save-buffer-2: c:/FOO/BAR/~dosuser/: no such directory
+
+(The telltale sign is the "~USER" part at the end of the directory
+Emacs complains about, where USER is your username or the literal
+string "dosuser", which is the default username set up by the DJGPP
+startup file DJGPP.ENV.)
+
+This happens when the functions `user-login-name' and
+`user-real-login-name' return different strings for your username as
+Emacs sees it.  To correct this, make sure both USER and USERNAME
+environment variables are set to the same value.  Windows 2000 and
+later sets USERNAME, so if you want to keep that, make sure USER is
+set to the same value.  If you don't want to set USER globally, you
+can do it in the [emacs] section of your DJGPP.ENV file.
+
 *** When Emacs compiled with DJGPP runs on Vista, it runs out of memory.
 
 If Emacs running on Vista displays "!MEM FULL!" in the mode line, you




reply via email to

[Prev in Thread] Current Thread [Next in Thread]