I upgraded my main desktop this weekend and found that cscope
stopped working in emacs. After some googling, it seems that
the xcscope.el included in the cscope distribution is stale and
uses a deprecated function that was finally removed in emacs 27.
I've found a newer fork of xcscope.el that works with emacs 27
and includes additional bug fixes and features relative to the
newer one. I've created a review in phabricator which removes
the XCSCOPE option from the devel/cscope port and adds a new
devel/xcscope.el port which installs the newer fork of xcscope.el.
All this looks good to me. I only had a minor comment that I included in the review.
Thanks for reporting this.
A commit references this bug:
Date: Fri Nov 13 00:09:38 UTC 2020
New revision: 554996
Switch xcscope.el to a separately-maintained version.
The version of xcscope.el bundled with cscope does not work with emacs
27 as it uses a deprecated function. Switch to using a newer fork of
xcscope.el which works with emacs 27 and includes several other fixes
such as working over tramp-mode. Since the newer fork is hosted
independently, add it as a new port which depends on cscope.
Reviewed by: maintainer (devel/cscope)
Approved by: swills
Differential Revision: https://reviews.freebsd.org/D27172