From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Willis Newsgroups: gmane.emacs.help Subject: Re: emacsW32 find-file does not show the current buffer file path? Date: Fri, 12 Jun 2009 22:45:43 -0500 Message-ID: <6ee1e6090906122045v27b88576u11c5fd0c0695b742@mail.gmail.com> References: <7932f45b-3d7d-4e62-8668-d7638aaf0ef7@j18g2000yql.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244864779 22288 80.91.229.12 (13 Jun 2009 03:46:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 03:46:19 +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 Jun 13 05:46:16 2009 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.50) id 1MFKC5-0003eq-47 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 05:46:13 +0200 Original-Received: from localhost ([127.0.0.1]:46868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFKC4-00052d-Kp for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 23:46:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFKBj-00052Y-6C for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:45:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFKBd-00052M-Ob for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:45:49 -0400 Original-Received: from [199.232.76.173] (port=52113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFKBd-00052J-Iv for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:45:45 -0400 Original-Received: from mail-ew0-f225.google.com ([209.85.219.225]:61081) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFKBd-0004XH-44 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:45:45 -0400 Original-Received: by ewy25 with SMTP id 25so2031221ewy.42 for ; Fri, 12 Jun 2009 20:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3aiYf60ZEcaTstwzKvSm0NuKCQue57lMIC7b2lbBLEM=; b=wMX+jWYgRYyBQloyACAVNQ5Q1YpLW1+IXu01QLkNwMIWydIBVJUHYmFqC/lnWcKj9u LwTgmOgOJiidBXz/8pnhvF5sesWjKDmxOvJwBajALG1aUQOPPYfL0lfqB8XuVs/ymk2d xybsTaoYiUsT9B12FMZuVBj2XBmt3bGNNWjQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WPtEDorv1qjkBy+kKM7vJsaxMNXrykImt/SPNeWVFHI5gKNl7bjZHWK1HIM2w1P/0g lP3VlBpizD2CTQVSNofQuLrekTeEN2fg/e7Lg+GS00NtkReCYLfyz2YQcDSRKLsp89Hq rfMFzcjE4Z1SsfYOvvoxRAH9KyczXOyd7pfQU= Original-Received: by 10.216.52.196 with SMTP id e46mr1559895wec.124.1244864743909; Fri, 12 Jun 2009 20:45:43 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:65234 Archived-At: On Fri, Jun 12, 2009 at 11:22 AM, Xah Lee wrote: > On Jun 12, 8:53=A0am, John A Pershing Jr wrote: >> Xah Lee writes: >> > on unixes, when you do find-file, the default path is the path of the >> > current buffer's file. >> >> > On emacsW32 (Windows), the default path (sometimes) is the last >> > directory opened. >> >> I don't get this mis-behavior. =A0My emacs 22.3 works as expected in thi= s >> respect. > > thanks guys. I think i got confused. > > =A0Xah > This is how emacsW32 works for me. If my current buffer is a file located in C:/scripts/foo.pl, then when I C-x C-f the default directory will be C:/scripts/. If *Scratch* is my active buffer and I C-x C-f, then .../Emacs32/emacs/bin/ Is this _not_ how it's supposed to work? Emacs 23.0.91.1 (i386-mingw-nt5.1.2600)