branch: elpa/annotate commit 4abf492f0589778b65b2d6a32fe78f7770e2bada Author: cage <cage-invalid@invalid> Commit: cage <cage-invalid@invalid>
- updated NEWS and CHANGELOG; - increased version number. --- Changelog | 19 +++++++++++++++++++ NEWS.org | 5 +++++ annotate.el | 4 ++-- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 8312e68feb..eda6db44cf 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,22 @@ +2021-01-15 cage + + * annotate.el: + + - added checking encrypted (GPG) file format. + + In many parts of the code we use 'annotate-guess-file-format', a + function that try to guess the format of the file that produced + the contents of a buffer. + + Sometimes (for example buffers that shows info nodes) this check + is very expensive because involves reading (and possibly + decompress or even decrypt) the file contents and check for a + regular expression. + + If we could know in advance that the file is symmetrically + encrypted with GPG we could skip other, more expensive checks for + guessing file format (like info files). + 2021-01-14 cage * annotate.el: diff --git a/NEWS.org b/NEWS.org index f32b0dd658..db0714e246 100644 --- a/NEWS.org +++ b/NEWS.org @@ -187,3 +187,8 @@ This version improves visual of multilined notes placed on the window margins. + +- 2021-01-06 V1.1.3 Bastian Bechtold, cage :: + + Optimized the code to speedup reading and saving of encrypted (with + GPG) annotated files. diff --git a/annotate.el b/annotate.el index 59ceadfd99..94c5cf29ef 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.2 +;; Version: 1.1.3 ;; This file is NOT part of GNU Emacs. @@ -58,7 +58,7 @@ ;;;###autoload (defgroup annotate nil "Annotate files without changing them." - :version "1.1.2" + :version "1.1.3" :group 'text) ;;;###autoload