From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.devel Subject: subr-x on older Emacsen Date: Tue, 15 Jul 2014 15:08:48 +0200 Message-ID: <47A003F9-F2D7-454C-B148-31A6C2D46C1F@lunaryorn.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405429763 9027 80.91.229.3 (15 Jul 2014 13:09:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 13:09:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 15 15:09:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X72Tp-0002Xl-4d for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2014 15:09:13 +0200 Original-Received: from localhost ([::1]:34513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X72Tm-0007yJ-BN for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2014 09:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X72Tc-0007ve-Np for emacs-devel@gnu.org; Tue, 15 Jul 2014 09:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X72TV-0005WM-3G for emacs-devel@gnu.org; Tue, 15 Jul 2014 09:09:00 -0400 Original-Received: from vega.uberspace.de ([95.143.172.245]:38663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X72TU-0005VC-PW for emacs-devel@gnu.org; Tue, 15 Jul 2014 09:08:53 -0400 Original-Received: (qmail 22470 invoked from network); 15 Jul 2014 13:08:51 -0000 Original-Received: from localhost (HELO 124.198.eduroam.dynamic.rbg.tum.de) (127.0.0.1) by vega.uberspace.de with SMTP; 15 Jul 2014 13:08:51 -0000 X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.245 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173037 Archived-At: Hello, I=92d like to use the new subr-x library in my Emacs Lisp projects, and = I=92m searching for advice on how to handle backwards compatibility. As you know, subr-x was only recently introduced in Emacs trunk, and is = not available in any Emacs release. Currently, I simply copy those = functions that I need into my code, guarding their definition with = `(unless (features 'subr-x) =85)'. This scales poorly across many projects, obviously, so I=92d like to = know if there is a better approach to handle this problem. Is their a = compatibility package for subr-x on GNU ELPA, similar to cl-lib? Greetings, Sebastian Wiesner=