[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Noob Needs Help with TAGS
From: |
chandan r |
Subject: |
Re: Noob Needs Help with TAGS |
Date: |
Thu, 19 Apr 2012 10:39:36 +0530 |
User-agent: |
mu4e 0.9.8.3; emacs 24.0.94.1 |
On Thursday 19 April 2012 06:45:45 AM IST, Cyberclops wrote:
>
> I am an extreme noob when it comes to emacs. I was getting tired of the lag
> of using remote desktop to use my gui editor of choice ... SlickEdit. So
> now I am using ssh and running emacs.
>
> One of the great things that Slick edit did was tagging. You could put your
> cursor on an item and hit Ctrl-. to go to it's definition. If there were
> multiple possible definitions it would pop up a window with all of the
> possibilities and let you chose. It would also remember where you navigated
> from and a simple Ctrl-, would take you back.
>
> SlickEdit would also automatically update your tagfile when you changed a
> file and the latest version would even do this retagging in the background.
>
> I am trying to get tagging working for me in emacs. I am using exuberent
> ctags. I know that the M-. command takes me to the definition. However,
> since I am working on an Android tree there is a multilevel directory
> structure and every time I want to use the tags I have to specify the
> directory its in.
>
> Is there a way to invoke emacs indicating the path to TAGS so that I don't
> have to specify it every time.
>
> Also, is there a way to be able to navigate back after using M-. and to
> have the TAGS updated when you save a file.
>
Type M-* to navigate back.
I don't know if there is an *automagic* way to update a TAGS file whenever a
project's file is saved. Have to think about using hooks efficiently to
implement it.
> thanks,
>
> Lowell Dennis
> --
> View this message in context:
> http://old.nabble.com/Noob-Needs-Help-with-TAGS-tp33711626p33711626.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>