kubo39's blog

ただの雑記です。

日曜日一瞬だったんだが〜〜〜?

日曜日をやった。ほとんど睡眠で終わったのでなにもできなかった。終わり。

*追記

tags

タグジャンプというやつ。いろいろある。

手元のctagsコマンドとetagsコマンドはどちらもetagsのようだ。

( ՞ਊ ՞) :~ $ ctags --version
ctags (GNU Emacs 25.1.50)
Copyright (C) 2016 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README
( ՞ਊ ՞) :~ $ etags --version
etags (GNU Emacs 25.1.50)
Copyright (C) 2016 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README

これを試してみたい。

https://github.com/dan-t/rusty-tags

etagsではだめか。

( ՞ਊ ՞) :~/dev/rust/mioco (master) $ rusty-tags emacs
Fetching source of dependencies ...
ctags: invalid option -- 'e'
        Try 'ctags --help' for a complete list of options.

これを試してみよう。

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

特にオプションをつけずにビルド。

( ՞ਊ ՞) :~ $ ctags --version
Universal Ctags 0.0.0(34ff9d4), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Nov  7 2016, 02:53:21
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +option-directory, +coproc, +xpath, +yaml

普通にこれをビルドしたら rusty-tags が動いた。