From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: current directory Date: Mon, 23 Oct 2006 15:17:13 -0400 Message-ID: <871woyn8p2.fsf@ashbery.wjsullivan.net> References: <200610231024.37118.help-gnu-emacs@vsbe.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161633865 17769 80.91.229.2 (23 Oct 2006 20:04:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 20:04:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 23 22:04:19 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 1Gc61l-0000c9-Qn for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 22:04:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc61l-0005rv-0o for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 16:04:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gc60E-0004i9-TS for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:02:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gc60A-0004et-BG for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:02:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc609-0004ei-JB for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:02:25 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gc608-0005x0-Ty for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:02:25 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gc5zy-00007O-Q4 for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 22:02:15 +0200 Original-Received: from dsl092-079-150.bos1.dsl.speakeasy.net ([66.92.79.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 22:02:14 +0200 Original-Received: from john by dsl092-079-150.bos1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 22:02:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-079-150.bos1.dsl.speakeasy.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:0pkIyyE/9ie0eNV4FVLHL7CLoOw= 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:38215 Archived-At: vb writes: > no, it would not be insane at all. All other editors but emacs I am used to > maintain a notion of "current directory" and allow the user to change this > current directory explicitly. The fact that emacs doesn't even have an > infrastructure for that just shows how off mark its approach is. > M-x cd But anyway, I find it quite common in applications of all types to have the default directory in any file chooser be determined by some method -- often, the default directory starts with whatever directory you chose the last time you used the chooser. I think the emacs behavior of having the default directory be the directory where the file currently being accessed lives is sensible. You do know that if you just type a / after the default input, you are back at root again, right? You don't even have to delete the default text that emacs inserts in the minibuffer. -- -John Sullivan -http://www.wjsullivan.net -GPG Key: AE8600B6