* Shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
@ 2010-04-21 5:41 David Combs
2010-04-21 17:42 ` Andreas Politz
2010-04-21 18:24 ` Stefan Monnier
0 siblings, 2 replies; 10+ messages in thread
From: David Combs @ 2010-04-21 5:41 UTC (permalink / raw)
To: help-gnu-emacs
Shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
Opinions?
Thanks,
David
^ permalink raw reply [flat|nested] 10+ messages in thread
* shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
@ 2010-03-27 22:43 David Combs
2010-04-12 5:24 ` David Combs
2010-05-04 19:59 ` Eli Zaretskii
0 siblings, 2 replies; 10+ messages in thread
From: David Combs @ 2010-03-27 22:43 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
2010-03-27 22:43 shouldn't " David Combs
@ 2010-04-12 5:24 ` David Combs
2010-04-12 16:19 ` Stefan Monnier
2010-05-04 19:59 ` Eli Zaretskii
1 sibling, 1 reply; 10+ messages in thread
From: David Combs @ 2010-04-12 5:24 UTC (permalink / raw)
To: help-gnu-emacs
In article <hom1m8$lt4$1@panix3.panix.com>,
David Combs <dkcombs@panix.com> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT?
2010-03-27 22:43 shouldn't " David Combs
2010-04-12 5:24 ` David Combs
@ 2010-05-04 19:59 ` Eli Zaretskii
1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2010-05-04 19:59 UTC (permalink / raw)
To: help-gnu-emacs
> From: dkcombs@panix.com (David Combs)
> Date: 27 Mar 2010 18:43:20 -0400
>
> 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?
In Emacs 23.1.96, I cannot reproduce this. Does it work for you in
"emacs -Q"?
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-05-06 3:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 5:41 Shouldn't m-x pwd on *Occur* be SAME DIR as for the file it's ABOUT? David Combs
2010-04-21 17:42 ` Andreas Politz
2010-04-21 18:24 ` Stefan Monnier
2010-05-05 3:15 ` Eli Zaretskii
[not found] ` <mailman.59.1273030257.29092.help-gnu-emacs@gnu.org>
2010-05-05 20:36 ` Stefan Monnier
2010-05-06 3:12 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2010-03-27 22:43 shouldn't " David Combs
2010-04-12 5:24 ` David Combs
2010-04-12 16:19 ` Stefan Monnier
2010-05-04 19:59 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).