From: Eshel Yaron Date: Sun, 1 Jan 2023 15:11:39 +0000 (+0200) Subject: Announce recent changes in NEWS.org and bump version to 0.10.1 X-Git-Tag: V9.1.2-sweep-0.10.1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=803e3ea346780bff045bac128204d48cfcfe6f76;p=dict.git Announce recent changes in NEWS.org and bump version to 0.10.1 --- diff --git a/NEWS.org b/NEWS.org index 50cc9de..849eccc 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,32 @@ SWI-Prolog in Emacs. For further details, please consult the manual: . +* 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 f760ac0..bcd444f 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.10.0 +;; Package-Version: 0.10.1 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs.