From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: no such var: user-emacs-directory Date: Mon, 8 Aug 2005 09:33:31 -0700 (PDT) Message-ID: <38210.128.165.123.83.1123518811.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1123519517 28717 80.91.229.2 (8 Aug 2005 16:45:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 16:45:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 18:45:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2Air-0003xK-5b for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 18:43:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2Als-0007yh-47 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 12:46:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2Aj3-0006gT-G1 for emacs-devel@gnu.org; Mon, 08 Aug 2005 12:43:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2Ais-0006cO-Py for emacs-devel@gnu.org; Mon, 08 Aug 2005 12:43:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2Air-0006Yh-GU for emacs-devel@gnu.org; Mon, 08 Aug 2005 12:43:33 -0400 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2Amz-0004R2-CT; Mon, 08 Aug 2005 12:47:49 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id j78GXdot022798; Mon, 8 Aug 2005 10:33:39 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id j78GXWj8025039; Mon, 8 Aug 2005 10:33:32 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11/8.12.11) with ESMTP id j78GXWwL029018; Mon, 8 Aug 2005 10:33:32 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11/8.12.11/Submit) id j78GXVd6029014; Mon, 8 Aug 2005 09:33:31 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.83 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Mon, 8 Aug 2005 09:33:31 -0700 (PDT) In-Reply-To: Original-To: "Thien-Thi Nguyen" User-Agent: SquirrelMail/1.4.4-2 X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:41718 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41718 > `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". > > if the fix is to define `user-emacs-directory', probably many places that > hardcode "~/.emacs.d" could benefit from using the new variable. but > that's more work than simply hardcoding it in cmuscheme.el as well (and > updating NEWS), so i propose to do the latter unless there are objections. I actually have a variable in my .emacs for this: `emacs-hidden-directory-base' (usually set to "~/.emacs.d/"). I then put backups in "backup/" under that, and auto-save-files as ".saves-*" under it. My reason is to support that file structure even on systems without a useful home directory, but it might be generally useful. I'd be in favor of defining that variable; using it everywhere instead of ".emacs.d" would be trivial. If this sounds good, I can make a patch (either now, or after 22.1). Davis Herring -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.