From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frederik Newsgroups: gmane.emacs.help Subject: Open terminal window from emacs Date: Fri, 27 Sep 2013 22:46:44 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380314842 606 80.91.229.3 (27 Sep 2013 20:47:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Sep 2013 20:47:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 22:47:25 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VPewd-0000qo-U2 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2013 22:47:24 +0200 Original-Received: from localhost ([::1]:38469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPewd-0008Qk-FG for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2013 16:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPewM-0008Pb-9Z for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 16:47:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPewD-00007b-JN for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 16:47:06 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPewD-00007S-Cc for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 16:46:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPewB-0000Ra-KR for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 22:46:55 +0200 Original-Received: from dslb-178-002-113-237.pools.arcor-ip.net ([178.2.113.237]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 22:46:55 +0200 Original-Received: from freak.fred by dslb-178-002-113-237.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 22:46:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-178-002-113-237.pools.arcor-ip.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93673 Archived-At: 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