Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-04 Thread peterz
On Thu, Sep 03, 2020 at 09:26:04AM +0200, pet...@infradead.org wrote: > On Thu, Sep 03, 2020 at 11:07:28AM +0900, Masahiro Yamada wrote: > > Will re-implementing your sorting logic > > in bash look cleaner? > > Possibly, I can try, we'll see. It is somewhat cleaner, but it is _abysmally_ slow.

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-03 Thread peterz
On Thu, Sep 03, 2020 at 11:07:28AM +0900, Masahiro Yamada wrote: > Contributors stop caring after their code is merged, > but maintaining it is tiring. This seems to hold in general :/ > Will re-implementing your sorting logic > in bash look cleaner? Possibly, I can try, we'll see. > Or, in

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-02 Thread Masahiro Yamada
On Thu, Sep 3, 2020 at 1:26 AM wrote: > > On Thu, Sep 03, 2020 at 12:58:14AM +0900, Masahiro Yamada wrote: > > > Sorry for the long delay. > > > > First, this patch breaks 'make TAGS' > > if 'etags' is a symlink to exuberant ctags. > > > > > > masahiro@oscar:~/ref/linux$ etags --version > >

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-02 Thread peterz
On Thu, Sep 03, 2020 at 12:58:14AM +0900, Masahiro Yamada wrote: > Sorry for the long delay. > > First, this patch breaks 'make TAGS' > if 'etags' is a symlink to exuberant ctags. > > > masahiro@oscar:~/ref/linux$ etags --version > Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-02 Thread Masahiro Yamada
On Thu, Sep 3, 2020 at 12:58 AM Masahiro Yamada wrote: > > On Fri, Aug 7, 2020 at 2:28 AM wrote: > > > > > > One long standing annoyance I have with using vim-tags is that our tags > > file is not properly sorted. That is, the sorting exhuberant Ctags does > > is only on the tag itself. > > > >

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-02 Thread Masahiro Yamada
On Fri, Aug 7, 2020 at 2:28 AM wrote: > > > One long standing annoyance I have with using vim-tags is that our tags > file is not properly sorted. That is, the sorting exhuberant Ctags does > is only on the tag itself. > > The problem with that is that, for example, the tag 'mutex' appears a >

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-08-26 Thread peterz
On Thu, Aug 06, 2020 at 02:04:38PM +0200, pet...@infradead.org wrote: > > One long standing annoyance I have with using vim-tags is that our tags > file is not properly sorted. That is, the sorting exhuberant Ctags does > is only on the tag itself. > > The problem with that is that, for example,

[PATCH -v2] scipts/tags.sh: Add custom sort order

2020-08-06 Thread peterz
One long standing annoyance I have with using vim-tags is that our tags file is not properly sorted. That is, the sorting exhuberant Ctags does is only on the tag itself. The problem with that is that, for example, the tag 'mutex' appears a mere 505 times, 492 of those are structure members.