Add support for emacs style tags. #4

Closed
wants to merge 1 commit into
from

Projects

None yet

4 participants

@sathlan
sathlan commented Jan 24, 2013

Hi,

This add emacs support, by creating a unique tags file in the current directory collecting the tags from all the gems. Delete the TAGS file if it exists.

Regards,

@sathlan sathlan Add support for emacs style tags.
Create a unique tags file in the current directory collecting the tags
from all the gems.  Delete the TAGS file if it exists.
b366b14
@roman
roman commented Feb 22, 2013

+1 on this one

@tpope
Owner
tpope commented Feb 23, 2013

I don't really get the value of having a blob of tags for every gem on the system. Isn't everyone using Bundler now?

@roman
roman commented Feb 24, 2013

Well, actually, I was using this just for reading library source code more easily, not involved in a ruby project just now :-)

@sathlan
sathlan commented Feb 25, 2013

Hi,

I use it in rvm/bundler environment. Doing gem ctags -e make me a nice TAGS file exploitable by emacs to lookup function in all the gems involved. It's very useful to read source code as roman pointed out. It's the equivalent of the "Vim Tips" part of the documentation but for emacs.

@flooose
flooose commented Jun 22, 2013

+1 on emacs support. Question for me is if you're not happy about this implementation, how would you like to see it? Config file? I'd be happy to help.

@tpope
Owner
tpope commented Apr 3, 2014

I could see customizing the arguments passed to ctags in .gemrc. If anyone's into that, open an issue (or better, a pull request, since I'm probably not going to implement it myself).

I'm not going to add support for creating a giant tags file. It only makes the slightest bit of sense if you're using isolated gemsets, and even then that's a crude axe to swing compared to something Bundler related.

@tpope tpope closed this Apr 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment