[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 44b378b16a 219/372: Merge pull request #62 from c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 44b378b16a 219/372: Merge pull request #62 from cage2/master |
Date: |
Fri, 4 Feb 2022 16:59:01 -0500 (EST) |
branch: elpa/annotate
commit 44b378b16ad407c36e8cf728e671c17116d854b6
Merge: b8fd76f712 e03edfb2c2
Author: cage2 <1257703+cage2@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #62 from cage2/master
Fixed annotation picking in 'annotate-annotate'
---
Changelog | 13 +++++++++++--
NEWS.org | 5 ++++-
README.org | 2 +-
annotate.el | 10 +++++-----
4 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/Changelog b/Changelog
index edb5f8f61c..380978d404 100644
--- a/Changelog
+++ b/Changelog
@@ -10,7 +10,7 @@
positioning.
See the local function
'maybe-force-newline-policy' in 'annotate-create-annotation'.
- - choosen the window that contains the current buffer when resizing
the annotations
+ - chosen the window that contains the current buffer when resizing the
annotations
see variable 'current-window' in 'annotate-lineate';
- redraw buffer if one of its annotations is deleted
operating from the summary window.
@@ -50,7 +50,7 @@
- when re-flowing annotation the window width was calculated always
for the current buffer (the one with the focus).
-2020-04-06 Bastian Bechtold, cage
+2020-03-06 Bastian Bechtold, cage
* annotate.el
- each annotation (the overlay, actually) now has a property 'position
@@ -67,3 +67,12 @@
Please note that this changes impacted more or less the whole
package's code.
+
+2020-03-16 Bastian Bechtold, cage
+ * annotate.el (annotate-annotate)
+
+ - fixed annotation picking in 'annotate-annotate'
+ at the beginning of the function we was picking the first
+ available overlay. So the annotated text contained multiple
+ overlays and an annotation was not the first we missed the last,
+ This means, for example, that the annotation was not modifiable.
diff --git a/NEWS.org b/NEWS.org
index 20e4c55d96..d62ed59f45 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -101,5 +101,8 @@
file, if exists, to reflect the changes;
- fixed flowings of annotatinons when window's width is changed.
-- 2020-04-06 V0.6.0 Bastian Bechtold, cage ::
+- 2020-03-06 V0.6.0 Bastian Bechtold, cage ::
Fixed bugs of multiline annotations, diff exports and integration.
+
+- 2020-03-16 V0.6.1 Bastian Bechtold, cage ::
+ Fixed annotation picking in 'annotate-annotate'.
diff --git a/README.org b/README.org
index 5a8d333f85..a978e841f7 100644
--- a/README.org
+++ b/README.org
@@ -132,7 +132,7 @@ as comments into the current buffer, like this:
is shown below:
#+BEGIN_SRC text
- [file-mask] [(and | or) [not] regex-note (and | or) [not] regexp-note ...]
+ [file-mask] [(and | or) [not] regex-note [(and | or) [not] regexp-note ...]]
#+END_SRC
where
diff --git a/annotate.el b/annotate.el
index f7776b77c7..a0ecbf8c7b 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.6.0
+;; Version: 0.6.1
;; This file is NOT part of GNU Emacs.
@@ -55,7 +55,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "0.6.0"
+ :version "0.6.1"
:group 'text)
;;;###autoload
@@ -385,7 +385,7 @@ modified (for example a newline is inserted)."
(annotate-bounds)
(let ((annotation-text (read-from-minibuffer
annotate-annotation-prompt)))
(annotate-create-annotation start end annotation-text
nil)))))
- (let ((overlay (car (overlays-at (point)))))
+ (let ((annotation (annotate-annotation-at (point))))
(cond
((use-region-p)
(let ((annotations (cl-remove-if-not #'annotationp
@@ -394,7 +394,7 @@ modified (for example a newline is inserted)."
(if annotations
(message "Error: the region overlaps with at least an already
existings annotation")
(create-new-annotation))))
- ((annotationp overlay)
+ (annotation
(annotate-change-annotation (point))
(font-lock-fontify-buffer nil))
(t
@@ -2417,7 +2417,7 @@ Note: this function return the annotation part of the
record, see
The argument `query' is a string that respect a simple syntax:
-- [file-mask] [(and | or) [not] regex-note (and | or) [not] regexp-note ...]
+- [file-mask] [(and | or) [not] regex-note [(and | or) [not] regexp-note ...]]
where
- [nongnu] elpa/annotate 3bb486d0cf 158/372: - changed `let*' with `let'., (continued)
- [nongnu] elpa/annotate 3bb486d0cf 158/372: - changed `let*' with `let'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c007611614 159/372: - removed useless rebinding of 'annotate-annotation-position-policy'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c7891d8d24 163/372: - tried to make the file more "site friendly"., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate ec0ed147a2 170/372: - fixed error for regexp search in 'annotate--font-lock-matcher', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 1525550f85 182/372: - changed test for annotation rejection and removed (maybe) useless check., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2e858729cb 200/372: - saving annotations with newlines seems to works;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 31e3c24726 195/372: - updated version and documentation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e933d84692 214/372: - fixed removing of annotation in 'annotate-before-change-fn', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e03edfb2c2 218/372: - increased version number;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e2c365a376 222/372: - added reference to the issue., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 44b378b16a 219/372: Merge pull request #62 from cage2/master,
ELPA Syncer <=
- [nongnu] elpa/annotate f0a71bb148 223/372: Merge pull request #64 from cage2/fix-face-detection, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 8ac52808e8 226/372: - added a couple of functions to allow an user to change the file that, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9ea6c4fc71 247/372: - signalled errors when query parsing errors occurs., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate cc0b5da6c1 229/372: Merge pull request #69 from cage2/switch-database, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 914c9ee5b9 264/372: Fixed a regression and some bugs related to incorrect calculation of, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0b71184865 269/372: - updated changelog., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3b4ee73c8d 275/372: - stored abbreviated filenames for the path component of each record, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c4a56cc33d 306/372: - added missing argument to 'annotate-create-annotation'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9fc6d7a839 311/372: - allowed deleting of annotations for info files., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 54ac759fac 315/372: Merge pull request #99 from cage2/remove-some-compilation-warnings, ELPA Syncer, 2022/02/04