[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to not change the working directory when opening a file
From: |
Thien-Thi Nguyen |
Subject: |
Re: how to not change the working directory when opening a file |
Date: |
Tue, 15 Jan 2008 09:02:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
() "Francis Moreau" <francis.moro@gmail.com>
() Mon, 14 Jan 2008 16:15:54 +0100
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.
you can try something like: emacs --insert /tmp/foo.txt -f text-mode
alternatively, you can try: emacs -f compose-mail
and then `C-x i /tmp/foo.txt RET' at a later point.
probably best if you invert your flow to live in emacs, in
which case you can use `C-u M-! SHELL-COMMAND RET' as needed.
thi
- Re: how to not change the working directory when opening a file, (continued)
- 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
How to not change the working directory when opening a file, Francis Moreau, 2008/01/14
Re: how to not change the working directory when opening a file,
Thien-Thi Nguyen <=