You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I verified that https://github.com/dkogan/xcscope.el/commit/efa27e22798671356f6cb7a647afb40be326b7ac works for the example. I think the current behavior is good enough.
With this code
and this cscope-database-regexps
After finding functions calling c,
*cscope*
looks like:With the cursor on
a
search for a:The above used:
This works with:
With the cursor on
a
search for a:The text was updated successfully, but these errors were encountered: