* Get file info in emacs
@ 2011-03-27 13:32 Pedro Costa
2011-03-27 15:23 ` Jose A. Ortega Ruiz
0 siblings, 1 reply; 5+ messages in thread
From: Pedro Costa @ 2011-03-27 13:32 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I've opened a file in emacs and I've worked on it and saved it. But,
suddenly I forgot in which directory the file is. How can I see the
directory where the opened file is in emacs? I don't want to use the
bash to get this information.
Thanks
--
Pedro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Get file info in emacs
[not found] <mailman.0.1301232737.13811.help-gnu-emacs@gnu.org>
@ 2011-03-27 13:37 ` Pascal J. Bourguignon
2011-03-27 15:38 ` B. T. Raven
2011-03-27 17:02 ` Evans Winner
1 sibling, 1 reply; 5+ messages in thread
From: Pascal J. Bourguignon @ 2011-03-27 13:37 UTC (permalink / raw)
To: help-gnu-emacs
Pedro Costa <psdc1978@gmail.com> writes:
> I've opened a file in emacs and I've worked on it and saved it. But,
> suddenly I forgot in which directory the file is. How can I see the
> directory where the opened file is in emacs? I don't want to use the
> bash to get this information.
C-x C-f in the file buffer will show you the directory in the
minibuffer.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Get file info in emacs
2011-03-27 13:32 Pedro Costa
@ 2011-03-27 15:23 ` Jose A. Ortega Ruiz
0 siblings, 0 replies; 5+ messages in thread
From: Jose A. Ortega Ruiz @ 2011-03-27 15:23 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, Mar 27 2011, Pedro Costa wrote:
> Hi,
>
> I've opened a file in emacs and I've worked on it and saved it. But,
> suddenly I forgot in which directory the file is. How can I see the
> directory where the opened file is in emacs? I don't want to use the
> bash to get this information.
M-x pwd
HTH,
jao
--
Lower your voice and strengthen your argument. -Lebanese proverb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Get file info in emacs
2011-03-27 13:37 ` Get file info in emacs Pascal J. Bourguignon
@ 2011-03-27 15:38 ` B. T. Raven
0 siblings, 0 replies; 5+ messages in thread
From: B. T. Raven @ 2011-03-27 15:38 UTC (permalink / raw)
To: help-gnu-emacs
Pascal J. Bourguignon wrote:
> Pedro Costa <psdc1978@gmail.com> writes:
>> I've opened a file in emacs and I've worked on it and saved it. But,
>> suddenly I forgot in which directory the file is. How can I see the
>> directory where the opened file is in emacs? I don't want to use the
>> bash to get this information.
>
> C-x C-f in the file buffer will show you the directory in the
> minibuffer.
>
>
Also, if you use the menu bar, turning on this variable:
buffers-menu-show-directories is a variable defined in `menu-bar.el'.
Its value is t
will shown directory of associated files in the buffer list.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Get file info in emacs
[not found] <mailman.0.1301232737.13811.help-gnu-emacs@gnu.org>
2011-03-27 13:37 ` Get file info in emacs Pascal J. Bourguignon
@ 2011-03-27 17:02 ` Evans Winner
1 sibling, 0 replies; 5+ messages in thread
From: Evans Winner @ 2011-03-27 17:02 UTC (permalink / raw)
To: help-gnu-emacs
,------ Pedro Costa wrote ------
| I've opened a file in emacs and I've worked on it and
| saved it. But, suddenly I forgot in which directory the
| file is. How can I see the directory where the opened
| file is in emacs? I don't want to use the bash to get
| this information.
When the buffer of the file in question is the current
buffer, do M-x pwd RET.
All this does is show the local value of the variable
`default-directory'.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-27 17:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.0.1301232737.13811.help-gnu-emacs@gnu.org>
2011-03-27 13:37 ` Get file info in emacs Pascal J. Bourguignon
2011-03-27 15:38 ` B. T. Raven
2011-03-27 17:02 ` Evans Winner
2011-03-27 13:32 Pedro Costa
2011-03-27 15:23 ` Jose A. Ortega Ruiz
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).