GithubHelp home page GithubHelp logo

Comments (2)

dkogan avatar dkogan commented on July 23, 2024

Hi. Thank you for the report, and I apologize for taking so long. I fixed this in

https://github.com/dkogan/xcscope.el/commit/efa27e22798671356f6cb7a647afb40be326b7ac

The fixed code reads the current directory from the point location in the cscope buffer. I don't use the cscope-database-regexps, so I don't yet have a sense if this is a good default. In your example, searching for "a" in the "a.c" cscope result would do what you want, looking at all the directories in cscope-database-regexps. But searching for something in the "b.c" cscope result would use the database in bdir/ and thus would not touch cscope-database-regexps. Would it make more sense to remember that that whole search came from the regexps entry in dira/ and for subsequent searches to all do that too?

from xcscope.el.

angrycandy avatar angrycandy commented on July 23, 2024

I verified that https://github.com/dkogan/xcscope.el/commit/efa27e22798671356f6cb7a647afb40be326b7ac works for the example. I think the current behavior is good enough.

Thanks for fixing it.

from xcscope.el.

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.