Bug 251029 - devel/cscope: xcscope.el doesn't work with emacs 27
Summary: devel/cscope: xcscope.el doesn't work with emacs 27
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://reviews.freebsd.org/D27172
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-11 01:04 UTC by John Baldwin
Modified: 2020-11-13 00:10 UTC (History)
1 user (show)

See Also:
moritz: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin freebsd_committer freebsd_triage 2020-11-11 01:04:39 UTC
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.
Comment 1 Moritz Schmitt 2020-11-11 07:52:35 UTC
All this looks good to me. I only had a minor comment that I included in the review.

Thanks for reporting this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-11-13 00:10:30 UTC
A commit references this bug:

Author: jhb
Date: Fri Nov 13 00:09:38 UTC 2020
New revision: 554996
URL: https://svnweb.freebsd.org/changeset/ports/554996

Log:
  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.

  PR:		251029
  Reviewed by:	maintainer (devel/cscope)
  Approved by:	swills
  Differential Revision:	https://reviews.freebsd.org/D27172

Changes:
  head/devel/Makefile
  head/devel/cscope/Makefile
  head/devel/cscope/pkg-plist
  head/devel/xcscope.el/
  head/devel/xcscope.el/Makefile
  head/devel/xcscope.el/distinfo
  head/devel/xcscope.el/pkg-descr