From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT? Date: Mon, 12 Apr 2010 05:24:23 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273005803 6404 80.91.229.12 (4 May 2010 20:43:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 20:43:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 22:43:21 2010 connect(): No such file or directory 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 1O9OxW-00007d-QI for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 22:43:14 +0200 Original-Received: from localhost ([127.0.0.1]:48906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Otl-0003rl-2e for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 16:39:21 -0400 Original-Path: usenet.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1271049863 14937 166.84.1.1 (12 Apr 2010 05:24:23 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 12 Apr 2010 05:24:23 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: usenet.stanford.edu gnu.emacs.help:177683 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:73148 Archived-At: In article , David Combs wrote: >I was surprised today when I did a M-x pwd on *Occur*, and >it said my home directory, whereas the file I was doing >the M-x occur on was in a *different* directory. > >I don't recall this behavior from the past -- or maybe I'm >just doing something wrong? > >FYI: > > NTEMACS: [ GNU Emacs 23.0.0.1 (i386-mingw-nt5.1.2600) of 2007-08-18 on TPAD ] > >Thanks! > >David > > No replies? If Occur was changed so that *Occur* would "be" in the *same* directory as what Occur was searching through? So that if you saw something interesting in *Occur*, you could say C-x d and end up in the most likely directory you'd WANT to end up in? (Assuming the buffer being searched by Occur had a file attached to it, that is...) It just seems weird, the way it works now. Thanks, David