From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: vb Newsgroups: gmane.emacs.help Subject: Re: current directory Date: Wed, 18 Oct 2006 16:12:02 -0700 Message-ID: <200610181612.02924.help-gnu-emacs@vsbe.com> References: <0MKoyl-1GaJKr1BDE-0000ux@mrelay.perfora.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161213145 23212 80.91.229.2 (18 Oct 2006 23:12:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 23:12:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 19 01:12:23 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GaKaD-0001bx-RN for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Oct 2006 01:12:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GaKaD-0005el-Av for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Oct 2006 19:12:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GaKZz-0005ba-9g for help-gnu-emacs@gnu.org; Wed, 18 Oct 2006 19:12:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GaKZx-0005Wu-Qq for help-gnu-emacs@gnu.org; Wed, 18 Oct 2006 19:12:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GaKZx-0005WY-It for help-gnu-emacs@gnu.org; Wed, 18 Oct 2006 19:12:05 -0400 Original-Received: from [217.160.230.40] (helo=mout.perfora.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GaKZx-0001Rz-ET for help-gnu-emacs@gnu.org; Wed, 18 Oct 2006 19:12:05 -0400 Original-Received: from [66.17.149.13] (helo=dhcp-10-64-129-2.riverstonenet.com) by mrelay.perfora.net (node=mrelayus0) with ESMTP (Nemesis), id 0MKoyl-1GaKZv2cs5-0000pX; Wed, 18 Oct 2006 19:12:04 -0400 Original-To: help-gnu-emacs@gnu.org User-Agent: KMail/1.9.1 In-Reply-To: Content-Disposition: inline X-Provags-ID: perfora.net abuse@perfora.net login:105503e63a43ed9a8b379992658ba53b 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:38118 Archived-At: On Wednesday 18 October 2006 15:32, you wrote: > Am 18.10.2006 um 23:52 schrieb help-gnu-emacs@vsbe.com: > > Is there a way to prevent emacs from changing its current directory > > when opening a new file or changing between files being visited? > > Why? For what? > as I mentioned in the original email: > Now, if I start a shell script through call-process, the shell script's > current directory is also /g/d/f the script finds the ID database in the current directory tree and then looks up a token in the database. If current directory changed to a different tree, the ID database is not seen by the script. I think this is one of the examples when emacs is overdoing its stuff - it should have no business changing user's current directory or at least allow to configure this behavior. cheers, /vb > -- > Greetings > > Pete > > "Specifications are for the weak and timid!"