From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich 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: Tue, 13 Sep 2005 07:14:41 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <1126436508.461480.28080@z14g2000cwz.googlegroups.com> <85d5nfe3oy.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1126596146 9724 80.91.229.2 (13 Sep 2005 07:22:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2005 07:22:26 +0000 (UTC) Bcc: ilya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 13 09:22:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EF56g-0000Jw-CP for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Sep 2005 09:21:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EF56f-0002BW-QY for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Sep 2005 03:21:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!ilya Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: powdermilk.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1126595681 59650 169.229.140.13 (13 Sep 2005 07:14:41 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Tue, 13 Sep 2005 07:14:41 +0000 (UTC) User-Agent: trn [how to get a version via %-escapes???] with a custom header X-How-To-Reach-Me: The From: address is valid X-How-To-Disable-Cc: Put in the headers the line: Mail-Copies-To: never \!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 Originator: ilya@powdermilk Original-Xref: shelby.stanford.edu gnu.emacs.help:133890 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:29442 Archived-At: [A complimentary Cc of this posting was sent to David Kastrup ], who wrote in article <85d5nfe3oy.fsf@lola.goethe.zz>: > > 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. a) Can't parse your last paragraph; b) I vaguely remember indeed somebody wanting to propagate the code from imenu-go back into etags; it may be that pop-tag-mark has the functionality of imenu-go (at least when imenu-go works with tags; it can get info where-to-jump from other sources too). c) My experience with my code propagated back to Emacs is very negative: a lot of times the resulting code has only subset of the original functionality. So I have no incentive to check how well pop-tag-mark behaves... Hope this helps, Ilya