all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Noob Needs Help with TAGS
@ 2012-04-19  1:15 Cyberclops
  2012-04-19  5:09 ` chandan r
  2012-04-24  9:22 ` Chris Van Dusen
  0 siblings, 2 replies; 3+ messages in thread
From: Cyberclops @ 2012-04-19  1:15 UTC (permalink / raw
  To: Help-gnu-emacs


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.

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Noob Needs Help with TAGS
  2012-04-19  1:15 Noob Needs Help with TAGS Cyberclops
@ 2012-04-19  5:09 ` chandan r
  2012-04-24  9:22 ` Chris Van Dusen
  1 sibling, 0 replies; 3+ messages in thread
From: chandan r @ 2012-04-19  5:09 UTC (permalink / raw
  To: Cyberclops; +Cc: Help-gnu-emacs


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.
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Noob Needs Help with TAGS
  2012-04-19  1:15 Noob Needs Help with TAGS Cyberclops
  2012-04-19  5:09 ` chandan r
@ 2012-04-24  9:22 ` Chris Van Dusen
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Van Dusen @ 2012-04-24  9:22 UTC (permalink / raw
  To: Cyberclops; +Cc: Help-gnu-emacs

On Apr 18, 2012, at 8:15 PM, 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.
> 
> thanks,
> 
> Lowell Dennis
> --

One approach is described here:

http://emacs-fu.blogspot.com/2009/01/navigating-through-source-code-using.html

hth,
Chris.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-24  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19  1:15 Noob Needs Help with TAGS Cyberclops
2012-04-19  5:09 ` chandan r
2012-04-24  9:22 ` Chris Van Dusen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.