From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: etags: M-. jump to the tag(called func), but then how can i jump BACK(the calling line)? Date: Sun, 11 Sep 2005 22:42:53 +0200 Organization: Organization?!? Message-ID: <85d5nfe3oy.fsf@lola.goethe.zz> References: <1126436508.461480.28080@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126471589 13304 80.91.229.2 (11 Sep 2005 20:46:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2005 20:46:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 22:46:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EEYhT-00008o-BU for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2005 22:45:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EEYhS-0006BG-NT for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2005 16:45:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:XvHzY+Ym1hrUNmBMOI31U3ck+LQ= Original-Lines: 31 Original-NNTP-Posting-Date: 11 Sep 2005 22:42:53 MEST Original-NNTP-Posting-Host: e43413c4.newsread2.arcor-online.net Original-X-Trace: DXC=D=[KPoL9S5Jl=9hLK`A7fMQ5U85hF6f; DjW\KbG]kaMHQ>n?D9BSA]LA]:6FEb0VCJQ1Yo0:e7@PKc[Wn>\JAZH@Ec?`[F:Wf@Lo[UJnhM:TbD Original-X-Complaints-To: abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:133848 Original-To: help-gnu-emacs@gnu.org 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:29399 Archived-At: Ilya Zakharevich writes: > [A complimentary Cc of this posting was sent to > zhengfish > ], who wrote in article <1126436508.461480.28080@z14g2000cwz.googlegroups.com>: >> Hi, I'm a newbie for emacs+etags. >> when i read source in emacs with etags: M-. jump to the tag(called >> func), but then how can i jump BACK to the where the calling line? > > This is a gaping hole in the Emacs UI. I wrote a package, > imenu-go.el, which behaves "as expected". Hardly. M-* runs the command pop-tag-mark which is an interactive compiled Lisp function in `etags'. It is bound to M-*. (pop-tag-mark) Pop back to where M-. was last invoked. This is distinct from invoking M-. with a negative argument since that pops a stack of markers at which tags were found, not from where they were found. [back] -- David Kastrup, Kriemhildstr. 15, 44793 Bochum