[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm f789f1a8b8 3/6: Show last access in HFF file name his
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm f789f1a8b8 3/6: Show last access in HFF file name history |
Date: |
Wed, 30 Mar 2022 09:58:29 -0400 (EDT) |
branch: elpa/helm
commit f789f1a8b82841746687f9c6b2400e6e47a15b13
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Show last access in HFF file name history
---
helm-files.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index 73d7e92dc3..c863f7145e 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -6026,13 +6026,20 @@ doing.")
map))
(defun helm-file-name-history-transformer (candidates _source)
- (cl-loop for c in candidates
+ (cl-loop with lgst = (cl-loop for c in candidates maximize (length c))
+ for c in candidates
+ for last-access = (format-time-string "%d/%m/%Y:%X"
+ (nth 4 (file-attributes c)))
for disp = (cond ((or (file-remote-p c)
(and (fboundp 'tramp-archive-file-name-p)
(tramp-archive-file-name-p c)))
(propertize c 'face 'helm-history-remote))
((file-exists-p c)
- (propertize c 'face 'helm-ff-file))
+ (propertize
+ c 'display
+ (concat (propertize c 'face 'helm-ff-file)
+ (make-string (- lgst (length c)) ? )
+ last-access)))
(t (unless helm--file-name-history-hide-deleted
(propertize c 'face 'helm-history-deleted))))
when disp
- [nongnu] elpa/helm updated (5e035c9193 -> 5b17313011), ELPA Syncer, 2022/03/30
- [nongnu] elpa/helm 2af6cd5521 2/6: Make persistent-help support a var or a function as specified in doc, ELPA Syncer, 2022/03/30
- [nongnu] elpa/helm 6faf1672bc 4/6: Update bug template, ELPA Syncer, 2022/03/30
- [nongnu] elpa/helm f789f1a8b8 3/6: Show last access in HFF file name history,
ELPA Syncer <=
- [nongnu] elpa/helm 81a3ec6c18 1/6: Update helm-source documentation, ELPA Syncer, 2022/03/30
- [nongnu] elpa/helm 36d4204aaa 5/6: Try to fix broken template, ELPA Syncer, 2022/03/30
- [nongnu] elpa/helm 5b17313011 6/6: More update on bug template, ELPA Syncer, 2022/03/30