[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to not change the working directory when opening a file
From: |
Francis Moreau |
Subject: |
how to not change the working directory when opening a file |
Date: |
Mon, 14 Jan 2008 16:15:54 +0100 |
Hello list,
I'd like Emacs to not changing the working directory when opening
a file.
For example when doing:
$ pwd
/home/fmoreau/tmp
$ emacs /tmp/foo.txt
I'd like the current working directory to be "/home/fmoreau/tmp"
when editing "/tmp/foo.txt" in emacs.
This is useful when composing an email. I sometime need to
include the output of a shell command but this shell command
must be executed in the directory where emacs was launched.
Does anybody can give me a hint to do that ?
Thanks
--
Francis
PS: Please CC me when replying since I'm not subscribed.
- how to not change the working directory when opening a file,
Francis Moreau <=
- Re: how to not change the working directory when opening a file, Eric Hanchrow, 2008/01/14
- Re: how to not change the working directory when opening a file, Lennart Borgman (gmail), 2008/01/14
- Re: how to not change the working directory when opening a file, Francis Moreau, 2008/01/15
- Re: how to not change the working directory when opening a file, Eric Hanchrow, 2008/01/15
- Re: how to not change the working directory when opening a file, Francis Moreau, 2008/01/15
- Re: how to not change the working directory when opening a file, Sebastian Tennant, 2008/01/15
- Re: how to not change the working directory when opening a file, Francis Moreau, 2008/01/15