From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: How to get full path of currently opened file? Date: Mon, 19 Sep 2011 21:16:28 +0000 (UTC) Organization: muc.de e.V. Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1332966961 1808 80.91.229.3 (28 Mar 2012 20:36:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 20:36:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 22:36:01 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCzb4-0002vY-Qv for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 22:35:58 +0200 Original-Received: from localhost ([::1]:57009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCywx-0004p6-PZ for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 15:54:31 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!newsfeed.freenet.ag!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: news.muc.de Original-X-Trace: colin.muc.de 1316466988 66455 193.149.48.2 (19 Sep 2011 21:16:28 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: Mon, 19 Sep 2011 21:16:28 +0000 (UTC) User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.2-STABLE (amd64)) Original-Xref: usenet.stanford.edu gnu.emacs.help:188875 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84154 Archived-At: jikk wrote: > HI, all > I'm trying to use emacs in combination with cscope. > Sometimes, I got lost by not knowing where the file is located in > source tree. > Is there any simple command that I use for this case? say, "M-x > display-file-path" or something similar. Using C-x C-v `find-alternate-file' displays the full path. Just do C-g to get back to normal editing. > Thanks for your help in advance. -- Alan Mackenzie (Nuremberg, Germany).