[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
- [nongnu] elpa/annotate 8481eaf0c2 245/372: - signalled an error when annotating a region and it overlaps with an existing annotation., (continued)
- [nongnu] elpa/annotate 8481eaf0c2 245/372: - signalled an error when annotating a region and it overlaps with an existing annotation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate dadc57bb3e 231/372: - reverted the version number to 0.8.0;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a02755056e 244/372: - changed occurrence of 'annotate-load-annotation-data' to 'annotate-load-annotation-data-ignore-errors'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4e23850efa 233/372: - Added file argument 'database-file-path' to 'annotate-switch-db';, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2687e123cd 243/372: - added signalling 'annotate-load-annotation-data' to:, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 13c4fcbc4f 250/372: - made 'annotate-load-annotation-data-ignore-errors' ignore all errors;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4cc32fc2fb 256/372: Merge pull request #78 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6543d3b1c0 259/372: - fixed indentation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 8ec9e0ea37 253/372: - increased version., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c42686bab5 271/372: - allow overwriting (even partial) of annotations., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9b824d23ec 267/372: - updated Changelog and NEWS.org.,
ELPA Syncer <=
- [nongnu] elpa/annotate e015655f62 255/372: - fixed version number contained in code top comment., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2bf7a7c1ac 254/372: Merge pull request #77 from cage2/signalling-errors, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate bd31608f50 260/372: - added command 'annotate-summary-of-file-from-current-pos', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a8857153ca 276/372: - extracted local function and taken into account info node names, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 12ad966a9d 278/372: - wrapped 'annotate-wrap-annotation-in-box' with 'save-match-data., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 401dab7723 291/372: - updated README, Changelog and version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 44ac24f63d 274/372: Merge pull request #87 from cage2/overwrite-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 8b06586497 282/372: - fixed integration of multiline annotated text., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 485060813b 277/372: - added procedures to pad multiline annotation text., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e004ae7e97 281/372: - updated version;, ELPA Syncer, 2022/02/04