etags and inner functions

C

cognominal

I am trying to use etags to create a tag file for emacs.
It fails miserably with prototype.js.
It seems to work on simpler files.
Is there an alternative?

Thanks
 
T

Thomas 'PointedEars' Lahn

cognominal said:
I am trying to use etags to create a tag file for emacs.
It fails miserably with prototype.js.
It seems to work on simpler files.
Is there an alternative?

Do not use prototype.js.

("Doctor, my arm hurts when I move it!" -- "Don't move it then.")

<URL:http://jibbering.com/faq/>

That said, this newsgroup is not the Prototype.js support.


PointedEars
 
C

cognominal

Do not use prototype.js.

("Doctor, my arm hurts when I move it!" -- "Don't move it then.")

Wrong answer but I can follow on the metaphor...

One sees a doctor to get help.
Hopefully real doctors helps people with broken arms instead of having
cheap fun at them.
Well. maybe not true anymore for more complex ailments.
You go to a generalist that refer you to a specialist that can help you
for the specific disease at the cost of you general health.
Many diseases are easily cured. Others are not. The rest are
psychosomatic.
They should be approached in concerted ways : a psychoanalytic way
because
the problem is rooted in troubles not solved in the early infancy,
a comportemental way because the person has acquired wrong habits
he should replace by saner ones, in a medical way because the problem m
anifests itself with medical illness and symptoms. May be sophrology
too,
so he can cope with the stress.
The problem is that these kinds of specialist don't want to talk
together.
Seing them alternatively is probably worse than finding the one that
will
be the most helpful.

Back to my problem which cross boundarries like the disease; should I
go to comp.lang.emacs, whatever support group
for prototype.js. or stay here to hope for an answer?
<URL:http://jibbering.com/faq/>

That said, this newsgroup is not the Prototype.js support.

My question is not about prototype.js but about tag support by emacs
for complex javascript files; prototype.js being just an illustration.
Thx for pointing the faq but it is silent about emacs.
I suppose comp.lang.javascript is not so bad a choice to ask a
question about
tools to edit javascript.

Thx for you attention.
 
T

Thomas 'PointedEars' Lahn

cognominal said:
Do not use prototype.js.

("Doctor, my arm hurts when I move it!" -- "Don't move it then.")

Wrong answer but I can follow on the metaphor...
[...]

No, you cannot. You do not show us your arm (or at least a finger),
as recommended in the FAQ, so that we can see at least why it might
hurt.


PointedEars
 
V

VK

cognominal said:
I am trying to use etags to create a tag file for emacs.
It fails miserably with prototype.js.
It seems to work on simpler files.
Is there an alternative?

What in the name does it suppose to mean?

What does "use etags" mean? You mean HTTP's Etag header? Truthfully
this is the only one coming to my mind, but it has no relation to
JavaScript as such. I guess it's Etag though as you also mention some
obscure "tag file". But what emacs GNU project has to do with it?

"It fails miserably with prototype.js" You mean the crypted message
above? Sad to know, but without a key no one can help really - nor even
type in some meaningful consolation :-( :)

Trying to be Mr.Holms I may guess (only guess) that you are using the
ajaxoid part of propotype.js to gather some server response headers and
it doesn't work for some reasons in the way you want.

Either I'm right or not: please do not crypt your messages anymore ;-)
Please simply post the minimum code (URL is the best), intended
behavior description and actual behavior description.
 
C

cognominal

Thanks, but you tried to solve the problem as a pure javascript one.
It is a really problem with the editor emacs and its tags mechanism
in the context of javascript files.
With etags one parse the file and build a tag file.
These tags are useful to find a function definition from
one of its call. It is a nive feature to navigate within source files.

I was not more expicit because I supposed that people who would not
undestand the question would not answer but because you did I owed
an explanation and a thanks.
I thought that the comp.lang.javascript forum would be appropriate
because the standard emacs did not support the request feature. So
a javascript programmer may have built it for emacs.

But I did not realize that the majority of this forum population is
using windows.
So they are probaby not using emacs. On the other hand, on gnu.emacs,
they
may have been confronted to the same problem, even if with another
language.
I will try there.

As I said to PointedEars when answering cheap shot and using his own
medical metaphor, I was not sure about what the kind of "specialist"
was
best to ask. As a typical specialist. PointedEars did not even tried to
parse a question that
was not totally formatted in his frame of mind.

Thanks to go, contrary to him, beyond the pavlovian answer "show me
the code".
 
L

Lasse Reichstein Nielsen

cognominal said:
But I did not realize that the majority of this forum population is
using windows.
So they are probaby not using emacs.

Non-sequitor :)
I'm quite happily using Emacs on Windows. Not a very advanced user,
though, so I can't help with etags :)

/L
 
T

Thomas 'PointedEars' Lahn

cognominal said:
But I did not realize that the majority of this forum population is
using windows.

Nonsense. Watch my headers, for example.
[...]
As I said to PointedEars when answering cheap shot and using his own
medical metaphor, I was not sure about what the kind of "specialist"
was best to ask.

Such a question should be posted to comp.lang.misc and the like.
As a typical specialist. PointedEars did not even tried to parse a
question that was not totally formatted in his frame of mind.
Thanks to go, contrary to him, beyond the pavlovian answer "show me
the code".

This newsgroup is not your Crystal Ball. Go away.


PointedEars
 
R

Randy Webb

Thomas 'PointedEars' Lahn said the following on 3/27/2006 6:08 PM:
Nonsense. Watch my headers, for example.

What is Nonsense is your BS reply. Do you understand what "majority of
this forum population" means? (Not that comp.lang.javascript is a
forum). Let me explain it to you because it is obvious that one of two
things is true:

1) You did not comprehend what you read.
2) You do not know what "majority" means.

majority: a number greater than half of a total.


Now, over half of the people in this group use Windows (probably closer
to 90% or better). And that my friend makes the "majority of this forum
population using windows)" a 100% true statement.

You missed the boat on this one.....


--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers. <URL: http://www.safalra.com/special/googlegroupsreply/ >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top