all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Open terminal window from emacs
@ 2013-09-27 20:46 Frederik
  2013-09-28  7:54 ` Frederik
  0 siblings, 1 reply; 9+ messages in thread
From: Frederik @ 2013-09-27 20:46 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-28 11:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3023.1380314834.10748.help-gnu-emacs@gnu.org>
2013-09-27 21:21 ` Open terminal window from emacs Pascal J. Bourguignon
2013-09-28  7:25   ` Frederik
2013-09-28  7:56 ` Sven Joachim
2013-09-28  8:06   ` Frederik
2013-09-28  9:08   ` Peter Dyballa
     [not found]   ` <mailman.3053.1380355638.10748.help-gnu-emacs@gnu.org>
2013-09-28 10:06     ` Sven Joachim
2013-09-28 11:38       ` Frederik
2013-09-27 20:46 Frederik
2013-09-28  7:54 ` Frederik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.