[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate a81a7d9386 209/372: - updated versions;
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate a81a7d9386 209/372: - updated versions; |
Date: |
Fri, 4 Feb 2022 16:59:00 -0500 (EST) |
branch: elpa/annotate
commit a81a7d9386661e1df7890ce2fd64395623adc204
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
- updated versions;
- updated README, NEWS and Changelog files.
---
Changelog | 16 +++++++++++++++-
NEWS.org | 4 ++--
README.org | 12 ++++++++++++
annotate.el | 6 +++---
4 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/Changelog b/Changelog
index 3387054310..9c195efaf6 100644
--- a/Changelog
+++ b/Changelog
@@ -27,7 +27,7 @@
disappears).
2020-02-10 Bastian Bechtold, cage
- * annotate.el (annotate--font-lock-matcher annotate-bounds
nnotate-symbol-strictly-at-point annotate-next-annotation-change
annotate-previous-annotation-change annotate-clear-annotations
annotate-annotate)
+ * annotate.el (annotate--font-lock-matcher annotate-bounds
annotate-symbol-strictly-at-point annotate-next-annotation-change
annotate-previous-annotation-change annotate-clear-annotations
annotate-annotate)
- prevented fails of fontification of annotated regions
As we walk across the overlays we can get past the limit;
- mark buffer as modified even if the only action the user performed
@@ -35,3 +35,17 @@
the file)
- prevented annotation of text marked with a region that overlap with
an existing annotation.
+
+2020-03-06 Bastian Bechtold, cage ::
+ * annotate.el (annotate-annotation-force-newline-policy
annotate-annotation-newline-policy-forced-p
annotate-summary-delete-annotation-button-pressed annotate--annotation-builder)
+
+ - used an heuristic to force newline policy when the annotated
+ text does not uses a standard fonts (using font height as
+ comparison);
+
+ - when, in summary window, the delete button is pressed the
+ software take care of reload annotate mode for the visited buffer
+ the annotation button is referring to;
+
+ - when re-flowing annotation the window width was calculated always
+ for the current buffer (the one with the focus).
diff --git a/NEWS.org b/NEWS.org
index 3989548d16..8023a9f418 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -94,8 +94,8 @@
the call of 'annotate-clear-annotations' the annotations
will shows again at reload, this should be fixed now.
-- 2020-02-18 V0.5.3 Bastian Bechtold, cage ::
- - fixed bug that prevented annotation of buffer when org-mode was used;
+- 2020-03-06 V0.5.3 Bastian Bechtold, cage ::
+ - Partially fixed bug that prevented annotation of buffer when org-mode was
used;
- when an user delete an annotation for a file using a button from
summary window force refresh of a buffer that is visiting said
file, if exists, to reflect the changes;
diff --git a/README.org b/README.org
index 1345d344d8..26a6a5b485 100644
--- a/README.org
+++ b/README.org
@@ -180,6 +180,18 @@ annotation, like this:
As a shortcut, an empty query will match everything (just press
~return~ at prompt).
+* FAQ
+ Sometimes the package does not respect the customizable variable's value of
+ ~annotate-annotation-position-policy~, is this a bug?
+
+ No it is not, when a line which is using a non default font is
+ annotated the software force the ~:new-line~ policy, that is the
+ annotation will be displayed on a new line regardless of the value
+ of the variable mentioned in the question.
+
+ This is necessary to prevent the annotation to be pushed beyond the
+ window limits if an huge font is used by the annotated text.
+
* LICENSE
This package is released under the MIT license, see file [[./LICENSE][LICENSE]]
diff --git a/annotate.el b/annotate.el
index ad36af7839..c755760703 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.5.2
+;; Version: 0.5.3
;; This file is NOT part of GNU Emacs.
@@ -52,7 +52,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "0.5.2"
+ :version "0.5.3"
:group 'text)
;;;###autoload
@@ -156,7 +156,7 @@ database is not filtered at all."
(defcustom annotate-annotation-position-policy :by-length
"policy for annotation's position:
- - :newline
+ - :new-line
always in a new-line
- :margin
always on right margin
- [nongnu] elpa/annotate 2e7c18b12a 337/372: - fixed callback for "[replace]" button in summary window, (continued)
- [nongnu] elpa/annotate 2e7c18b12a 337/372: - fixed callback for "[replace]" button in summary window, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6b73ccf009 352/372: - fixed function's name., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4c3ba3a5da 331/372: - prevented calling 'annotate--remove-annotation-property' on a narrowed buffer, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3b0bc40a4f 347/372: - improved docstrings;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 46aa377cfc 370/372: - upgraded version number;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0cfad246ee 372/372: Merge pull request #120 from cage2/add-merge-db, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 401a9b4990 309/372: - removed useless argument for 'font-lock-flush'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate ed0c9bc64b 184/372: - prevented annotation of text marked with a region that overlap with, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 24de0e4607 190/372: - renamed and fixed function to search for annotations relative to a, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e6fb2b31df 188/372: - fixed position to start for overlay checks in, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a81a7d9386 209/372: - updated versions;,
ELPA Syncer <=
- [nongnu] elpa/annotate 30ee7a0b87 198/372: - fixed 'annotate-previous-annotation-ends' and 'annotate-next-annotation-ends', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 1143087515 213/372: - updated documentation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b8fd76f712 216/372: Merge pull request #60 from cage2/rethink-multiline-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a37ec08035 249/372: - added signalling of error to 'annotate-switch-db';, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 34f0df8d5b 251/372: - updated documentation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate bc89867f65 289/372: Merge pull request #92 from cage2/expand-db-path, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate be998ca006 263/372: Merge pull request #81 from cage2/popup-annotation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 804c7b9421 257/372: - Removed internal link because of issue #79., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a9f061cecd 268/372: - added more docstrings., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 88ed6f22cb 285/372: - rewritten export and integrate of annotations, ELPA Syncer, 2022/02/04