BSD Ports

misc/compat.el 29.1.4.4 MidnightBSD

Compatibility library for Emacs Lisp

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3+
Categories
misc, elisp

Description

Compat.el is a forwards-compatibility library for (GNU) Emacs Lisp, versions 24.3 and newer.

The intended audience of this library aren't day-to-day users, but package developers that wish to make use of newer functionality, not provided in older versions of Emacs, without breaking compatibility for users bound to specific Emacs releases.

Version 24.3 is chosen as the oldest version, because this is the newest version on CentOS 7. It is intended to preserve compatibility for at least as the Centos 7 reaches EOL, 2024.

Note that compat.el provides a few prefixed function, ie. functions with a compat- prefix. These are used to provide extended functionality for commands that are already defined (sort, assoc, ...). It might be possible to transform these into advised functions later on, so that the modified functionality is accessible without a prefix. Feedback on this point is appreciated.

In the other systems

SystemPortVersion
MidnightBSDmisc/compat.el29.1.4.4
FreeBSDmisc/compat.el31.1.0.0
DragonFlymisc/compat.el30.0.2.0_1
HardenedBSDmisc/compat.el31.0.0.2
GhostBSDmisc/compat.el31.0.0.2

Install

Binary package:

mport install compat.el${EMACS_PKGNAMESUFFIX}

From mports:

cd /usr/mports/misc/compat.el && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>0:misc/compat.el

Dependencies

Required by 1

Configuration

Options name: misc_compat.el

OptionDefaultDescription
DOCSoff
USES
emacs gmake makeinfo
Service scripts
none

Files

pkg-plist 13
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-25.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-25.elc
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-26.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-26.elc
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-27.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-27.elc
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-28.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-28.elc
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-29.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-29.elc
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-macs.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat.el
  • %%EMACS_VERSION_SITE_LISPDIR%%/compat/compat.elc
distinfo 1
FileSizeSHA256
emacs-compat-compat-29.1.4.4_GH0.tar.gz12990023ccdb6e343dec1e593bbc0f8d323b6c262c1fca2a8f47e122d457ad3cbe8f88