From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio C. Lopes Newsgroups: gmane.emacs.devel Subject: Re: no such var: user-emacs-directory Date: Mon, 8 Aug 2005 17:00:42 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123522377 5405 80.91.229.2 (8 Aug 2005 17:32:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 17:32:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 19:32:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2BUR-0002or-Cr for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 19:32:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2BXS-00053n-D6 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 13:35:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2BT2-0002p3-Sx for emacs-devel@gnu.org; Mon, 08 Aug 2005 13:31:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2BT0-0002mI-5p for emacs-devel@gnu.org; Mon, 08 Aug 2005 13:31:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2BQb-0001i6-Ho for emacs-devel@gnu.org; Mon, 08 Aug 2005 13:28:45 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E2BI6-0006rV-Kb for emacs-devel@gnu.org; Mon, 08 Aug 2005 13:19:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E2B2c-0006am-LY for emacs-devel@gnu.org; Mon, 08 Aug 2005 19:04:03 +0200 Original-Received: from p62.246.57.120.tisdip.tiscali.de ([62.246.57.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Aug 2005 19:03:58 +0200 Original-Received: from eclig by p62.246.57.120.tisdip.tiscali.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Aug 2005 19:03:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 62 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 62.246.57.120 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41720 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41720 Thien-Thi Nguyen writes: > `scheme-start-file' in cmuscheme.el now references `user-emacs-directory' > but that variable is never defined anywhere. the NEWS blurb mentions it, > although the docstring says "~/.emacs.d". I submitted these changes, so it was my fault. Could someone please apply the following patch? Thanks and sorry for any inconvenience. 2005-08-08 Emilio C. Lopes * cmuscheme.el (scheme-start-file): replaced reference to `user-emacs-directory' by "~/.emacs.d/". *** orig/etc/NEWS --- mod/etc/NEWS *************** *** 1757,1763 **** evaluate a Scheme expression but no Scheme subprocess is running. *** If a file `.emacs_NAME' (where NAME is the name of the Scheme interpreter) ! exists in the user's home directory or in `user-emacs-directory', its contents are sent to the Scheme subprocess upon startup. *** There are new commands to instruct the Scheme interpreter to trace --- 1757,1763 ---- evaluate a Scheme expression but no Scheme subprocess is running. *** If a file `.emacs_NAME' (where NAME is the name of the Scheme interpreter) ! exists in the user's home directory or in ~/.emacs.d, its contents are sent to the Scheme subprocess upon startup. *** There are new commands to instruct the Scheme interpreter to trace *** orig/lisp/cmuscheme.el --- mod/lisp/cmuscheme.el *************** *** 272,278 **** (start-file (concat "~/" name))) (if (file-exists-p start-file) start-file ! (let ((start-file (concat user-emacs-directory name))) (and (file-exists-p start-file) start-file))))) (defun scheme-send-region (start end) --- 272,278 ---- (start-file (concat "~/" name))) (if (file-exists-p start-file) start-file ! (let ((start-file (concat "~/.emacs.d/" name))) (and (file-exists-p start-file) start-file))))) (defun scheme-send-region (start end)