help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?


From: David Combs
Subject: Re: shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
Date: Tue, 04 May 2010 15:44:25 -0000

In article <address@hidden>,
David Combs <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]