From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evans Winner Newsgroups: gmane.emacs.help Subject: Re: Get file info in emacs Date: Sun, 27 Mar 2011 11:02:16 -0600 Organization: Aioe.org NNTP Server Message-ID: <874o6ov6nb.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301247638 9706 80.91.229.12 (27 Mar 2011 17:40:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 17:40:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 19:40:31 2011 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 1Q3twz-0005tw-NL for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 19:40:29 +0200 Original-Received: from localhost ([127.0.0.1]:39734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3twz-0007wW-9F for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 13:40:29 -0400 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 4xmhsRr5Aeb6D0t2Thq8sQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:Oru9Bpwvkde53EnETTRg/+PCaqU= Original-Xref: usenet.stanford.edu gnu.emacs.help:186345 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:80475 Archived-At: ,------ 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'.