From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.bugs,gmane.emacs.help Subject: Re: .emacs help Date: 11 Sep 2002 10:25:48 +0900 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031707623 32541 127.0.0.1 (11 Sep 2002 01:27:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2002 01:27:03 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17owHU-0008ST-00 for ; Wed, 11 Sep 2002 03:27:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17owHc-0008G2-00; Tue, 10 Sep 2002 21:27:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17owGm-0007oq-00 for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2002 21:26:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17owGk-0007mR-00 for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2002 21:26:16 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17owGj-0007je-00; Tue, 10 Sep 2002 21:26:14 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g8B1QB404384; Wed, 11 Sep 2002 10:26:11 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g8B1PnI12079; Wed, 11 Sep 2002 10:26:08 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g8B1Pnh08528; Wed, 11 Sep 2002 10:25:49 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g8B1Pns00919; Wed, 11 Sep 2002 10:25:49 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 0B09B3723; Wed, 11 Sep 2002 10:25:49 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 28 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3479 gmane.emacs.help:1272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1272 exmixllxer@xattxbi.com writes: > > This is the error I get: > > > File error: "Cannot open load file", "backup-dir" > > > .emacs from xemacs customization: > > (custom-set-variables > > '(bkup-backup-directory-info (quote (("." "~emiller/emacs_bkup" ok-create))) nil (backup-dir))) > > Ugh, I think the parens are unbalanced. Odd since this came > right out of xemacs! No, the parens seem fine. The problem is that the `(backup-dir)' part of the customization entry does what you might expect: it tells emacs that the `backup-dir' feature is required before defining that variable, and emacs will try to load `backup-dir.el' to define it. Since `backup-dir.el' is an xemacs-only thing, it of course fails. This is for bug-gnu-emacs: It would be nice if emacs just ignored customization entries that result in an error (I often ran into the same problem when trying to use older versions of emacs with my emacs21 .emacs file). -Miles -- I'd rather be consing.