[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 641daae9d0 335/372: - updated docs and version nu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 641daae9d0 335/372: - updated docs and version number. |
Date: |
Fri, 4 Feb 2022 16:59:18 -0500 (EST) |
branch: elpa/annotate
commit 641daae9d047991f60ae325555870653d436e7d1
Author: cage <cage@invalid>
Commit: cage <cage@invalid>
- updated docs and version number.
---
Changelog | 8 +++++++-
NEWS.org | 12 ++++++++++++
README.org | 8 ++++++--
annotate.el | 4 ++--
4 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/Changelog b/Changelog
index e7434ad668..33999c0519 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,10 @@
-021-04-30 cage
+2021-05-07 cage
+
+ * annotate.el:
+
+ - prevented saving a file with an empty database;
+
+2021-04-30 cage
* annotate.el:
diff --git a/NEWS.org b/NEWS.org
index eb3d0be647..3e9c0eb0dc 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -231,3 +231,15 @@
This version fixes a bug that prevented command like
'comment-region' to works properly when annotate-mode was active.
+
+- 2021-05-07 V1.3.0 cage ::
+
+ This version added a procedure to prevent an empty database to be
+ saved on the user's disk.
+
+ Moreover if an empty annotations database is going to overwrite an
+ existing stale database file on disk the file is deleted instead.
+
+ Before deleting the old database file a confirmation message is
+ printed on the minibuffer if the custom variable
+ 'annotate-database-confirm-deletion' is non nil (default: t).
diff --git a/README.org b/README.org
index f9e8c65931..eabe5b8ec6 100644
--- a/README.org
+++ b/README.org
@@ -53,15 +53,19 @@ see:
[[https://github.com/bastibe/annotate.el/issues/68][this thread]] and, in
particular
[[https://github.com/bastibe/annotate.el/issues/68#issuecomment-728218022][this
message]].
+If an empty annotation database (in memory) is saved the database
+file is deleted instead, if ~annotate-database-confirm-deletion~ is
+non nil (the default) a confirmation action is asked to the user
+before actually remove the file from the file system.
+
Users of
[[https://github.com/emacscollective/no-littering][no-littering]]
can take advantage of its packages generated files management.
**** related customizable variable
- ~annotate-file~
-
-**** related customizable variable
- ~annotate-warn-if-hash-mismatch~
+ - ~annotate-database-confirm-deletion~
** keybindings
diff --git a/annotate.el b/annotate.el
index 6b1a2a1d64..2295d2b19a 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.2.1
+;; Version: 1.3.0
;; This file is NOT part of GNU Emacs.
@@ -58,7 +58,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "1.2.1"
+ :version "1.3.0"
:group 'text)
;;;###autoload
- [nongnu] elpa/annotate daf4c3c726 283/372: - removed code, in integration procedures, that should never runs., (continued)
- [nongnu] elpa/annotate daf4c3c726 283/372: - removed code, in integration procedures, that should never runs., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3239275a5b 265/372: - fitted 'annotate-position-inside-chain-p' into, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b68170837e 279/372: - fixed the width of the last row of the box, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 958ce126e0 272/372: - fixed more typos., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d55c48f508 304/372: changed function from 'font-lock-fontify-buffer' to 'font-lock-ensure'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 876f1425d2 310/372: - removed another useless argument from call to 'font-lock-flush'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate cc9393c6bd 318/372: - when annotationg a newline, replace annotation if a single one, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 92434b63ff 323/372: - improved documentation and fixed indentation for a couple of local functions., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a45584c53f 358/372: - removed customizable function 'annotate-y-or-n-prompt-function'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 07667d4ccb 314/372: - updated version number in top comment block., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 641daae9d0 335/372: - updated docs and version number.,
ELPA Syncer <=
- [nongnu] elpa/annotate b74bade94c 345/372: - increased version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e6af7f8ef7 058/372: workaround for nil file name, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate eb01c0cfbb 077/372: - removed copyright line from README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d2841bad65 325/372: - ensured all annotations are saved before showing summary window., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6239d033ce 355/372: - updated README.org mentioning 'annotate-y-or-n-prompt-function'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 04a5710cf6 334/372: - prevented saving a file whith an empty database;, ELPA Syncer, 2022/02/04
- [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