dkogan / xcscope.el

cscope interface for (X)Emacs
121 stars 29 forks source link

Add multiple databases to search list. #32

Open chhajedji opened 1 year ago

chhajedji commented 1 year ago

I have multiple cscope databases to refer to at once. Is there any way in which I can add all the database to the search list? Basically, I want to add multiple directories to cscope-set-initial-directory, but once I add a new directory, only that directory remains, and the previous ones are discarded. Same functionality can be achieved in vim by the command :cscope add <path to database>

Please excuse if this is a rookie question as I'm not very familiar with lisp.

dkogan commented 1 year ago

Hi. Sorry it took so long to reply; I've been busy. So you want more than one cscope database to be used at once? I.e. we would search one database, and then search the other, and the other, and so on? If that's what you want, xcscope doesn't currently support it. It wouldn't be TOO hard to add that, but I don't have the time to do that at all.

If you want something else, please clarify.

chhajedji commented 1 year ago

Yes, that's precisely what I was looking for. As an alternative, I've added all the database files in one cscope.files and created and added that single cscope.out file. It would have been really nice to have the feature to add multiple databases as Vim's cscope plugin allow this functionality.

On Thu, Aug 17, 2023, 00:28 Dima Kogan @.***> wrote:

Hi. Sorry it took so long to reply; I've been busy. So you want more than one cscope database to be used at once? I.e. we would search one database, and then search the other, and the other, and so on? If that's what you want, xcscope doesn't currently support it. It wouldn't be TOO hard to add that, but I don't have the time to do that at all.

If you want something else, please clarify.

— Reply to this email directly, view it on GitHub https://github.com/dkogan/xcscope.el/issues/32#issuecomment-1681594128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKF4R5FKHVBXJDC55ZN22GDXVWMV5ANCNFSM6AAAAAA3GRK3WQ . You are receiving this because you authored the thread.Message ID: @.***>