emacs-pretest-bug
[Top][All Lists]
Advanced

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

Under windows, ~/.emacs.d/.emacs(.el) is not laoded at startup


From: Cheng Gao
Subject: Under windows, ~/.emacs.d/.emacs(.el) is not laoded at startup
Date: Fri, 17 Sep 2004 15:22:02 +0800
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
MIME-Version: 1.0
Content-Type: text/plain
Your bug report will be posted to the address@hidden mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
In /etc/NEWS, line 712-715:
,----
| ** Init file changes
| 
| You can now put the init files .emacs and .emacs_SHELL under
| ~/.emacs.d or directly under ~.  Emacs will find them in either place.
`----
In Linux, it's right. ~/.emacs.d/.eamcs(.el(c)) is loaded. But under
Windows, only ~/.emacs(.el(c)) is loaded. I got confirmation from other
user in #emacs. 
I trust the problem must be in lisp/startup.el with lines 828-834:
,----
|                       (let ((otherfile
|                              (expand-file-name
|                               (file-name-nondirectory user-init-file-1)
|                               (file-name-as-directory
|                                (expand-file-name
|                                 ".emacs.d"
|                                 (file-name-directory user-init-file-1))))))
`----
I suspect that functions file-name-directory-* doesnot take
considerations with Windows environment. But I am too dumb to fix this.
This should be with code in fileio.c.
In GNU Emacs 21.3.50.1 (i386-mingw-nt5.2.3790)
 of 2004-09-15 on DIO
configured using `configure --with-gcc (3.4)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: CHS
  locale-coding-system: cp936
  default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
  display-time-mode: t
  delete-selection-mode: t
  partial-completion-mode: t
  auto-compression-mode: t
  cua-mode: t
  show-paren-mode: t
  auto-image-file-mode: t
  recentf-mode: t
  tool-bar-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>
Recent messages:
Loading image-file...done
Loading paren...done
Loading cua-base...done
Loading jka-compr...done
Loading complete...done
Loading delsel...done
Loading time...done
Loading jit-lock...done
Loading cl-macs (compiled; note, source file is newer)...done
Loading emacsbug...done
Date: Fri, 17 Sep 2004 15:22:02 +0800
Message-ID: <address@hidden>




reply via email to

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