MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.116.98.100
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/thumbs.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:32 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/thumbs.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316\317\310\303&\210\312\320\321\322\316\323\310\303&\210\312\324\325\326\316\327\310\303&\210\312\330\331\332\316\327\310\303&\210\312\333\334\335\316\327\310\303&\210\312\336\337\340\316\323\310\303&\210\312\341\342\343\316\323\310\303&\210\312\344\345\346\316\327\310\303&\210\312\347\350\351\316\327\310\303&\210\312\352\353\354\316\355\310\303&\210\312\356\357\360\316\327\310\303&\210\312\361\362\363\316\317\310\303&\210\312\364\365\366\316\323\310\303&\207" [require dired custom-declare-group thumbs nil "Thumbnails previewer." :version "22.1" :group multimedia custom-declare-variable thumbs-thumbsdir (locate-user-emacs-file "thumbs") "Directory to store thumbnails." :type directory thumbs-geometry "100x100" "Size of thumbnails." string thumbs-per-line 4 "Number of thumbnails per line to show in directory." integer thumbs-max-image-number 16 "Maximum number of images initially displayed in thumbs buffer." thumbs-thumbsdir-max-size 50000000 "Maximum size for thumbnails directory.\nWhen it reaches that size (in bytes), a warning is sent." thumbs-conversion-program (if (eq system-type 'windows-nt) "convert.exe" (or (executable-find "convert") "/usr/X11R6/bin/convert")) "Name of conversion program for thumbnails generation.\nIt must be 'convert'." thumbs-setroot-command "xloadimage -onroot -fullscreen *" "Command to set the root window." thumbs-relief 5 "Size of button-like border around thumbnails." thumbs-margin 2 "Size of the margin around thumbnails.\nThis is where you see the cursor." thumbs-thumbsdir-auto-clean t "If set, delete older file in the thumbnails directory.\nDeletion is done at load time when the directory size is bigger\nthan `thumbs-thumbsdir-max-size'." boolean thumbs-image-resizing-step 10 "Step by which to resize image as a percentage." thumbs-temp-dir temporary-file-directory "Temporary directory to use.\nDefaults to `temporary-file-directory'.  Leaving it to\nthis value can let another user see some of your images." thumbs-temp-prefix "emacsthumbs" "Prefix to add to temp files."] 8)
#@38 Temporary filename of current image.
(defvar thumbs-current-tmp-filename nil (#$ . 2683))
(make-variable-buffer-local 'thumbs-current-tmp-filename)
#@28 Filename of current image.
(defvar thumbs-current-image-filename nil (#$ . 2837))
(make-variable-buffer-local 'thumbs-current-image-filename)
#@52 Counter for showing extra images in thumbs buffer.
(defvar thumbs-extra-images 1 (#$ . 2985))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local thumbs-extra-images put permanent-local t] 4)
#@24 Size of current image.
(defvar thumbs-current-image-size nil (#$ . 3207))
#@26 Number of current image.
(defvar thumbs-image-num nil (#$ . 3287))
(make-variable-buffer-local 'thumbs-image-num)
#@61 Name of buffer containing thumbnails associated with image.
(defvar thumbs-buffer nil (#$ . 3407))
(make-variable-buffer-local 'thumbs-buffer)
#@20 Current directory.
(defvar thumbs-current-dir nil (#$ . 3556))
#@23 List of marked files.
(defvar thumbs-marked-list nil (#$ . 3625))
(byte-code "\300\301!\210\302\301\303\304#\210\305\306\307\310!\203\310\202\311\312!\210\313\"\207" [make-variable-buffer-local thumbs-marked-list put permanent-local t defalias thumbs-gensym fboundp gensym (lambda (#1=#:def-tmp-var) (defvar thumbs-gensym-counter #1#)) 0 #[(&optional prefix) ";\203	\202\n\304\250\203\202	\211T\305\306\307\n#!*\207" [prefix thumbs-gensym-counter num pfix "G" make-symbol format "%s%d"] 5 "Generate a new uninterned symbol.\nThe name is made by appending a number to PREFIX, default \"G\"."]] 4)
(defalias 'thumbs-temp-dir #[nil "\301\302!!\207" [thumbs-temp-dir file-name-as-directory expand-file-name] 3])
(put 'thumbs-temp-dir 'byte-optimizer 'byte-compile-inline-expand)
#@50 Return a unique temporary filename for an image.
(defalias 'thumbs-temp-file #[nil "\302\303\304\305!!	\306\307!$\207" [thumbs-temp-dir thumbs-temp-prefix format "%s%s-%s.jpg" file-name-as-directory expand-file-name thumbs-gensym "T"] 6 (#$ . 4425)])
#@122 Return the current thumbnails directory (from `thumbs-thumbsdir').
Create the thumbnails directory if it does not exist.
(defalias 'thumbs-thumbsdir #[nil "\301\302!!\303!\204\304\305\"\210\306\307!\210)\207" [thumbs-thumbsdir file-name-as-directory expand-file-name file-directory-p make-directory t message "Creating thumbnails directory"] 3 (#$ . 4684)])
#@179 Clean the thumbnails directory.
If the total size of all files in `thumbs-thumbsdir' is bigger than
`thumbs-thumbsdir-max-size', files are deleted until the max size is
reached.
(defalias 'thumbs-cleanup-thumbsdir #[nil "\304\305\306\307\310 \311\312 #\"\313\"\314\315\305\316\"\"	\nV\205I\317\320\211@A)\211A@)\"\210\321\211@A)\211A@)!\210	\211@A)@ZA\202*\207" [files-list dirsize thumbs-thumbsdir-max-size x sort mapcar #[(f) "\302!\303	8\304	8E)\207" [f fattribs-list file-attributes 4 7] 3] directory-files thumbs-thumbsdir t image-file-name-regexp #[(l1 l2) "\302@	@\"\207" [l1 l2 time-less-p] 3] apply + #[(x) "\211A@)\207" [x] 2] message "Deleting file %s" delete-file] 8 (#$ . 5056)])
(byte-code "\203\301 \210\301\207" [thumbs-thumbsdir-auto-clean thumbs-cleanup-thumbsdir] 1)
#@371 Call the convert program.
FILEIN is the input file,
FILEOUT is the output file,
ACTION is the command to send to convert.
Optional arguments are:
ARG any arguments to the ACTION command,
OUTPUT-FORMAT is the file format to output (default is jpeg),
ACTION-PREFIX is the symbol to place before the ACTION command
              (defaults to '-' but can sometimes be '+').
(defalias 'thumbs-call-convert #[(filein fileout action &optional arg output-format action-prefix) "\306\307\211\211	\206\n\310\n\206\311\f\312\313
\206\314
#&	\207" [thumbs-conversion-program action-prefix action arg filein output-format call-process nil "-" "" format "%s:%s" "jpeg" fileout] 13 (#$ . 5875)])
#@39 New image (a cons of width x height).
(defalias 'thumbs-new-image-size #[(s increment) "	_\304@\n@_\305\245\\!\304A\nA_\305\245\\!)B\207" [increment thumbs-image-resizing-step d s round 100] 5 (#$ . 6570)])
#@149 Resize image in current buffer.
If SIZE is specified use it.  Otherwise make the image larger or
smaller according to whether INCREMENT is 1 or -1.
(defalias 'thumbs-resize-image-1 #[(&optional increment size) "\306	\206\f\307\f
\"\310 \311 \210\312\n\206\313\314@!\315\314A!Q$\210\212\316\317\320#\210)\211,\207" [buffer-read-only thumbs-current-tmp-filename old size thumbs-current-image-size increment nil thumbs-new-image-size thumbs-temp-file erase-buffer thumbs-call-convert "sample" number-to-string "x" thumbs-insert-image jpeg 0 x tmp thumbs-current-image-filename] 8 (#$ . 6790)])
#@59 Resize image interactively to specified WIDTH and HEIGHT.
(defalias 'thumbs-resize-image #[(width height) "\302\303	B\"\207" [width height thumbs-resize-image-1 nil] 4 (#$ . 7410) "nWidth: \nnHeight: "])
#@25 Resize image (smaller).
(defalias 'thumbs-shrink-image #[nil "\300\301!\207" [thumbs-resize-image-1 -1] 2 (#$ . 7621) nil])
#@24 Resize image (bigger).
(defalias 'thumbs-enlarge-image #[nil "\300\301!\207" [thumbs-resize-image-1 1] 2 (#$ . 7751) nil])
#@44 Return a thumbnail name for the image IMG.
(defalias 'thumbs-thumbname #[(img) "\302\303!\304\305\306 \307	!\310\311\312\313\314\315	\316\"\"#$)!\207" [img filename convert-standard-filename expand-file-name format "%s%08x-%s.jpg" thumbs-thumbsdir sxhash subst-char-in-string 32 95 apply concat split-string "/"] 13 (#$ . 7880)])
#@31 Create the thumbnail for IMG.
(defalias 'thumbs-make-thumb #[(img) "\304!\305!\306	!\204\307\n	\310$\210	*\207" [img tn fn thumbs-geometry expand-file-name thumbs-thumbname file-exists-p thumbs-call-convert "sample"] 5 (#$ . 8218)])
#@38 Return image type from filename IMG.
(defalias 'thumbs-image-type #[(img) "\301\302\"\203	\303\207\301\304\"\203\305\207\301\306\"\203\307\207\301\310\"\203$\311\207\301\312\"\203-\313\207\301\314\"\2036\315\207\301\316\"\203?\317\207\301\320\"\205G\321\207" [img string-match ".*\\.jpe?g\\'" jpeg ".*\\.xpm\\'" xpm ".*\\.xbm\\'" xbm ".*\\.pbm\\'" pbm ".*\\.gif\\'" gif ".*\\.bmp\\'" bmp ".*\\.png\\'" png ".*\\.tiff?\\'" tiff] 3 (#$ . 8464)])
(defalias 'thumbs-file-size #[(img) "\302\303\304\305!\306FC!\307\"\310\311	@!!\312\310\311	A!!Q)\207" [img i image-size find-image :type thumbs-image-type :file t number-to-string round "x"] 6])
#@32 Display the thumbnail for IMG.
(defalias 'thumbs-find-thumb #[(img) "\301\302!!\207" [img find-file thumbs-make-thumb] 3 (#$ . 9131) "f"])
#@191 Insert image IMG at point.
TYPE and RELIEF will be used in constructing the image; see `image'
in the emacs-lisp manual for further documentation.
If MARKED is non-nil, the image is marked.
(defalias 'thumbs-insert-image #[(img type relief &optional marked) "\306\307\310	\311\n\312\205
\313\314\f\257\315
!\210\316\317!\210\320
\321\"\211)\207" [type img relief marked thumbs-margin i image :type :file :relief :conversion disabled :margin insert-image make-local-variable thumbs-current-image-size image-size t] 11 (#$ . 9278)])
#@83 Insert the thumbnail for IMG at point.
If MARKED is non-nil, the image is marked.
(defalias 'thumbs-insert-thumb #[(img &optional marked) "\303\304!\305	\n$\210\306`S`\307\310\311!\312BBBB#\207" [img thumbs-relief marked thumbs-insert-image thumbs-make-thumb jpeg add-text-properties thumb-image-file help-echo file-name-nondirectory (rear-nonsticky help-echo)] 8 (#$ . 9822)])
#@43 Insert all thumbnails into thumbs buffer.
(defalias 'thumbs-do-thumbs-insertion #[(list) "\306	G\211\f_Z\307	
\"\210	\310\211\203A@\311\211\235\"\210\312T\211\"\306U\2038\313 \210A\211\204*o\204I\313 \210
\306V\205R\314\315!+\207" [i list length thumbs-max-image-number thumbs-extra-images diff 0 nbutlast nil thumbs-insert-thumb mod newline message "Type + to display more images." img --dolist-tail-- thumbs-marked-list thumbs-per-line] 5 (#$ . 10209)])
(defalias 'thumbs-show-thumbs-list #[(list &optional dir same-window) "\306 \203\307\310!\204\311\312!\210\203\313\202\314	\203\"\315	P\202#\316!\210\317\320 \210\321 \210p	\2035	\322
!\210eb\210\323\324!\210\f\211)\207" [same-window dir inhibit-read-only thumbs-buffer default-directory list display-images-p image-type-available-p jpeg error "Required image type is not supported in this Emacs session" switch-to-buffer pop-to-buffer "*Thumbs: " "*THUMB-View*" t erase-buffer thumbs-mode thumbs-do-thumbs-insertion make-local-variable thumbs-current-dir] 3])
#@153 Make a preview buffer for all images in DIR.
Optional argument REG to select file matching a regexp,
and SAME-WINDOW to show thumbs in the same window.
(defalias 'thumbs-show-from-dir #[(dir &optional reg same-window) "\303\304\305	\206\n\306 #\n#\207" [dir reg same-window thumbs-show-thumbs-list directory-files t image-file-name-regexp] 5 (#$ . 11280) "DDir: "])
#@51 In dired, make a thumbs buffer with marked files.
(defalias 'thumbs-dired-show-marked #[nil "\300\301 \302\303#\207" [thumbs-show-thumbs-list dired-get-marked-files nil t] 4 (#$ . 11655) nil])
#@69 In dired, make a thumbs buffer with all files in current directory.
(defalias 'thumbs-dired-show #[nil "\301\302\303#\207" [default-directory thumbs-show-from-dir nil t] 4 (#$ . 11854) nil])
(defalias 'thumbs 'thumbs-show-from-dir)
(defalias 'thumbs-find-image #[(img &optional num otherwin) "p	\203\n\306\202\307\310!\210\311 \210\312\313\n!\314\315!R\316\n\317\206+\320ed|\210\212\321\n\322\n!\320#+\207" [buffer otherwin img num mode-name thumbs-buffer switch-to-buffer-other-window switch-to-buffer "*Image*" thumbs-view-image-mode "image-view-mode: " file-name-nondirectory " - " number-to-string t nil 0 thumbs-insert-image thumbs-image-type inhibit-read-only thumbs-current-image-filename thumbs-current-tmp-filename thumbs-image-num] 5])
#@80 Display image IMG for thumbnail at point.
Use another window if OTHERWIN is t.
(defalias 'thumbs-find-image-at-point #[(&optional img otherwin) "\206\303 \304	`\n#)\207" [img i otherwin thumbs-current-image thumbs-find-image] 4 (#$ . 12625) nil])
#@82 Display image for thumbnail at point in the preview buffer.
Open another window.
(defalias 'thumbs-find-image-at-point-other-window #[nil "\300\301\302\"\207" [thumbs-find-image-at-point nil t] 3 (#$ . 12882) nil])
#@51 Display image for thumbnail at mouse click EVENT.
(defalias 'thumbs-mouse-find-image #[(event) "\301!\210\302 \207" [event mouse-set-point thumbs-find-image-at-point] 2 (#$ . 13103) "e"])
#@35 Call the setroot program for IMG.
(defalias 'thumbs-call-setroot-command #[(img) "\302\303!\210\304\305\306\307\310!!	\311\312%!\210\302\313!\207" [img thumbs-setroot-command run-hooks thumbs-before-setroot-hook shell-command replace-regexp-in-string "\\*" shell-quote-argument expand-file-name nil t thumbs-after-setroot-hook] 7 (#$ . 13298)])
#@50 Set the image at point as the desktop wallpaper.
(defalias 'thumbs-set-image-at-point-to-root-window #[nil "\300\301 !\207" [thumbs-call-setroot-command thumbs-current-image] 2 (#$ . 13650) nil])
#@32 Set the current image as root.
(defalias 'thumbs-set-root #[nil "\302\206	!\207" [thumbs-current-tmp-filename thumbs-current-image-filename thumbs-call-setroot-command] 2 (#$ . 13852) nil])
#@76 Make an alist of elements (POS . FILENAME) for all images in thumb buffer.
(defalias 'thumbs-file-alist #[nil "rq\210\212\302eb\210m\204%l\204\303 \203\304 \303 B	B\305u\210\202\n	\237+\207" [thumbs-buffer list nil thumbs-current-image point-marker 1] 2 (#$ . 14051)])
#@59 Make a list of file names for all images in thumb buffer.
(defalias 'thumbs-file-list #[nil "\212\301eb\210m\204\302 \203\302 B\303u\210\202\237*\207" [list nil thumbs-current-image 1] 2 (#$ . 14335)])
#@73 Delete the image at point (and its thumbnail) (or marked files if any).
(defalias 'thumbs-delete-images #[nil "\206\306 C\307\310\311	G\"!\205Q\312 \313	\314\211\205P
@\314\211\315\316\217\210\204G\317\f\"\203B\317\f\"@b\210``T|\210\320\f\")
A\211\204\314,)\207" [thumbs-marked-list files inhibit-read-only thumbs-file-list x --dolist-tail-- thumbs-current-image yes-or-no-p format "Really delete %d files? " thumbs-file-alist t nil (byte-code "\301!\210\301\302!!\207" [x delete-file thumbs-thumbname] 3) ((file-error (byte-code "\301\211\207" [failure t] 2))) rassoc delq failure] 5 (#$ . 14553) nil])
#@73 Rename the image at point (and its thumbnail) (or marked files if any).
(defalias 'thumbs-rename-images #[(newfile) "\206\306 C\307\310!\204'\203'\311!\203\"\312\313\"\210\202'\314\315\"\210\316\317\320\nG\"!\203x\321 \315\n\307\211\203w@\307\211\322\323\217\210\204m\324
\"\203g\324
\"@b\210``T|\210\325\")A\211\204@,	\205\205\326\327\317\330	#\331#*\207" [thumbs-marked-list failures files newfile inhibit-read-only thumbs-file-list thumbs-current-image nil file-directory-p file-exists-p error "Renaming marked files to file name `%s'" make-directory t yes-or-no-p format "Really rename %d files? " thumbs-file-alist (byte-code "\302!\203\303	\304\305	!\"\"\210\202\303	\"\210\302\207" [newfile file file-directory-p rename-file expand-file-name file-name-nondirectory] 5) ((file-error (byte-code "\303	\nB\303\207" [failure file failures t] 2))) rassoc delq display-warning file-error "Rename failures for %s into %s" :error file --dolist-tail-- failure] 7 (#$ . 15190) "FRename to file or directory: "])
#@26 Kill the current buffer.
(defalias 'thumbs-kill-buffer #[nil "\300\301\302 \"\207" [quit-window t selected-window] 3 (#$ . 16261) nil])
#@33 Show the image with number NUM.
(defalias 'thumbs-show-image-num #[(num) "\306\307!	S\310 8Arq\210\311\312\n!\313\314	!R\315\316 \210\317\n\320\n!\321#\210eb\210*	\n\211*\207" [image-buffer num img mode-name inhibit-read-only thumbs-image-num get-buffer-create "*Image*" thumbs-file-alist "image-view-mode: " file-name-nondirectory " - " number-to-string t erase-buffer thumbs-insert-image thumbs-image-type 0 thumbs-current-image-filename] 5 (#$ . 16403)])
#@26 Show the previous image.
(defalias 'thumbs-previous-image #[nil "S\303 G	\304U\203\nS\305	!*\207" [thumbs-image-num i number thumbs-file-alist 0 thumbs-show-image-num] 2 (#$ . 16875) nil])
#@22 Show the next image.
(defalias 'thumbs-next-image #[nil "T\303 G	\nU\203\304\305	!*\207" [thumbs-image-num i number thumbs-file-alist 1 thumbs-show-image-num] 2 (#$ . 17076) nil])
#@39 Display the associated thumbs buffer.
(defalias 'thumbs-display-thumbs-buffer #[nil "\301!\207" [thumbs-buffer display-buffer] 2 (#$ . 17268) nil])
#@35 Redraw the current thumbs buffer.
(defalias 'thumbs-redraw-buffer #[nil "`\303\304 \305 \210\306!\210\nb+\207" [files inhibit-read-only p t thumbs-file-list erase-buffer thumbs-do-thumbs-insertion] 3 (#$ . 17423)])
#@26 Mark the image at point.
(defalias 'thumbs-mark #[nil "\303 \211\204\304\305!\210	B\306\307\310!\210\311\306\"\210*l\205!\312u\207" [elt thumbs-marked-list inhibit-read-only thumbs-current-image error "No image here" t delete-char 1 thumbs-insert-thumb nil] 4 (#$ . 17648) nil])
#@28 Unmark the image at point.
(defalias 'thumbs-unmark #[nil "\303 \211\204\304\305!\210\306	\"\307\310\311!\210\312\313\"\210*l\205\"\313u\207" [elt thumbs-marked-list inhibit-read-only thumbs-current-image error "No image here" delete t delete-char 1 thumbs-insert-thumb nil] 4 (#$ . 17941) nil])
(byte-code "\302\303\304\305\306!!\307	#\"\207" [thumbs-temp-dir thumbs-temp-prefix mapc delete-file directory-files file-name-as-directory expand-file-name t] 6)
#@105 Call convert to do ACTION on image with argument ARG.
ACTION and ARG should be a valid convert command.
(defalias 'thumbs-modify-image #[(action &optional arg) "\306	\307 \310 \210\311\n\206\f
\206\312$\210\212\313\314\315#\210)\211+\207" [buffer-read-only thumbs-current-tmp-filename old tmp thumbs-current-image-filename action nil thumbs-temp-file erase-buffer thumbs-call-convert "" thumbs-insert-image jpeg 0 arg] 5 (#$ . 18416) "sAction: \nsValue: "])
#@37 Emboss the image with value EMBOSS.
(defalias 'thumbs-emboss-image #[(emboss) "\301W\204\302V\204\303\304\246!\203\305\306!\210\307\310\311!\"\207" [emboss 3 31 zerop 2 error "Arg must be an odd number between 3 and 31" thumbs-modify-image "emboss" number-to-string] 4 (#$ . 18893) "nEmboss value: "])
#@31 Turn the image to monochrome.
(defalias 'thumbs-monochrome-image #[nil "\300\301!\207" [thumbs-modify-image "monochrome"] 2 (#$ . 19211) nil])
#@19 Negate the image.
(defalias 'thumbs-negate-image #[nil "\300\301!\207" [thumbs-modify-image "negate"] 2 (#$ . 19360) nil])
#@48 Rotate the image 90 degrees counter-clockwise.
(defalias 'thumbs-rotate-left #[nil "\300\301\302\"\207" [thumbs-modify-image "rotate" "270"] 3 (#$ . 19489) nil])
#@40 Rotate the image 90 degrees clockwise.
(defalias 'thumbs-rotate-right #[nil "\300\301\302\"\207" [thumbs-modify-image "rotate" "90"] 3 (#$ . 19657) nil])
#@50 Return the name of the image file name at point.
(defalias 'thumbs-current-image #[nil "\300`\301\"\207" [get-text-property thumb-image-file] 3 (#$ . 19817)])
#@25 Move forward one image.
(defalias 'thumbs-forward-char #[nil "\300u\210m\204\301 \204\300u\210\202\302 \207" [nil thumbs-current-image thumbs-show-name] 1 (#$ . 19982) nil])
#@26 Move backward one image.
(defalias 'thumbs-backward-char #[nil "\300u\210o\204\301 \204\300u\210\202\302 \207" [-1 thumbs-current-image thumbs-show-name] 1 (#$ . 20168) nil])
#@19 Move up one line.
(defalias 'thumbs-backward-line #[nil "\300y\210\301 \207" [-1 thumbs-show-name] 1 (#$ . 20355) nil])
#@21 Move down one line.
(defalias 'thumbs-forward-line #[nil "\300y\210\301 \207" [1 thumbs-show-name] 1 (#$ . 20481) nil])
#@62 Show more than `thumbs-max-image-number' images, if present.
(defalias 'thumbs-show-more-images #[(&optional arg) "\204\302	\\\303 \207" [arg thumbs-extra-images 1 thumbs-dired-show] 2 (#$ . 20607) "P"])
#@36 Show the name of the current file.
(defalias 'thumbs-show-name #[nil "\301 \211\205\302\303\304!#)\207" [f thumbs-current-image message "%s [%s]" thumbs-file-size] 6 (#$ . 20823) nil])
#@25 Save the current image.
(defalias 'thumbs-save-current-image #[nil "\206	\304\305	\"\306\n\"*\207" [thumbs-current-tmp-filename thumbs-current-image-filename sa f read-from-minibuffer "Save image file as: " copy-file] 4 (#$ . 21019) nil])
#@46 Use `dired' on the current thumbs directory.
(defalias 'thumbs-dired #[nil "\301!\207" [thumbs-current-dir dired] 2 (#$ . 21270) nil])
#@27 Keymap for `thumbs-mode'.
(defvar thumbs-mode-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337\314#\210\302\340\341#\210\302\342\343#\210)\207" [map make-sparse-keymap define-key [return] thumbs-find-image-at-point [mouse-2] thumbs-mouse-find-image [(meta return)] thumbs-find-image-at-point-other-window [(control return)] thumbs-set-image-at-point-to-root-window [delete] thumbs-delete-images [right] thumbs-forward-char [left] thumbs-backward-char [up] thumbs-backward-line [down] thumbs-forward-line "+" thumbs-show-more-images "d" thumbs-dired "m" thumbs-mark "u" thumbs-unmark "R" thumbs-rename-images "x" "s" thumbs-show-name "q" thumbs-kill-buffer] 4) (#$ . 21412))
(byte-code "\300\301\302\303#\210\304\305N\204\300\304\305\306\307!#\210\310\311!\204 \300\311\312\301#\210\300\207" [put thumbs-mode mode-class special thumbs-mode-hook variable-documentation purecopy "Hook run when entering thumbs mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp thumbs-mode-map definition-name] 5)
(defvar thumbs-mode-map (make-sparse-keymap))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [thumbs-mode-map variable-documentation put purecopy "Keymap for `thumbs-mode'." boundp thumbs-mode-syntax-table definition-name thumbs-mode] 5)
(defvar thumbs-mode-syntax-table (make-syntax-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [thumbs-mode-syntax-table variable-documentation put purecopy "Syntax table for `thumbs-mode'." thumbs-mode-abbrev-table definition-name thumbs-mode] 5)
(defvar thumbs-mode-abbrev-table (progn (define-abbrev-table 'thumbs-mode-abbrev-table nil) thumbs-mode-abbrev-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [thumbs-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `thumbs-mode'." thumbs-mode derived-mode-parent nil] 5)
#@145 Preview images in a thumbnails buffer

This mode runs the hook `thumbs-mode-hook', as the final step
during initialization.

\{thumbs-mode-map}
(defalias 'thumbs-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\307)\315\316!\207" [delay-mode-hooks major-mode mode-name thumbs-mode-map thumbs-mode-syntax-table thumbs-mode-abbrev-table make-local-variable t kill-all-local-variables thumbs-mode "thumbs" use-local-map set-syntax-table run-mode-hooks thumbs-mode-hook local-abbrev-table buffer-read-only] 2 (#$ . 23648) nil])
#@38 Keymap for `thumbs-view-image-mode'.
(defvar thumbs-view-image-mode-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210)\207" [map make-sparse-keymap define-key [prior] thumbs-previous-image [next] thumbs-next-image "^" thumbs-display-thumbs-buffer "-" thumbs-shrink-image "+" thumbs-enlarge-image "<" thumbs-rotate-left ">" thumbs-rotate-right "e" thumbs-emboss-image "r" thumbs-resize-image "s" thumbs-save-current-image "q" thumbs-kill-buffer "w" thumbs-set-root] 4) (#$ . 24205))
(byte-code "\300\301\302\303#\210\304\305N\204\300\304\305\306\307!#\210\310\311!\204 \300\311\312\301#\210\300\207" [put thumbs-view-image-mode mode-class special thumbs-view-image-mode-hook variable-documentation purecopy "Hook run when entering image-view-mode mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp thumbs-view-image-mode-map definition-name] 5)
(defvar thumbs-view-image-mode-map (make-sparse-keymap))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [thumbs-view-image-mode-map variable-documentation put purecopy "Keymap for `thumbs-view-image-mode'." boundp thumbs-view-image-mode-syntax-table definition-name thumbs-view-image-mode] 5)
(defvar thumbs-view-image-mode-syntax-table (make-syntax-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [thumbs-view-image-mode-syntax-table variable-documentation put purecopy "Syntax table for `thumbs-view-image-mode'." thumbs-view-image-mode-abbrev-table definition-name thumbs-view-image-mode] 5)
(defvar thumbs-view-image-mode-abbrev-table (progn (define-abbrev-table 'thumbs-view-image-mode-abbrev-table nil) thumbs-view-image-mode-abbrev-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [thumbs-view-image-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `thumbs-view-image-mode'." thumbs-view-image-mode derived-mode-parent nil] 5)
#@290 Major-mode.
Uses keymap `thumbs-view-image-mode-map', abbrev table `thumbs-view-image-mode-abbrev-table' and syntax-table `thumbs-view-image-mode-syntax-table'.

This mode runs the hook `thumbs-view-image-mode-hook', as the final step
during initialization.

\{thumbs-view-image-mode-map}
(defalias 'thumbs-view-image-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\307)\315\316!\207" [delay-mode-hooks major-mode mode-name thumbs-view-image-mode-map thumbs-view-image-mode-syntax-table thumbs-view-image-mode-abbrev-table make-local-variable t kill-all-local-variables thumbs-view-image-mode "image-view-mode" use-local-map set-syntax-table run-mode-hooks thumbs-view-image-mode-hook local-abbrev-table buffer-read-only] 2 (#$ . 26419) nil])
#@59 In dired, call the setroot program on the image at point.
(defalias 'thumbs-dired-setroot #[nil "\300\301 !\207" [thumbs-call-setroot-command dired-get-filename] 2 (#$ . 27196) nil])
(byte-code "\301\302\303#\210\301\304\305#\210\301\306\307#\210\310\311!\207" [dired-mode-map define-key "a" thumbs-dired-show "m" thumbs-dired-show-marked "w" thumbs-dired-setroot provide thumbs] 4)

MMCT - 2023