unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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
[parent not found: <mailman.3023.1380314834.10748.help-gnu-emacs@gnu.org>]

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 --
2013-09-27 20:46 Open terminal window from emacs Frederik
2013-09-28  7:54 ` Frederik
     [not found] <mailman.3023.1380314834.10748.help-gnu-emacs@gnu.org>
2013-09-27 21:21 ` 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

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).