Hello,
I use cygwin and installed emacs-22.3.
The first several lines of my .emacs file is list bellow:
(tool-bar-mode nil)
(scroll-bar-mode nil)
(set-background-color "black")
(set-foreground-color "white")
(set-cursor-color "green")
(set-mouse-color "blue")
(partial-completion-mode t)
(server-start)
And error reported with "emacs --debug-init":
Debugger entered--Lisp error: (error "The directory /tmp/emacs27953 is unsafe")
signal(error ("The directory /tmp/emacs27953 is unsafe"))
error("The directory %s is unsafe" "/tmp/emacs27953")
server-ensure-safe-dir("/tmp/emacs27953")
server-start()
eval-buffer(#<buffer *load*> nil "/cygdrive/c/Documents and Settings/jixu/cygwin/.emacs" nil t) ; Reading at buffer position 422
load-with-code-conversion("/cygdrive/c/Documents and Settings/jixu/cygwin/.emacs" "/cygdrive/c/Documents and Settings/jixu/cygwin/.emacs" t t)
load("~/.emacs" t t)
#[nil "พ Æ=ÇÈQA É=3ÊÇËÌ##ÍAÊÇËÎ#/ÏAÍA Ð==ÑAÇÒQÓÔ\nÓ#
Ó=iÕÖ×ÇØQ!\"Ô\fÓ#
Ó=h\n)
Ù
!ÚÛ
!ÜP$Ý$!$Ý
!
Ë
\"Ğßà
#בג!
*%?ฝË&ÔãÓ#))" [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]()
command-line()
normal-top-level()
Thanks a lot!
Regards
xujian