From ca4d60dd0923d15b688e919c35a9df2e3e9ed380 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 16 Aug 2018 20:30:44 -0400 Subject: Change Emacs requirement for Emacs 24 to Emacs 24.5 python.el changed its indentation engine in Emacs 24.5. We rely on a python-indent-calculate-indentation that is specific for the newer version. Re: #28 --- NEWS | 5 +++++ snakemake-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 63c3999..908f8a2 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,11 @@ NEWS -- history of user-visible changes -*- mode: org; -*- - The 'cwl' keyword (new in Snakemake v4.8.0) and 'ancient' built-in are now recognized. +** Other changes + +- The minimum Emacs version is now specified as 24.5. Although the + previous specification was a looser "24", Snakemake's indentation + function is incompatible with Emacs 24.4 and below. * v1.3.0 diff --git a/snakemake-mode.el b/snakemake-mode.el index 4bef4f4..21b7b1f 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -6,7 +6,7 @@ ;; URL: https://github.com/kyleam/snakemake-mode ;; Keywords: tools ;; Version: 1.3.0 -;; Package-Requires: ((emacs "24") (cl-lib "0.5") (magit-popup "2.4.0")) +;; Package-Requires: ((emacs "24.5") (cl-lib "0.5") (magit-popup "2.4.0")) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -- cgit v1.2.3