unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26181: Remove etags
@ 2017-03-19 23:15 Glenn Morris
  2017-03-20 18:39 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Glenn Morris @ 2017-03-19 23:15 UTC (permalink / raw)
  To: 26181

Package: emacs
Severity: wishlist
Version: 25.2

I've never understood why Emacs includes a tags program.
It's not part of the normal remit of a text editor.

This was previously discussed:
http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00075.html

It sounds like the answer is "historical reasons".
The situation has changed since then in that etags no longer has a
maintainer (IIUC).

I would like to suggest removing etags so that the time saved can be
spent on other things.

Having our own tags program means we can tweak it to work better for our
own code; but conversely it would be better if our code Just Worked with
standard (ie external) tools.





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

* bug#26181: Remove etags
  2017-03-19 23:15 bug#26181: Remove etags Glenn Morris
@ 2017-03-20 18:39 ` Eli Zaretskii
  2017-03-20 20:35   ` Andreas Politz
  2017-03-21  9:03 ` Dmitry Gutov
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2017-03-20 18:39 UTC (permalink / raw)
  To: Glenn Morris, Francesco Potortì; +Cc: 26181

> From: Glenn Morris <rgm@gnu.org>
> Date: Sun, 19 Mar 2017 19:15:18 -0400
> 
> I would like to suggest removing etags so that the time saved can be
> spent on other things.

What is considered a replacement?  The two I know about, GNU Global
and Exuberant ctags, don't have support for some of the languages we
support in etags (e.g., Ada).  And Exuberant ctags seems not to be
developed anymore(?).





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

* bug#26181: Remove etags
  2017-03-20 18:39 ` Eli Zaretskii
@ 2017-03-20 20:35   ` Andreas Politz
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Politz @ 2017-03-20 20:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 26181

Eli Zaretskii <eliz@gnu.org> writes:

> And Exuberant ctags seems not to be developed anymore(?).

There is an effort to continue development.

https://github.com/universal-ctags/ctags

-ap





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

* bug#26181: Remove etags
  2017-03-19 23:15 bug#26181: Remove etags Glenn Morris
  2017-03-20 18:39 ` Eli Zaretskii
@ 2017-03-21  9:03 ` Dmitry Gutov
  2017-03-21 10:34   ` Francesco Potortì
  2017-03-21 15:42   ` Eli Zaretskii
  2017-03-29  5:14 ` John Wiegley
  2017-04-03 20:54 ` Glenn Morris
  3 siblings, 2 replies; 11+ messages in thread
From: Dmitry Gutov @ 2017-03-21  9:03 UTC (permalink / raw)
  To: Glenn Morris, 26181

On 20.03.2017 01:15, Glenn Morris wrote:

> I've never understood why Emacs includes a tags program.
> It's not part of the normal remit of a text editor.

FWIW, it has been handy when we introduced xref and started treating the 
tags a bit more strictly.

> The situation has changed since then in that etags no longer has a
> maintainer (IIUC).

AFAIK Eli is the maintainer now. And it's handy to have for now, at 
least until Universal Ctags is widely available across distributions, 
handles all languages as well as etags does, and outputs correct entries 
WRT implicit/explicit tag names (not 100% sure there is a problem, but 
it's something that we had to fix in etags recently, at least).

Having all these conditions satisfied seems to be a .

> Having our own tags program means we can tweak it to work better for our
> own code; but conversely it would be better if our code Just Worked with
> standard (ie external) tools.

The latter might mean learning to use the ctags output (Vim format).





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

* bug#26181: Remove etags
  2017-03-21  9:03 ` Dmitry Gutov
@ 2017-03-21 10:34   ` Francesco Potortì
  2017-03-21 15:42   ` Eli Zaretskii
  1 sibling, 0 replies; 11+ messages in thread
From: Francesco Potortì @ 2017-03-21 10:34 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 26181

Dmitry Gutov:
>AFAIK Eli is the maintainer now. And it's handy to have for now, at 
>least until Universal Ctags is widely available across distributions, 
>handles all languages as well as etags does, and outputs correct entries 
>WRT implicit/explicit tag names (not 100% sure there is a problem, but 
>it's something that we had to fix in etags recently, at least).

I agree.  Generally speaking, etags requires little maintenance, being
mature (sorry for not being able to provide even this little maintenance
any more).  Certainly less than having to manage an external tool.

Glenn Morris:
>> Having our own tags program means we can tweak it to work better for our
>> own code; but conversely it would be better if our code Just Worked with
>> standard (ie external) tools.
>
>The latter might mean learning to use the ctags output (Vim format).

Only if the above conditions are satisfied, plus having the same amount
of information and not much bigger size.





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

* bug#26181: Remove etags
  2017-03-21  9:03 ` Dmitry Gutov
  2017-03-21 10:34   ` Francesco Potortì
@ 2017-03-21 15:42   ` Eli Zaretskii
  2017-03-21 16:45     ` Dmitry Gutov
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2017-03-21 15:42 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 26181

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Tue, 21 Mar 2017 11:03:24 +0200
> 
> And [etags is] handy to have for now, at least until Universal Ctags
> is widely available across distributions

This indeed seems like the most important prerequisite, because the
command-line options accepted by Universal ctags are incompatible with
those of etags, so supporting both would be a pain.

> > Having our own tags program means we can tweak it to work better for our
> > own code; but conversely it would be better if our code Just Worked with
> > standard (ie external) tools.
> 
> The latter might mean learning to use the ctags output (Vim format).

You mean, if we want to support tools beyond Universal ctags?
(Because the latter supports Emacs-compatible TAGS output.)  Yes, if
we want to support other tools, we'd need to extend etags.el or rely
on external packages for parsing their tags tables.  E.g. GNU Global
doesn't support TAGS format even as an option, AFAIK.





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

* bug#26181: Remove etags
  2017-03-21 15:42   ` Eli Zaretskii
@ 2017-03-21 16:45     ` Dmitry Gutov
  0 siblings, 0 replies; 11+ messages in thread
From: Dmitry Gutov @ 2017-03-21 16:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 26181

On 21.03.2017 17:42, Eli Zaretskii wrote:

>> The latter might mean learning to use the ctags output (Vim format).
> 
> You mean, if we want to support tools beyond Universal ctags?

Not what I meant.

> (Because the latter supports Emacs-compatible TAGS output.) 

It officially does, but if etags is no more, the TAGS format has no 
reference implementation, and thus becomes less relevant and harder to 
conform to.

The Vim tags format is clearly more important to a program like ctags, 
so we might want to get to supporting that. It's also more rich, IIUC.

> Yes, if
> we want to support other tools, we'd need to extend etags.el or rely
> on external packages for parsing their tags tables.  E.g. GNU Global
> doesn't support TAGS format even as an option, AFAIK.

True. For Global, I think the vast majority of code in etags.el becomes 
irrelevant.





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

* bug#26181: Remove etags
  2017-03-19 23:15 bug#26181: Remove etags Glenn Morris
  2017-03-20 18:39 ` Eli Zaretskii
  2017-03-21  9:03 ` Dmitry Gutov
@ 2017-03-29  5:14 ` John Wiegley
  2017-04-03 20:54 ` Glenn Morris
  3 siblings, 0 replies; 11+ messages in thread
From: John Wiegley @ 2017-03-29  5:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 26181

>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:

GM> I've never understood why Emacs includes a tags program. It's not part of
GM> the normal remit of a text editor.

That description applies to the majority of what Emacs has become today. :)

ctags is included because it's an auxiliary program to extend the ability of
Emacs to jump around code. That it's not implement in Emacs Lisp, or the C
core of Emacs itself, is really beside the point. For all intents and
purposes, it's part of what Emacs offers to the *user*, and I bet there are
many users who aren't even aware that it's a separate program.

GM> I would like to suggest removing etags so that the time saved can be spent
GM> on other things.

I appreciate your desire to optimize our project management burdens, but this
is better mentioned on emacs-devel than a bug report.

Removing etags will not increase the time spent on other things. You yourself
can ignore etags, and spend your time elsewhere, but as long as someone is
willing to keep working on etags, then by definition that is where they choose
to spend their time. I could take away the opportunity, certainly, but I can't
then allocate the time it would free up.

If no one is maintaining something, *and* no one is using it, that's the time
to consider deprecation and eventual removal.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





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

* bug#26181: Remove etags
  2017-03-19 23:15 bug#26181: Remove etags Glenn Morris
                   ` (2 preceding siblings ...)
  2017-03-29  5:14 ` John Wiegley
@ 2017-04-03 20:54 ` Glenn Morris
  2017-04-04 16:20   ` Richard Stallman
  3 siblings, 1 reply; 11+ messages in thread
From: Glenn Morris @ 2017-04-03 20:54 UTC (permalink / raw)
  To: 26181


PS I should have suggested this initially, but why not split it off into
a separate project from Emacs? Bundling unrelated packages into one
project is generally bad form.





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

* bug#26181: Remove etags
  2017-04-03 20:54 ` Glenn Morris
@ 2017-04-04 16:20   ` Richard Stallman
  2022-02-08  6:27     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2017-04-04 16:20 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 26181

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

etags exists for Emacs.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.






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

* bug#26181: Remove etags
  2017-04-04 16:20   ` Richard Stallman
@ 2022-02-08  6:27     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-08  6:27 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Glenn Morris, 26181

Richard Stallman <rms@gnu.org> writes:

> etags exists for Emacs.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

There didn't seem to be much enthusiasm from anybody in removing etags
from Emacs, so I'm therefore closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2022-02-08  6:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-19 23:15 bug#26181: Remove etags Glenn Morris
2017-03-20 18:39 ` Eli Zaretskii
2017-03-20 20:35   ` Andreas Politz
2017-03-21  9:03 ` Dmitry Gutov
2017-03-21 10:34   ` Francesco Potortì
2017-03-21 15:42   ` Eli Zaretskii
2017-03-21 16:45     ` Dmitry Gutov
2017-03-29  5:14 ` John Wiegley
2017-04-03 20:54 ` Glenn Morris
2017-04-04 16:20   ` Richard Stallman
2022-02-08  6:27     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

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