Comments (2)
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.
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)
- xcscope have problem on emacs-w32, on windows, compiled by MinGW. HOT 6
- Getting nonsense results HOT 11
- GNU Global support requires version 5.9 HOT 4
- does xcscope support symbolic link file ? HOT 1
- xcscope.el and user-reserved keybindings collision HOT 3
- "display-buffer" fallbacks to "display-buffer-fallback-action" HOT 1
- cscope-index-files doesn't work with paths using whitespaces HOT 5
- MacOS: xcscope.el can't be run within emacs 22.1.1 HOT 2
- "Cscope" does not show in the menu bar of Emacs 26.1 or Emacs 25.3.1 HOT 3
- How to change the default bindings of xcscope HOT 2
- multiple "cscope: cannot find file ..." in *cscope* buffer HOT 1
- "<file> is not readable or exists" when using xcscope over TRAMP HOT 6
- Completion for input tag HOT 3
- Tramp support HOT 2
- Support for inline functions HOT 1
- How to change the behavior of quitting cscope display buffer HOT 5
- failed to parse filename HOT 14
- xcscope don't work with sub-directories HOT 7
- Add multiple databases to search list. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcscope.el.