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

To reply to this bug, email your comments to 3281 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3281; Package emacs. (Thu, 14 May 2009 01:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "XU JIAN H" <Jian.h.Xu <at> alcatel-sbell.com.cn>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 14 May 2009 01:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "XU JIAN H" <Jian.h.Xu <at> alcatel-sbell.com.cn>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 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)]

Merged 865 3281. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 14 May 2009 03:35:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,w32'. Request was from Glenn Morris <rgm+emacsbugs <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 17 Jun 2009 07:35:06 GMT) Full text and rfc822 format available.

Merged 865 3281 4197. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 22 Aug 2009 09:10:06 GMT) Full text and rfc822 format available.

Merged 865 3281 4197 8787. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 02 Jun 2011 17:07:02 GMT) Full text and rfc822 format available.

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

Previous Next


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