From 52cfcd1884fdd54cad647023300428d033f1a5a6 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 17 Dec 2022 16:47:37 +0200 Subject: [PATCH] Announce recent changes in NEW.org and bump version to 0.9.6 --- NEWS.org | 18 ++++++++++++++++++ sweeprolog.el | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index 244e91f..261a5bc 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,24 @@ SWI-Prolog in Emacs. For further details, please consult the manual: . +* Version 0.9.6 on 2022-12-17 + +** Indentation in ~sweeprolog-mode~ now respects ~indent-tabs-mode~ + +With non-nil ~indent-tabs-mode~, tabs are now used to indent lines in +Prolog code buffers. + +** New command for inferring the indentation style of the current buffer + +The new command ~sweeprolog-infer-indent-style~ can be used to update +the buffer-local values of ~sweeprolog-indent-offset~ and +~indent-tabs-mode~ according to the buffer's existing indentation style. + +** Fixes + +- Fixed issue with ~sweeprolog-indent-or-forward-hole~, in previous + versions it would fail to indent empty lines. + * Version 0.9.5 on 2022-12-10 ** ~sweeprolog-align-spaces~ now works also in comments diff --git a/sweeprolog.el b/sweeprolog.el index 3bde49f..f806209 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -6,7 +6,7 @@ ;; Maintainer: Eshel Yaron <~eshel/dev@lists.sr.ht> ;; Keywords: prolog languages extensions ;; URL: https://git.sr.ht/~eshel/sweep -;; Package-Version: 0.9.5 +;; Package-Version: 0.9.6 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. -- 2.39.2