unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why Emacs uses etags when all other editors use ctags?
@ 2014-11-12 18:00 Andrey Lisin
  2014-11-17  1:43 ` Robert Thorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Lisin @ 2014-11-12 18:00 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

really why? Are there any advantages of etags format over standard
ctags? Is there any reason to increase the entropy?

Could anyone explain it? :)




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

* Re: Why Emacs uses etags when all other editors use ctags?
  2014-11-12 18:00 Why Emacs uses etags when all other editors use ctags? Andrey Lisin
@ 2014-11-17  1:43 ` Robert Thorpe
  2014-11-17  2:50   ` Andrey Lisin
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Thorpe @ 2014-11-17  1:43 UTC (permalink / raw)
  To: Andrey Lisin; +Cc: help-gnu-emacs

Andrey Lisin <andrey.lisin@gmail.com> writes:

> Hello,
>
> really why? Are there any advantages of etags format over standard
> ctags? Is there any reason to increase the entropy?
>
> Could anyone explain it? :)

Ctags is very VI specific.  The portion of each tag that takes the
editor to the right place in the code is a command for the ex program.
("Ex" is a part of VI originally it was a separate program but it isn't
in modern VI-like editors).  A valid Ctags program could put all sorts
of things in that field.  Instead Emacs uses the number of bytes from
the start of the code file.

BR,
Robert Thorpe



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

* Re: Why Emacs uses etags when all other editors use ctags?
  2014-11-17  1:43 ` Robert Thorpe
@ 2014-11-17  2:50   ` Andrey Lisin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Lisin @ 2014-11-17  2:50 UTC (permalink / raw)
  To: Robert Thorpe; +Cc: help-gnu-emacs

That makes sense. Thank you for the answer!

--
Regards,
Andrey Lisin





> On 17 Nov 2014, at 07:43, Robert Thorpe <rt@robertthorpeconsulting.com> wrote:
> 
> Andrey Lisin <andrey.lisin@gmail.com> writes:
> 
>> Hello,
>> 
>> really why? Are there any advantages of etags format over standard
>> ctags? Is there any reason to increase the entropy?
>> 
>> Could anyone explain it? :)
> 
> Ctags is very VI specific.  The portion of each tag that takes the
> editor to the right place in the code is a command for the ex program.
> ("Ex" is a part of VI originally it was a separate program but it isn't
> in modern VI-like editors).  A valid Ctags program could put all sorts
> of things in that field.  Instead Emacs uses the number of bytes from
> the start of the code file.
> 
> BR,
> Robert Thorpe



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

end of thread, other threads:[~2014-11-17  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 18:00 Why Emacs uses etags when all other editors use ctags? Andrey Lisin
2014-11-17  1:43 ` Robert Thorpe
2014-11-17  2:50   ` Andrey Lisin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).