From 9ea7e7c4d4867422e4d4f94c764d529b96140f5d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 12 Nov 2021 03:51:21 +0100 Subject: [PATCH] image-dired: Improve thumbnail mode menu * lisp/image-dired.el (image-dired-thumbnail-mode-menu): Improve menu with more logical ordering and better naming. --- lisp/image-dired.el | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/lisp/image-dired.el b/lisp/image-dired.el index a2c37f00f23..4015f42c6b8 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -1612,33 +1612,30 @@ You probably want to use this together with '("Image-Dired" ["Display image" image-dired-display-thumbnail-original-image] ["Display in external viewer" image-dired-thumbnail-display-external] + ["Jump to Dired buffer" image-dired-jump-original-dired-buffer] "---" - ["Mark original" image-dired-mark-thumb-original-file] - ["Unmark original" image-dired-unmark-thumb-original-file] - ["Flag original for deletion" image-dired-flag-thumb-original-file] - "---" - ["Track original" image-dired-track-original-file] - ["Jump to dired buffer" image-dired-jump-original-dired-buffer] - ["Toggle movement tracking on/off" image-dired-toggle-movement-tracking - :style toggle - :selected image-dired-track-movement] + ["Mark image" image-dired-mark-thumb-original-file] + ["Unmark image" image-dired-unmark-thumb-original-file] + ["Unmark all images" image-dired-unmark-all-marks] + ["Flag for deletion" image-dired-flag-thumb-original-file] + ["Delete marked images" image-dired-delete-marked] "---" ["Rotate original right" image-dired-rotate-original-right] ["Rotate original left" image-dired-rotate-original-left] "---" - ["Line up thumbnails" image-dired-line-up] - ["Dynamic line up" image-dired-line-up-dynamic] - ["Refresh thumb" image-dired-refresh-thumb] - "---" ["Comment thumbnail" image-dired-comment-thumbnail] ["Tag current or marked thumbnails" image-dired-tag-thumbnail] - "---" ["Remove tag from current or marked thumbnails" image-dired-tag-thumbnail-remove] - ["Unmark all marks" image-dired-unmark-all-marks] - ["Delete marked images" image-dired-delete-marked] - ["Delete thumbnail from buffer" image-dired-delete-char] "---" + ("View Options" + ["Toggle movement tracking" image-dired-toggle-movement-tracking + :style toggle + :selected image-dired-track-movement] + "---" + ["Line up thumbnails" image-dired-line-up] + ["Dynamic line up" image-dired-line-up-dynamic] + ["Refresh thumb" image-dired-refresh-thumb]) ["Quit" quit-window])) (defvar image-dired-display-image-mode-map -- 2.39.2