dkogan / dkogan/xcscope.el

multiple "cscope: cannot find file ..." in *cscope* buffer

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Emacs Lisp
Stars
122
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Hi, when I tried to use xcscope to find definition or something, it prints multiple lines of

cscope: cannot find file path/to/file

and I notice that the path/to/file is symbolic link file, I know this issue was posted https://github.com/dkogan/xcscope.el/issues/8 and it is the issue of cscope itself, but could you please remove those lines from the cscope buffer, that would be better, since I use cscope command from terminal, there is no such "cannot find" line from the result of cscope.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting xcscope.el and how cscope output is placed into the cscope buffer. Reproduce the issue with a symbolic-link path, then verify that "cscope: cannot find file" lines are removed while the remaining cscope results are preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.