GNU bug report logs - #3281
server-start in .emacs cause error when emacs startup

Previous Next

Package: emacs;

Reported by: "XU JIAN H" <Jian.h.Xu <at> alcatel-sbell.com.cn>

Date: Thu, 14 May 2009 01:00:03 UTC

Severity: normal

Merged with 865, 4197, 8787

Found in version 23.3

Full log


View this message in rfc822 format

From: "XU JIAN H" <Jian.h.Xu <at> alcatel-sbell.com.cn>
To: <bug-gnu-emacs <at> gnu.org>
Subject: bug#3281: server-start in .emacs cause error when emacs startup
Date: Thu, 14 May 2009 08:51:33 +0800
[Message part 1 (text/plain, inline)]
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 "พ	Æ=ƒÇÈQ‚A	É=ƒ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

[Message part 2 (text/html, inline)]

This bug report was last modified 14 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.