all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unable to use TAGS in xemacs
@ 2003-03-12 14:18 Ganesan T
  2003-03-12 16:38 ` Stephen J. Turnbull
  0 siblings, 1 reply; 7+ messages in thread
From: Ganesan T @ 2003-03-12 14:18 UTC (permalink / raw)


Hi:

I am using Xemacs21.1 (patch 12) on Sun 0S. I am unable to use
the tags file generated with the etags. When I press M-., the
emacs picks the first word in the pattern (which is multi-word
seperated by white space) given in the TAGS file and complains that no
pattern found in that file. 

Also how to set the emacs that it should noit look for the pattern
from the starting on a line, but any where in that line.

I have given a snippet from my TAGS file. In all the cases
given below, emacs picks up only the function as the tag
and opens the first file in the list.

Is it there any setting that need to be done 
for specifying the tags-format regex in the .emacs file

Thanks for your help
gana


== TAGS file
^L
AGC.m,197
function [ATTSW, GC, GMemAddr,agc_status,accum_out, AGCLogicState,
InternalNodes^?20,938
^L
AGCAnalogWrapper11a.m,134
function [AGCGain, AGCState, InternalNodes] =
AGCAnalogWrapper11a(AGCIn,  PSOn, ^?58,3823
^L
AGCAnalogWrapper11b.m,133
function [AGCGain, AGCState, InternalNodes] =
AGCAnalogWrapper11b(AGCIn,  PSOn, ^?59,3868
^L
AGCDigitalWrapper.m,161
function [AGCDigitalGain, CarrierLoss, DCOffset, AGCDigitalState] = 
AGCDigitalW^?55,2275
^L
AGCDigitalWrapper_fx.m,207
function [  AGCDigitalGainI,  AGCDigitalGainQ,  CarrierLoss, 
CarrierTooHigh,  A^?103,3954


== actual code lines to be matched are 

2.    function [AGCGain, AGCState, InternalNodes] =
AGCAnalogWrapper11a(AGCIn,
4.    AGCDigitalWrapper(     ...

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

* Re: Unable to use TAGS in xemacs
  2003-03-12 14:18 Unable to use TAGS in xemacs Ganesan T
@ 2003-03-12 16:38 ` Stephen J. Turnbull
  2003-03-13  7:22   ` Ganesan Thiagarajan
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen J. Turnbull @ 2003-03-12 16:38 UTC (permalink / raw)


>>>>> "Ganesan" == Ganesan T <gana@ieee.org> writes:

    Ganesan> I am using Xemacs21.1 (patch 12) on Sun 0S. I am unable
    Ganesan> to use the tags file generated with the etags.

Make sure you're using the etags distributed with XEmacs.  I believe
that "Exuberant" ctags distributes an etags which doesn't produce the
same TAGS files as etags from Emacsen do.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.

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

* Re: Unable to use TAGS in xemacs
  2003-03-12 16:38 ` Stephen J. Turnbull
@ 2003-03-13  7:22   ` Ganesan Thiagarajan
  2003-03-13  8:14     ` Stephen J. Turnbull
  0 siblings, 1 reply; 7+ messages in thread
From: Ganesan Thiagarajan @ 2003-03-13  7:22 UTC (permalink / raw)


>>>>> "Stephen" == Stephen J Turnbull <stephen@xemacs.org> writes:

>>>>> "Ganesan" == Ganesan T <gana@ieee.org> writes:
 Ganesan> I am using Xemacs21.1 (patch 12) on Sun 0S. I am unable
 Ganesan> to use the tags file generated with the etags.

 Stephen> Make sure you're using the etags distributed with XEmacs.  I believe
 Stephen> that "Exuberant" ctags distributes an etags which doesn't produce the
 Stephen> same TAGS files as etags from Emacsen do.

Stephen:

Thanks for your response. I downloaded the C-code from the web for
etags and used it. Is it different from the emacs supplied one?
I also saw some etags.el in the web. Is it different ? How do
I find out which is the correct one?

Thanks for your time
gana

-- 

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

* Re: Unable to use TAGS in xemacs
  2003-03-13  7:22   ` Ganesan Thiagarajan
@ 2003-03-13  8:14     ` Stephen J. Turnbull
  2003-04-08 14:50       ` Joseph R. Kiniry
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen J. Turnbull @ 2003-03-13  8:14 UTC (permalink / raw)


>>>>> "Ganesan" == Ganesan Thiagarajan <gana@ti.com> writes:

    Ganesan> Thanks for your response. I downloaded the C-code from
    Ganesan> the web for etags and used it. Is it different from the
    Ganesan> emacs supplied one?

There are perhaps four sources for etags: Exuberant ctags (I'm not
absolutely sure they provide etags, but ISTR they do), Francisco
Portorti's "canonical" Emacs etags, GNU Emacs (which tracks Portorti's
version very closely), and XEmacs (which is synched to Portorti's
version regularly, perhaps every 3 months or so).  The last three are
99% interoperable, Exuberant ctags is a quite different file format.

If you built XEmacs from source, the current version used by XEmacs
will be built in lib-src/etags.

    Ganesan> I also saw some etags.el in the web. Is it different ? 
    Ganesan> How do I find out which is the correct one?

The GNU Emacs and XEmacs etags.el are somewhat different from each
other.  These are not a substitute for the etags program.  etags
creates the TAGS file, etags.el interprets it and implements the
tag-finding operations for Emacs.

Use the etags.el supplied by your version of XEmacs unless you really
know what you're doing.  There are a lot of variants out there, and
mostly they should all work, but the documentation will be most
intelligible if you use XEmacs's version.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.

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

* Re: Unable to use TAGS in xemacs
  2003-03-13  8:14     ` Stephen J. Turnbull
