branch: elpa/sweeprolog
commit 803e3ea346780bff045bac128204d48cfcfe6f76
Author: Eshel Yaron <m...@eshelyaron.com>
Commit: Eshel Yaron <m...@eshelyaron.com>

    Announce recent changes in NEWS.org and bump version to 0.10.1
---
 NEWS.org      | 26 ++++++++++++++++++++++++++
 sweeprolog.el |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/NEWS.org b/NEWS.org
index 50cc9de54a..849eccc590 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -11,6 +11,32 @@ SWI-Prolog in Emacs.
 For further details, please consult the manual:
 <https://eshelyaron.com/sweep.html>.
 
+* Version 0.10.1 on 2023-01-01
+
+** New user option ~sweeprolog-read-predicate-documentation-function~
+
+This user option control how ~C-c C-d~
+(~sweeprolog-document-predicate-at-point~) prompts for initial
+documentation information, namely argument modes, determinism
+specification and predicate summary.  It specifies a function that
+~sweeprolog-document-predicate-at-point~ calls to get this information.
+
+The default value of this option is a new function
+~sweeprolog-read-predicate-documentation-default-function~ that
+preserves the current behavior of prompting the user to insert the
+needed information via the minibuffer.  An alternative function that
+uses holes instead is also provided, it is called
+~sweeprolog-read-predicate-documentation-with-holes~.
+
+** Improved handling of unbalanced quotes in ~sweeprolog-mode~ buffers
+
+Previously, unbalanced quotes in a Prolog clause could cause Sweep to
+treat the entire rest of buffer as part of that clause, causing major
+slowdowns when inserting Prolog strings and quoted atoms in large
+buffers.  To overcome this issue, this version introduces a mechanism
+for restricting analysis in such cases to the clauses surrounding the
+cursor.
+
 * Version 0.10.0 on 2022-12-25
 
 ** New command ~sweeprolog-insert-term-with-holes~
diff --git a/sweeprolog.el b/sweeprolog.el
index f760ac0288..bcd444f4a7 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Eshel Yaron <~eshel/d...@lists.sr.ht>
 ;; Keywords: prolog languages extensions
 ;; URL: https://git.sr.ht/~eshel/sweep
-;; Package-Version: 0.10.0
+;; Package-Version: 0.10.1
 ;; Package-Requires: ((emacs "28.1"))
 
 ;; This file is NOT part of GNU Emacs.

Reply via email to