From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: Go to my CWD! Date: Wed, 27 Jan 2010 22:08:00 +0100 Message-ID: References: <4B60964A.6070109@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1264626550 1807 80.91.229.12 (27 Jan 2010 21:09:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2010 21:09:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 27 22:09:05 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NaF8I-0007hS-Ie for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jan 2010 22:09:02 +0100 Original-Received: from localhost ([127.0.0.1]:33049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaF8I-0004HJ-2V for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jan 2010 16:09:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaF7p-0004H3-7I for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 16:08:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaF7k-0004FW-GJ for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 16:08:32 -0500 Original-Received: from [199.232.76.173] (port=38869 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaF7k-0004FT-Dx for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 16:08:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:49546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaF7j-0003G6-Rp for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 16:08:28 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NaF7e-0007Jm-Ti for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 22:08:22 +0100 Original-Received: from ip116-027.hgracht.rwth-aachen.de ([134.130.116.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2010 22:08:22 +0100 Original-Received: from andrea.crotti.0 by ip116-027.hgracht.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2010 22:08:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip116-027.hgracht.rwth-aachen.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:STRTr5zKTaddq8bHyyJOSR+g2Qg= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71520 Archived-At: Andreas Röhler writes: > Andrea Crotti wrote: > Maybe that way?: > > (defun my-shell-always-in-default-dir () > (interactive) > (shell default-directory)) > > Cheers > Nice thanks that would work, but then I have to setup a wrapper for every possible interpreter (octave, python etc etc...) Something more automatic is not possible?