From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fang lun gang Newsgroups: gmane.emacs.help Subject: modified xcscope.el (was re:xcscope browse history) Date: Thu, 04 Jan 2007 22:10:01 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <87odpekhmu.fsf@mail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167921640 5108 80.91.229.12 (4 Jan 2007 14:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 14:40:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 04 15:40:37 2007 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.50) id 1H2TlY-0007vz-RM for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Jan 2007 15:40:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2TlY-0002Wm-Ak for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Jan 2007 09:40:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 221.3.124.244 Original-X-Trace: news.cn99.com 1167922505 19607 221.3.124.244 (4 Jan 2007 14:55:05 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Thu, 4 Jan 2007 14:55:05 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:nFX1Oc2wQXykMURNjDGM9zB9SA4= Original-Xref: shelby.stanford.edu gnu.emacs.help:144533 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:40138 Archived-At: "bcjrstan@gmail.com" writes >>> Hi, >>> I use xcscope.el for Emacs to navigate souce code . However, I can't >>> figure out how I can go back and forth through the cscope lookup >>> history. >>> >>> For example, in emacs +etags , when I'm browsing source, I can >>> quickly come back to the places where I'm leaving behind with each >>> etags lookup ,just repeatedly using M-* >>> >>> Is there a way to do the same thing in the emacs-xcscope setup? >>> any help is greatly appreciated! Thanks! >>> Please check it out at http://www.emacswiki.org/cgi-bin/emacs-en/CScopeAndEmacs The source code can be downloaded from: http://www.emacswiki.org/cgi-bin/emacs/xcscope.el.gz Quotes: Thank Darryl for bringing us such an amazing tool. However, despite much convenience it provides there are still some guys, including me :-), asking for certain new feature now and then on news groups: going back and forth the search history. I really want this feature since searching is sometimes time-consuming. So I hacked it myself (Lisp:xcscope.el.gz). Your comments are appreciated. USAGE: For basic usage refer to original comments. To view previous search result, call cscope-pop-history (C-c s h). It works some like undo. To break current sequence of pop history, either perform a cscope search or run cscope-renew-history (C-c s r) explicitly. Regards, -- Fang lun gang