From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frederik Newsgroups: gmane.emacs.help Subject: Re: Open terminal window from emacs Date: Sat, 28 Sep 2013 13:38:18 +0200 Message-ID: References: <87pprtnzvy.fsf@turtle.gmx.de> <87k3i1ntuv.fsf@turtle.gmx.de> 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 1380368335 18800 80.91.229.3 (28 Sep 2013 11:38:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Sep 2013 11:38:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 28 13:38:57 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 1VPsrP-0004tv-2z for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Sep 2013 13:38:55 +0200 Original-Received: from localhost ([::1]:40698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPsrO-0002cE-LX for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Sep 2013 07:38:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPsr8-0002bD-Mm for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 07:38:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPsr1-0005d2-D8 for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 07:38:38 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPsr1-0005cv-6A for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 07:38:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPsqy-0004YO-R7 for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 13:38:28 +0200 Original-Received: from wl-0080.wlan.uni-konstanz.de ([134.34.208.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 13:38:28 +0200 Original-Received: from freak.fred by wl-0080.wlan.uni-konstanz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 13:38:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: wl-0080.wlan.uni-konstanz.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <87k3i1ntuv.fsf@turtle.gmx.de> 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:93706 Archived-At: Am 28.09.2013 12:06, schrieb Sven Joachim: > On 2013-09-28 10:06 +0200, Frederik wrote: > >>> Seems to me the tilde does not get expanded here, so you would have to >>> use (expand-file-name default-directory) rather than just >>> default-directory. >> >> Yeah, thanks, I just skimmed the documentation on default-directory and >> found expand-file-name. It works now. However the behaviour is quite >> strange since the command "urxvt -cd ~/test" works well when launched >> from a terminal... > > Your shell expands the tilde then, as it does in Pascal's suggestion. > But call-process does not invoke a shell, in contrast to shell-command. > > Cheers, > Sven > I see. Thanks for the clarification! Regards, -- Frederik