emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/annotate 9b824d23ec 267/372: - updated Changelog and NEWS.


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 9b824d23ec 267/372: - updated Changelog and NEWS.org.
Date: Fri, 4 Feb 2022 16:59:06 -0500 (EST)

branch: elpa/annotate
commit 9b824d23ec2cb903c2b5acb3047992f4c73ef896
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>

    - updated Changelog and NEWS.org.
---
 Changelog   | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 NEWS.org    |  17 +++++++++
 annotate.el |   4 +--
 3 files changed, 133 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 25e8def880..e167180a21 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,117 @@
+2020-11-12  cage
+
+        * annotate.el:
+
+       - prevented getting shared value for 'annotate-file' in
+        '%load-annotation-data'.
+
+       This  way  we can  ensure  that  'annotate-file' can  be  declared
+       buffer-local and  different annotation  databases can be  used from
+       different buffers.
+
+2020-11-11  cage
+
+        * annotate.el:
+       - fitted 'annotate-position-inside-chain-p' into   
'annotate--position-inside-annotated-text-p';
+       - fixed some typos.
+
+2020-11-06  cage
+
+        * annotate.el:
+
+       - Fixed a regression  and some bugs related to
+        incorrect calculation of of multiline annotations.
+
+       To reproduce the bugs:
+
+       legend:
+
+       a = annotated text
+       * = non annotated text
+
+       - First bug
+
+       Create a multiline annotation using region.
+
+       aaaa
+       aaaa
+       aaaa    ####
+
+       Place the cursor as below.
+
+       aaaa
+       ^ cursor
+       aaaa
+       aaaa    ####
+
+       type a character
+
+       a****
+       aaaa
+       aaaa    ####
+
+       The annotated text has a "gap"
+
+       Fix proposed: revert to the old (correct behaviour)
+
+       Second bug
+
+       aaaa
+       aaaa
+       aaaa    ####
+
+       Place the cursor as below.
+
+       aaaa
+       ^ cursor on the first column
+       aaaa
+       aaaa    ####
+
+       type some text
+
+       ***
+       aaa
+       aaa    ####
+
+       Save (C-x C-s)
+
+       you  get an  error  on  the echo  area:  "let*:  Wrong type  argument:
+       overlayp, nil" and the annotations are not correctly saved.
+
+       Fix proposed: remove the offending code.
+
+       Third bug
+
+       a multiline bug as before
+
+       aaaa
+       aaaa
+       aaaa    ####
+
+       place the cursor here:
+
+       aaaa
+       aaaa
+       ^ cursor
+       aaaa    ####
+
+       type some text
+
+       aaaa
+       *****
+       aaaa    ####
+
+       Then annotate the same line (C-c C-a):
+
+       aaaa
+       aaaa    ####
+       aaaa    ####
+
+       we  introduced  a  annotation  in  the gap  of  the  already  existing
+       multiline annotation.
+
+       Fix proposed: prevents annotating text inside an annotation.
+
 2020-09-29
         * README.org, annotate.el
        - updated README;
diff --git a/NEWS.org b/NEWS.org
index 98f8a20ca2..f6d985e8c7 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -130,3 +130,20 @@
 - 2020-09-29 V0.9.0 Bastian Bechtold, cage ::
   Added two new styles to render the annotation: using "pop-up" style
   or via a specializated summary window.
+
+- 2020-11-20 V0.9.2 Bastian Bechtold, cage ::
+
+  This version fix a regression and  some more bug that could breaks a
+  multiline  annotation  in  ways  that makes  the  annotation  system
+  inconsistent  and  renders the  annotated  text  in wrong  way  (for
+  details see the Changelog).
+
+  The 'annotate-file' can be now  safely declared buffer-local so that
+  multiple databases of annotations can be used on a per-buffer basis.
+
+  For pratical applications see:
+
+  https://github.com/bastibe/annotate.el/issues/68
+
+  Many thanks to gopar for spotting  this elusive bug and help testing
+  the patch! :)
diff --git a/annotate.el b/annotate.el
index 19e677e028..f37abfb4a8 100644
--- a/annotate.el
+++ b/annotate.el
@@ -7,7 +7,7 @@
 ;; Maintainer: Bastian Bechtold
 ;; URL: https://github.com/bastibe/annotate.el
 ;; Created: 2015-06-10
-;; Version: 0.9.0
+;; Version: 0.9.2
 
 ;; This file is NOT part of GNU Emacs.
 
@@ -58,7 +58,7 @@
 ;;;###autoload
 (defgroup annotate nil
   "Annotate files without changing them."
-  :version "0.9.0"
+  :version "0.9.2"
   :group 'text)
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]