[CRIU] [PATCHv2 1/2] build/nmk: use TAGS instead ETAGS and CTAGS

Dmitry Safonov dsafonov at virtuozzo.com
Thu Feb 25 03:10:40 PST 2016


On 02/25/2016 02:01 PM, Laurent Dufour wrote:
> On 25/02/2016 11:26, Dmitry Safonov wrote:
>> Impact: do not use both, do not try to use one of them without a check.
> Why not using both ?
>
> The man mentions:
>
> "The  etags  program is used to create a tag table file, in a format un‐
> derstood by emacs(1); the ctags program is used to create a similar ta‐
> ble  in a format understood by vi(1)."
>
> Would you please elaborate ?
I guess, people mostly use one of them: vi/vim or emacs.
As I see it: if you prefer emacs, you practically never launch
vi to do any thing. And vice versa.
So, I'm using vim and I don't have etags to generate tag
table file in emacs-format. And so `make tags` ends with
errors.

And if in your point of view some people use both emacs
and vi, we may run both, but with added checkup that
one has {c,e}tags program to generate them.

So, what's your point?
>
> Cheers,
> Laurent.
>


-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list