Coder Social home page Coder Social logo

indexing issue about counsel-etags HOT 5 OPEN

redguardtoo avatar redguardtoo commented on June 12, 2024
indexing issue

from counsel-etags.

Comments (5)

redguardtoo avatar redguardtoo commented on June 12, 2024

ctags version? OS? Emacs version? and counsel-etags version? Are you using git?

Currently I can only guess. This package only read the tags file created by ctags. Looks ctags misspell file path. To double check, could you open the file TAGS with any text editor and double check?

You can either install latest Exuberant Ctags from HomeBrew or use etags.el bundled with Emacs.

from counsel-etags.

kermorgant avatar kermorgant commented on June 12, 2024

Hello,

sorry for the lack of details, I sould have taken the time to make it right.

So I have those versions
OS : archlinux
Emacs 25.3
counsel-etags 20171111.608
project using git

About ctags, I have those two on my system

± % ctags --version Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Oct 24 2014, 14:15:58
Addresses: [email protected], http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex, +internal-sort

And

% ctags.emacs --version !10010
ctags (GNU Emacs 25.3)
Copyright (C) 2017 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README

I've checked inside the TAGS file, the path is also misspelked.
There is an update of counsel-etags so I will try that first.

EDIT updated to latest counsel-etags, rescanned code and same result.

from counsel-etags.

redguardtoo avatar redguardtoo commented on June 12, 2024

I tested with your sample directory php files without any problem. Looks it's your ctags setup.

You should use Exuberant Ctags. What's the output of which ctags?

Run ctags -e -R in your project to create TAGS file manually. Open it and check if the path is correct.

If the issue is still not resolved, prepare a minimum project and mail to chenbin DOT sh AT gmail

from counsel-etags.

kermorgant avatar kermorgant commented on June 12, 2024

Thanks,

"which ctags" outputs
/usr/bin/ctags
(it is Exuberant Ctags).

Runned from the command line, the paths are correct.

I guess there's some project setup involved in the issue as I have a similar symfony project with the same vendors, and no problem there.

So when I'll have some spare time, I'll try to prepare a project with the issue.

from counsel-etags.

redguardtoo avatar redguardtoo commented on June 12, 2024

Sure. Take your time.

When running counsel-etags-update-tags-force, my program will output the full cli into message buffer.

For example, mine is:

find . \( -iwholename "*/.git/*" -or -iwholename "*/.svn/*" -or -iwholename "*/.cvs/*" -or -iwholename "*/.bzr/*" -or -iwholename "*/.hg/*" -or -iwholename "*/bin/*" -or -iwholename "*/fonts/*" -or -iwholename "*/images/*" -or -iwholename "*/.DS_Store/*" -or -iwholename "*/.npm/*" -or -iwholename "*/.tmp/*" -or -iwholename "*/.sass-cache/*" -or -iwholename "*/.idea\*/*" -or -iwholename "*/node_modules/*" -or -iwholename "*/bower_components/*" -or -iwholename "*/.tox/*" -or -iwholename "*/.cask/*" \) -prune -o -type f -not -size +64k -not -name "\*.json" -not -name "\*.log" -not -name "tags" -not -name "TAGS" -not -name "\*.gz" -not -name "\*.zip" -not -name "\*.tar" -not -name "\*.rar" -not -name "GTAGS" -not -name "GPATH" -not -name "GRTAGS" -not -name "cscope.files" -not -name "\*bundle.js" -not -name "\*min.js" -not -name "\*min.css" -not -name "\*.png" -not -name "\*.jpg" -not -name "\*.jpeg" -not -name "\*.gif" -not -name "\*.bmp" -not -name "\*.tiff" -not -name "\*.ico" -not -name "\*.doc" -not -name "\*.docx" -not -name "\*.xls" -not -name "\*.ppt" -not -name "\*.pdf" -not -name "\*.odt" -not -name "\*.obj" -not -name "\*.o" -not -name "\*.a" -not -name "\*.dylib" -not -name "\*.lib" -not -name "\*.d" -not -name "\*.dll" -not -name "\*.exe" -not -name ".metadata\*" -not -name "\*.class" -not -name "\*.war" -not -name "\*.jar" -not -name "\*flymake" -not -name "\#\*\#" -not -name ".\#\*" -not -name "\*.swp" -not -name "\*\~" -not -name "\*.elc" -not -name "\*.pyc" | ctags -e -L - at /home/cb/projs/ms-frontend-sandbox

The default command use both find and ctags. Maybe it's the find setup.

from counsel-etags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.