---
*** New command for the thumbnail buffer.
-The new command 'image-dired-unmark-all-marks' has been added with a
-binding in the menu.
+The new command 'image-dired-unmark-all-marks' has been added. It is
+bound to "U" in the thumbnail buffer.
---
*** Support Thumbnail Managing Standard v0.9.0 (Dec 2020).
:version "28.1")
(defface image-dired-thumb-mark
- '((t (:background "orange")))
+ '((t (:background "DarkOrange")))
"Background-color for marked images in thumbnail buffer."
:group 'image-dired
- :version "28.1")
+ :version "29.1")
(defcustom image-dired-line-up-method 'dynamic
"Default method for line-up of thumbnails in thumbnail buffer.
"Directory contains more than %d image files. Proceed?"
image-dired-show-all-from-dir-max-files))))
(image-dired-display-thumbs)
- (pop-to-buffer image-dired-thumbnail-buffer))
+ (pop-to-buffer image-dired-thumbnail-buffer)
+ (image-dired-unmark-all-marks))
(t (message "Image-Dired canceled")))))
;;;###autoload
(dired-mark 1))))
(defun image-dired-unmark-all-marks ()
- "Remove all marks from all files.
-Do this in the Dired buffer and update this thumbnail buffer."
- (interactive)
+ "Remove all marks from all files in associated Dired buffer.
+Also update the marks in the thumbnail buffer."
+ (interactive nil image-dired-thumbnail-mode)
(with-current-buffer (image-dired-associated-dired-buffer)
(dired-unmark-all-marks))
(image-dired-thumb-update-marks))
(define-key map [delete] 'image-dired-flag-thumb-original-file)
(define-key map "m" 'image-dired-mark-thumb-original-file)
(define-key map "u" 'image-dired-unmark-thumb-original-file)
+ (define-key map "U" 'image-dired-unmark-all-marks)
(define-key map "." 'image-dired-track-original-file)
(define-key map [tab] 'image-dired-jump-original-dired-buffer)