* Changing default starting directory @ 2003-01-11 11:25 Charles Muller 0 siblings, 0 replies; 4+ messages in thread From: Charles Muller @ 2003-01-11 11:25 UTC (permalink / raw) When I start up my Emacs (21.2 on Redhat 8) my startup directory in *scratch* is by default /home/chuck I want to change this to /mnt/win_d/docs And so I added the following to my .emacs file: '(default-directory "/mnt/win_d/docs") This does not do the trick. I have Googled around a bit, and looked through the Emacs manual to try to figure out how to do this, but with no luck (probably, such a basic question, no one asks it). Can anyone help me on this? Thanks, Chuck --------------------------- Charles Muller <acmuller@gol.com> Faculty of Humanities, Toyo Gakuen University Digital Dictionary of Buddhism and CJKV-English Dictionary [http://www.acmuller.net] H-Buddhism List Editor [http://www2.h-net.msu.edu/~buddhism/] Mobile Phone: 090-9310-1787 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.171.1042284495.21513.help-gnu-emacs@gnu.org>]
* Re: Changing default starting directory [not found] <mailman.171.1042284495.21513.help-gnu-emacs@gnu.org> @ 2003-01-11 16:31 ` Benjamin Riefenstahl 2003-01-12 8:54 ` Charles Muller 2003-01-11 16:41 ` Jesper Harder 1 sibling, 1 reply; 4+ messages in thread From: Benjamin Riefenstahl @ 2003-01-11 16:31 UTC (permalink / raw) Hi Charles, Charles Muller <acmuller@gol.com> writes: > And so I added the following to my .emacs file: > > '(default-directory "/mnt/win_d/docs") That doesn't look like a LISP function call. Instead it looks like a snippet from the customize section. You know, that section that says quite explicitly "don't edit or cut/paste it!" ;-). For a LISP call you want (cd "/mnt/win_d/docs") Note that this is actually suggested when you do "C-h v default-directory". Hope this helps, benny ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing default starting directory 2003-01-11 16:31 ` Benjamin Riefenstahl @ 2003-01-12 8:54 ` Charles Muller 0 siblings, 0 replies; 4+ messages in thread From: Charles Muller @ 2003-01-12 8:54 UTC (permalink / raw) Thanks to Benny and Jesper for this solution. Benny wrote: > You know, that section that says > quite explicitly "don't edit or cut/paste it!" ;-). Aha! So that's what they mean. Chuck --------------------------- Charles Muller <acmuller@gol.com> Faculty of Humanities, Toyo Gakuen University Digital Dictionary of Buddhism and CJKV-English Dictionary [http://www.acmuller.net] H-Buddhism List Editor [http://www2.h-net.msu.edu/~buddhism/] Mobile Phone: 090-9310-1787 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing default starting directory [not found] <mailman.171.1042284495.21513.help-gnu-emacs@gnu.org> 2003-01-11 16:31 ` Benjamin Riefenstahl @ 2003-01-11 16:41 ` Jesper Harder 1 sibling, 0 replies; 4+ messages in thread From: Jesper Harder @ 2003-01-11 16:41 UTC (permalink / raw) Charles Muller <acmuller@gol.com> writes: > When I start up my Emacs (21.2 on Redhat 8) my startup directory in > *scratch* is by default > > /home/chuck > > I want to change this to > > /mnt/win_d/docs > > And so I added the following to my .emacs file: > > '(default-directory "/mnt/win_d/docs") > > This does not do the trick. Put (cd "/mnt/win_d/docs") in your .emacs instead. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-12 8:54 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-01-11 11:25 Changing default starting directory Charles Muller [not found] <mailman.171.1042284495.21513.help-gnu-emacs@gnu.org> 2003-01-11 16:31 ` Benjamin Riefenstahl 2003-01-12 8:54 ` Charles Muller 2003-01-11 16:41 ` Jesper Harder
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).