[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate d4eff870d9 292/372: Merge pull request #93 from c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate d4eff870d9 292/372: Merge pull request #93 from cage2/master |
Date: |
Fri, 4 Feb 2022 16:59:09 -0500 (EST) |
branch: elpa/annotate
commit d4eff870d9c1575731890acfdde89511d0322ec1
Merge: bc89867f65 401dab7723
Author: cage2 <1257703+cage2@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #93 from cage2/master
prevented side effects of 'split-string'
---
Changelog | 7 +++++++
NEWS.org | 5 +++++
annotate.el | 10 ++++++----
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/Changelog b/Changelog
index 3dd166413c..ed05a988b3 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,10 @@
+2021-01-06 cage
+
+ * annotate.el:
+
+ - prevented side effects of 'split-string'.
+
+
2020-12-23 cage
* annotate.el:
diff --git a/NEWS.org b/NEWS.org
index f4b1379cfe..cfb3629261 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -177,3 +177,8 @@
Related to the last fix the variable ~annotate-diff-export-context~
has been removed.
+
+* 2021-01-06 V1.1.1 Bastian Bechtold, cage ::
+
+ This version fix an old bug that causes many types of issues with
+ rendering of annotations on the margin of the window.
diff --git a/annotate.el b/annotate.el
index c0a88bd091..582127d439 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: 1.1.0
+;; Version: 1.1.1
;; This file is NOT part of GNU Emacs.
@@ -58,7 +58,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "1.1.0"
+ :version "1.1.1"
:group 'text)
;;;###autoload
@@ -920,10 +920,12 @@ to 'maximum-width'."
(%group (append (list suffix)
(cl-rest rest-words))
(append (list prefix)
- so-far)))))))
+ so-far))))))
+ (%split-words (text)
+ (save-match-data (split-string text " " t))))
(if (< maximum-width 1)
nil
- (let* ((words (split-string text " " t))
+ (let* ((words (%split-words text))
(grouped (reverse (%group words '()))))
grouped))))
- [nongnu] elpa/annotate df704cc033 205/372: Merge branch 'master' into rethink-multiline-annotations, (continued)
- [nongnu] elpa/annotate df704cc033 205/372: Merge branch 'master' into rethink-multiline-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9a9227f154 208/372: - changed function names:, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6cc6ac8872 210/372: Merge pull request #61 from cage2/org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 754db391fd 230/372: - updated section 'known bugs' of README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 553116dc61 239/372: - added missing unquote in macro 'annotate-with-restore-modified-bit'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 5fd0923df1 232/372: Merge pull request #71 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7893fb3060 261/372: - updated README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c103381862 280/372: - moved 'save-match-data' from the function that calls, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3b871f10f9 290/372: - prevented side effects of 'split-string', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f3ace011a2 286/372: - changed customizable variable related to exporting., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d4eff870d9 292/372: Merge pull request #93 from cage2/master,
ELPA Syncer <=
- [nongnu] elpa/annotate 58525eb73a 307/372: - changed function calls from 'cl' package to the 'cl-lib' equivalents., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4abf492f05 297/372: - updated NEWS and CHANGELOG;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate faa9245414 329/372: - increased version number and updated documentations., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7eee85f7f9 070/372: - made the character under the annotated text (when exporting or integrating), ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6d74f53074 015/372: improve documentation and add license, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6b4b2b69d7 023/372: can now annotate long lines, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 39fc4bbda2 090/372: - added an annotation summary window, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d84bfd56b8 103/372: Merge pull request #44 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 253b5e2d7b 118/372: - try to elaborate a bit more the function goal., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f806eff4cc 142/372: Merge pull request #49 from cage2/annotate-info-files, ELPA Syncer, 2022/02/04