@ 2003-04-08 14:50       ` Joseph R. Kiniry
  2003-04-08 18:05         ` Shyamal Prasad
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph R. Kiniry @ 2003-04-08 14:50 UTC (permalink / raw)


"Stephen J. Turnbull" <stephen@xemacs.org> wrote in message news:<877kb3vg28.fsf@tleepslib.sk.tsukuba.ac.jp>...
> >>>>> "Ganesan" == Ganesan Thiagarajan <gana@ti.com> writes:
> 
>     Ganesan> Thanks for your response. I downloaded the C-code from
>     Ganesan> the web for etags and used it. Is it different from the
>     Ganesan> emacs supplied one?
> 
> There are perhaps four sources for etags: Exuberant ctags (I'm not
> absolutely sure they provide etags, but ISTR they do), Francisco
> Portorti's "canonical" Emacs etags, GNU Emacs (which tracks Portorti's
> version very closely), and XEmacs (which is synched to Portorti's
> version regularly, perhaps every 3 months or so).  The last three are
> 99% interoperable, Exuberant ctags is a quite different file format.

A bit of clarification: exuberant ctags provides full support for all
tags-based mechanisms in (x)emacs.  There are some issues with the
default settings for some customization, but it is easily tweaks.  I
highly recomend exuberant ctags as it provides comprehensive support
for a vast number of languages.  See the exuberant ctags FAQ for more
information on these (x)emacs-related issues:
http://ctags.sourceforge.net/faq.html

Joe Kiniry

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

* Re: Unable to use TAGS in xemacs
  2003-04-08 14:50       ` Joseph R. Kiniry
@ 2003-04-08 18:05         ` Shyamal Prasad
  2003-04-09  9:12           ` Joseph Kiniry
  0 siblings, 1 reply; 7+ messages in thread
From: Shyamal Prasad @ 2003-04-08 18:05 UTC (permalink / raw)


    "kiniry" == kiniry  <kiniry@acm.org> writes:

    kiniry> A bit of clarification: exuberant ctags provides full
    kiniry> support for all tags-based mechanisms in (x)emacs. 

Hi,

Does exuberant ctags support elisp these days? It's been a while, but
I remember that a few years ago it did not get elisp right, and did
not support the --regex option from emacs etags. I know this because
Slackware Linux would give me exuberant ctags by default, and it just
did not cut it for me because it barfed on elisp, and my --regex
options for python did not work. If it's changed, I'd use it again.

Cheers!
Shyamal

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

* Re: Unable to use TAGS in xemacs
  2003-04-08 18:05         ` Shyamal Prasad
@ 2003-04-09  9:12           ` Joseph Kiniry
  0 siblings, 0 replies; 7+ messages in thread
From: Joseph Kiniry @ 2003-04-09  9:12 UTC (permalink / raw)


Shyamal Prasad <shyamal.prasad@ericsson.com> writes:

>     "kiniry" == kiniry  <kiniry@acm.org> writes:
>
>     kiniry> A bit of clarification: exuberant ctags provides full
>     kiniry> support for all tags-based mechanisms in (x)emacs. 
>
> Hi,
>
> Does exuberant ctags support elisp these days? It's been a while, but
> I remember that a few years ago it did not get elisp right, and did
> not support the --regex option from emacs etags. I know this because
> Slackware Linux would give me exuberant ctags by default, and it just
> did not cut it for me because it barfed on elisp, and my --regex
> options for python did not work. If it's changed, I'd use it again.
>
> Cheers!
> Shyamal

Hello Shyamal,

I do not use exuberant ctags with elisp or Python, but the ChangeLog
reflects a number of fixes wrt the support for these two languages.
See http://ctags.sourceforge.net/news.html for more details.

Joe

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

end of thread, other threads:[~2003-04-09  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 14:18 Unable to use TAGS in xemacs Ganesan T
2003-03-12 16:38 ` Stephen J. Turnbull
2003-03-13  7:22   ` Ganesan Thiagarajan
2003-03-13  8:14     ` Stephen J. Turnbull
2003-04-08 14:50       ` Joseph R. Kiniry
2003-04-08 18:05         ` Shyamal Prasad
2003-04-09  9:12           ` Joseph Kiniry

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.