[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Open terminal window from emacs
From: |
Frederik |
Subject: |
Open terminal window from emacs |
Date: |
Fri, 27 Sep 2013 22:46:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Hey,
I try to open up urxvt from emacs and make the terminal emulator
automatically switch to the current working directory of the current
buffer (i.e. to the value of default-directory).
This is what I've come up with:
(call-process "/usr/bin/urxvt" nil 0 nil
(concat "-cd" default-directory))
But this doesn't work.
This
(call-process "/usr/bin/urxvt" nil 0 nil
"-cd ~/test")
doesn't work either, even though the directory exits.
Any pointers?
--
Frederik
- Open terminal window from emacs,
Frederik <=