From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman 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: 11 Sep 2005 09:43:29 -0400 Message-ID: <873bobn2im.fsf@buug.org> 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 1126446907 14521 80.91.229.2 (11 Sep 2005 13:55:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2005 13:55:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 15:55:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EESHL-0001hL-E8 for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2005 15:53:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EESHJ-0003j9-7X for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2005 09:53:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EESBf-0003EU-D1 for help-gnu-emacs@gnu.org; Sun, 11 Sep 2005 09:48:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EESBa-0003DA-I8 for help-gnu-emacs@gnu.org; Sun, 11 Sep 2005 09:47:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EESBZ-00038Q-VQ for help-gnu-emacs@gnu.org; Sun, 11 Sep 2005 09:47:58 -0400 Original-Received: from [198.144.194.12] (helo=disorder.primate.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EES7j-0005NB-Ry for help-gnu-emacs@gnu.org; Sun, 11 Sep 2005 09:44:00 -0400 Original-Received: from disorder.primate.net (localhost [127.0.0.1]) by disorder.primate.net (8.13.4/8.13.4/Debian-4) with ESMTP id j8BDhXxm027937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 11 Sep 2005 06:43:33 -0700 Original-Received: from localhost (localhost [[UNIX: localhost]]) by disorder.primate.net (8.13.4/8.13.4/Submit) id j8BDhUg1027936 for help-gnu-emacs@gnu.org; Sun, 11 Sep 2005 06:43:30 -0700 X-Authentication-Warning: disorder.primate.net: itz set sender to itz@buug.org using -f Original-Received: from itz by unicorn with local (Exim 3.36 #1 (Debian)) id 1EES7F-0000Tp-00; Sun, 11 Sep 2005 09:43:29 -0400 Original-To: help-gnu-emacs@gnu.org X-Unicorn-Archive: yes In-Reply-To: <1126436508.461480.28080@z14g2000cwz.googlegroups.com> Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (disorder.primate.net [127.0.0.1]); Sun, 11 Sep 2005 06:43:33 -0700 (PDT) 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:29387 Archived-At: zhengfish> Hi, I'm a newbie for emacs+etags. when i read source in zhengfish> emacs with etags: M-. jump to the tag(called func), but then zhengfish> how can i jump BACK to the where the calling line? I don't think there is one way that always works. You have to notice if jumping to the tag you switched to a different buffer or not. If yes, just switch to the original buffer with C-x b. If not, use the fact that Emacs leaves a mark at the original spot, and do pop-mark (C-u C-SPC). -- Optimist: We're only two weeks behind schedule. Pessimist: The schedule is a whole two weeks ahead of us.