Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.emacs Subject: Re: Why can't I set default-directory ? Message-ID: Date: 12 Aug 90 21:51:47 GMT References: Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 20 In-reply-to: sdk@ata.twinsun.com's message of 11 Aug 90 18:24:09 GMT In article sdk@ata.twinsun.com (Scott D Kalter) writes: | However, as not to get in the way of experimentation, the problem that | you are experiencing is that the variable is not interactive. In | other words, it isn't meant to be modified by the user via | set-variable. You can bypass this by setting it in lisp code like: | | (setq default-directory '"/tmp/") | | Therefore, you can write your own routine that modifies this variable, | make the routine interactive, and bind it to a key. Another way to set default-directory, is to call the cd function (change directory), which sets default-directory, and is interactive. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Do apple growers tell their kids money doesn't grow on bushes?