? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /usr/share/emacs/24.3/lisp/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : //usr/share/emacs/24.3/lisp/image-dired.elc

;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:22 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/image-dired.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\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\210\314\315\316\317\320\321\312\305&\210\314\322\323\324\320\325\312\305&\210\314\326\327\330\320\321\312\305&\210\314\331\332\333\320\321\312\305&\210\314\334\335\336\320\321\312\305&\210\314\337\340\341\320\321\312\305&\210\314\342\343\344\320\321\312\305&\210\314\345\346\347\320\321\312\305&\210\314\350\351\352\320\321\312\305&\210\314\353\346\354\320\321\312\305&\210\314\355\351\356\320\321\312\305&\210\314\357\360\361\320\362\312\305&\210\314\363\364\365\320\366\312\305&\210\314\367\370\371\320\321\312\305&\210\314\372\373\374\320\321\312\305&\210\314\375\376\377\320\321\312\305&\210\314\201@\201A\201B\320\321\312\305&\210\314\201C\201D\201E\320\321\312\305&\210\314\201F\201G\201H\320\321\312\305&\210\314\201I\201J\201K\320\201L\312\305&\210\314\201M\201N\201O\320\321\312\305&\210\314\201P\201Q\201R\320\321\312\305&\210\314\201S\201N\201T\320\321\312\305&\210\314\201U\201V\201W\320\321\312\305&\210\314\201X\201Y\201Z\320\201[\312\305&\210\314\201\\\201]\201^\320\201_\312\305&\210\314\201`\201\\\201a\320\201_\312\305&\210\314\201b\201\\\201c\320\201_\312\305&\210\314\201d\201e\201f\320\201_\312\305&\210\314\201g\201e\201h\320\201_\312\305&\210\314\201i\201j\201k\320\201l\312\305&\210\314\201m\201n\201o\320\201_\312\305&\210\314\201p\201q\201r\320\201_\312\305&\210\314\201s\201t\201u\320\201_\312\305&\210\314\201v\201J\201w\320\201L\312\305&\210\314\201x\306\201y\320\201L\312\305&\210\314\201z\201J\201{\320\201L\312\305&\210\314\201|\201}\201~\320\321\312\305&\210\314\201\201\200\201\201\320\321\312\305&\210\314\201\202\201\203\201\204\320\321\312\305&\210\314\201\205\201\206\201\207\320\201_\312\305&\207" [require dired format-spec widget custom-declare-group image-dired nil "Use dired to browse your images as thumbnails, and more." :prefix "image-dired-" :group multimedia custom-declare-variable image-dired-dir (locate-user-emacs-file "image-dired/") "Directory where thumbnail images are stored." :type string image-dired-thumbnail-storage 'use-image-dired-dir "How to store image-dired's thumbnail files.\nImage-Dired can store thumbnail files in one of two ways and this is\ncontrolled by this variable.  \"Use image-dired dir\" means that the\nthumbnails are stored in a central directory.  \"Per directory\"\nmeans that each thumbnail is stored in a subdirectory called\n\".image-dired\" in the same directory where the image file is.\n\"Thumbnail Managing Standard\" means that the thumbnails are\nstored and generated according to the Thumbnail Managing Standard\nthat allows sharing of thumbnails across different programs." (choice :tag "How to store thumbnail files" (const :tag "Thumbnail Managing Standard" standard) (const :tag "Use image-dired-dir" use-image-dired-dir) (const :tag "Per-directory" per-directory)) image-dired-db-file (expand-file-name ".image-dired_db" image-dired-dir) "Database file where file names and their associated tags are stored." image-dired-temp-image-file (expand-file-name ".image-dired_temp" image-dired-dir) "Name of temporary image file used by various commands." image-dired-gallery-dir (expand-file-name ".image-dired_gallery" image-dired-dir) "Directory to store generated gallery html pages.\nThis path needs to be \"shared\" to the public so that it can access\nthe index.html page that image-dired creates." image-dired-gallery-image-root-url "http://your.own.server/image-diredpics" "URL where the full size images are to be found.\nNote that this path has to be configured in your web server.  Image-Dired\nexpects to find pictures in this directory." image-dired-gallery-thumb-image-root-url "http://your.own.server/image-diredthumbs" "URL where the thumbnail images are to be found.\nNote that this path has to be configured in your web server.  Image-Dired\nexpects to find pictures in this directory." image-dired-cmd-create-thumbnail-program "convert" "Executable used to create thumbnail.\nUsed together with `image-dired-cmd-create-thumbnail-options'." image-dired-cmd-create-thumbnail-options "%p -size %wx%h \"%f\" -resize \"%wx%h>\" -strip jpeg:\"%t\"" "Format of command used to create thumbnail image.\nAvailable options are %p which is replaced by\n`image-dired-cmd-create-thumbnail-program', %w which is replaced by\n`image-dired-thumb-width', %h which is replaced by `image-dired-thumb-height',\n%f which is replaced by the file name of the original image and %t\nwhich is replaced by the file name of the thumbnail file." image-dired-cmd-create-temp-image-program "Executable used to create temporary image.\nUsed together with `image-dired-cmd-create-temp-image-options'." image-dired-cmd-create-temp-image-options "Format of command used to create temporary image for display window.\nAvailable options are %p which is replaced by\n`image-dired-cmd-create-temp-image-program', %w and %h which is replaced by\nthe calculated max size for width and height in the image display window,\n%f which is replaced by the file name of the original image and %t which\nis replaced by the file name of the temporary file." image-dired-cmd-pngnq-program (executable-find "pngnq") "The file name of the `pngnq' program.\nIt quantizes colors of PNG images down to 256 colors." (choice (const :tag "Not Set" nil) string) image-dired-cmd-pngcrush-program (executable-find "pngcrush") "The file name of the `pngcrush' program.\nIt optimizes the compression of PNG images.  Also it adds PNG textual chunks\nwith the information required by the Thumbnail Managing Standard." (choice (const :tag "Not Set" nil) string) image-dired-cmd-create-standard-thumbnail-command (concat image-dired-cmd-create-thumbnail-program " " "-size %wx%h \"%f\" " (unless (or image-dired-cmd-pngcrush-program image-dired-cmd-pngnq-program) (concat "-set \"Thumb::MTime\" \"%m\" " "-set \"Thumb::URI\" \"file://%f\" " "-set \"Description\" \"Thumbnail of file://%f\" " "-set \"Software\" \"" (emacs-version) "\" ")) "-thumbnail \"%wx%h>\" png:\"%t\"" (if image-dired-cmd-pngnq-program (concat " ; " image-dired-cmd-pngnq-program " -f \"%t\"" (unless image-dired-cmd-pngcrush-program " ; mv %q %t"))) (if image-dired-cmd-pngcrush-program (concat (unless image-dired-cmd-pngcrush-program " ; cp %t %q") " ; " image-dired-cmd-pngcrush-program " -q " "-text b \"Description\" \"Thumbnail of file://%f\" " "-text b \"Software\" \"" (emacs-version) "\" " "-text b \"Thumb::MTime\" \"%m\" " "-text b \"Thumb::URI\" \"file://%f\" " "%q %t" " ; rm %q"))) "Command to create thumbnails according to the Thumbnail Managing Standard." image-dired-cmd-rotate-thumbnail-program "mogrify" "Executable used to rotate thumbnail.\nUsed together with `image-dired-cmd-rotate-thumbnail-options'." image-dired-cmd-rotate-thumbnail-options "%p -rotate %d \"%t\"" "Format of command used to rotate thumbnail image.\nAvailable options are %p which is replaced by\n`image-dired-cmd-rotate-thumbnail-program', %d which is replaced by the\nnumber of (positive) degrees to rotate the image, normally 90 or 270\n(for 90 degrees right and left), %t which is replaced by the file name\nof the thumbnail file." image-dired-cmd-rotate-original-program "jpegtran" "Executable used to rotate original image.\nUsed together with `image-dired-cmd-rotate-original-options'." image-dired-cmd-rotate-original-options "%p -rotate %d -copy all -outfile %t \"%o\"" "Format of command used to rotate original image.\nAvailable options are %p which is replaced by\n`image-dired-cmd-rotate-original-program', %d which is replaced by the\nnumber of (positive) degrees to rotate the image, normally 90 or\n270 (for 90 degrees right and left), %o which is replaced by the\noriginal image file name and %t which is replaced by\n`image-dired-temp-image-file'." image-dired-temp-rotate-image-file (expand-file-name ".image-dired_rotate_temp" image-dired-dir) "Temporary file for rotate operations." image-dired-rotate-original-ask-before-overwrite t "Confirm overwrite of original file after rotate operation.\nIf non-nil, ask user for confirmation before overwriting the\noriginal file with `image-dired-temp-rotate-image-file'." boolean image-dired-cmd-write-exif-data-program "exiftool" "Program used to write EXIF data to image.\nUsed together with `image-dired-cmd-write-exif-data-options'." image-dired-cmd-write-exif-data-options "%p -%t=\"%v\" \"%f\"" "Format of command used to write EXIF data.\nAvailable options are %p which is replaced by\n`image-dired-cmd-write-exif-data-program', %f which is replaced by\nthe image file name, %t which is replaced by the tag name and %v\nwhich is replaced by the tag value." image-dired-cmd-read-exif-data-program "Program used to read EXIF data to image.\nUsed together with `image-dired-cmd-read-exif-data-program-options'." image-dired-cmd-read-exif-data-options "%p -s -s -s -%t \"%f\"" "Format of command used to read EXIF data.\nAvailable options are %p which is replaced by\n`image-dired-cmd-write-exif-data-program', %f which is replaced\nby the image file name and %t which is replaced by the tag name." image-dired-gallery-hidden-tags (list "private" "hidden" "pending") "List of \"hidden\" tags.\nUsed by `image-dired-gallery-generate' to leave out \"hidden\" images." (repeat string) image-dired-thumb-size (if (eq 'standard image-dired-thumbnail-storage) 128 100) "Size of thumbnails, in pixels.\nThis is the default size for both `image-dired-thumb-width'\nand `image-dired-thumb-height'." integer image-dired-thumb-width "Width of thumbnails, in pixels." image-dired-thumb-height "Height of thumbnails, in pixels." image-dired-thumb-relief 2 "Size of button-like border around thumbnails." image-dired-thumb-margin "Size of the margin around thumbnails.\nThis is where you see the cursor." image-dired-line-up-method 'dynamic "Default method for line-up of thumbnails in thumbnail buffer.\nUsed by `image-dired-display-thumbs' and other functions that needs\nto line-up thumbnails.  Dynamic means to use the available width of\nthe window containing the thumbnail buffer, Fixed means to use\n`image-dired-thumbs-per-row', Interactive is for asking the user,\nand No line-up means that no automatic line-up will be done." (choice :tag "Default line-up method" (const :tag "Dynamic" dynamic) (const :tag "Fixed" fixed) (const :tag "Interactive" interactive) (const :tag "No line-up" none)) image-dired-thumbs-per-row 3 "Number of thumbnails to display per row in thumb buffer." image-dired-display-window-width-correction 1 "Number to be used to correct image display window width.\nChange if the default (1) does not work (i.e. if the image does not\ncompletely fit)." image-dired-display-window-height-correction 0 "Number to be used to correct image display window height.\nChange if the default (0) does not work (i.e. if the image does not\ncompletely fit)." image-dired-track-movement "The current state of the tracking and mirroring.\nFor more information, see the documentation for\n`image-dired-toggle-movement-tracking'." image-dired-append-when-browsing "Append thumbnails in thumbnail buffer when browsing.\nIf non-nil, using `image-dired-next-line-and-display' and\n`image-dired-previous-line-and-display' will leave a trail of thumbnail\nimages in the thumbnail buffer.  If you enable this and want to clean\nthe thumbnail buffer because it is filled with too many thumbnails,\njust call `image-dired-display-thumb' to display only the image at point.\nThis value can be toggled using `image-dired-toggle-append-browsing'." image-dired-dired-disp-props "If non-nil, display properties for dired file when browsing.\nUsed by `image-dired-next-line-and-display',\n`image-dired-previous-line-and-display' and `image-dired-mark-and-display-next'.\nIf the database file is large, this can slow down image browsing in\ndired and you might want to turn it off." image-dired-display-properties-format "%b: %f (%t): %c" "Display format for thumbnail properties.\n%b is replaced with associated dired buffer name, %f with file name\n(without path) of original image file, %t with the list of tags and %c\nwith the comment." image-dired-external-viewer (cond ((executable-find "display")) ((executable-find "xli")) ((executable-find "qiv") "qiv -t")) "Name of external viewer.\nIncluding parameters.  Used when displaying original image from\n`image-dired-thumbnail-mode'." image-dired-main-image-directory "~/pics/" "Name of main image directory, if any.\nUsed by `image-dired-copy-with-exif-file-name'." image-dired-show-all-from-dir-max-files 50 "Maximum number of files to show using `image-dired-show-all-from-dir'\nbefore warning the user."] 8)
#@91 Run BODY in a temp buffer containing `image-dired-db-file'.
Return the last form in BODY.
(defalias 'image-dired--with-db-file '(macro . #[(&rest body) "\301\302BB\207" [body with-temp-buffer (if (file-exists-p image-dired-db-file) (insert-file-contents image-dired-db-file))] 3 (#$ . 13303)]))
#@130 Return the current thumbnails directory (from variable `image-dired-dir').
Create the thumbnails directory if it does not exist.
(defalias 'image-dired-dir #[nil "\301\302!!\303!\204\304\305\"\210\306\307!\210)\207" [image-dired-dir file-name-as-directory expand-file-name file-directory-p make-directory t message "Creating thumbnails directory"] 3 (#$ . 13606)])
#@69 Insert image FILE of image TYPE, using RELIEF and MARGIN, at point.
(defalias 'image-dired-insert-image #[(file type relief margin) "\305\306\307	\310\n\311\257	\312\f!)\207" [type file relief margin i image :type :file :relief :margin insert-image] 9 (#$ . 13984)])
#@65 Return the image descriptor for a thumbnail of image file FILE.
(defalias 'image-dired-get-thumbnail-image #[(file) "\302\303 \"\204
\304\305\"\210\306!\307	!\203)\310\311\312!8!\310\311\312	!8!X\204.\313	\"\210\314	!)\207" [file thumb-file string-match image-file-name-regexp error "%s is not a valid image file" image-dired-thumb-name file-exists-p float-time 5 file-attributes image-dired-create-thumb create-image] 5 (#$ . 14260)])
#@98 Insert thumbnail image FILE.
Add text properties ORIGINAL-FILE-NAME and ASSOCIATED-DIRED-BUFFER.
(defalias 'image-dired-insert-thumbnail #[(file original-file-name associated-dired-buffer) "\306\211`\307\n\310=\203\311\202\312\f
$\210`\313	\314\315\316\317\320\321!\322\323\324\325!\257\f#*\207" [end beg file image-dired-thumbnail-storage image-dired-thumb-relief image-dired-thumb-margin nil image-dired-insert-image standard png jpeg add-text-properties image-dired-thumbnail t original-file-name associated-dired-buffer tags image-dired-list-tags mouse-face highlight comment image-dired-get-comment] 16 (#$ . 14711)])
#@407 Return thumbnail file name for FILE.
Depending on the value of `image-dired-thumbnail-storage', the file
name will vary.  For central thumbnail file storage, make a
MD5-hash of the image file's directory name and add that to make
the thumbnail file name unique.  For per-directory storage, just
add a subdirectory.  For standard storage, produce the file name
according to the Thumbnail Managing Standard.
(defalias 'image-dired-thumb-name #[(file) "\304=\203\305\306\307\310\305	!P!\311Q!\207\312=\203A\305	!\307\313\314\n!!!\315\316\313\305\317 !!\320\n!\203:\321P\202;\322\323\n!%*\207\324=\205X\305	!\315\325\314\n!\320\n!\323\n!$)\207" [image-dired-thumbnail-storage file f md5-hash standard expand-file-name "~/.thumbnails/normal/" md5 "file://" ".png" use-image-dired-dir file-name-as-directory file-name-directory format "%s%s%s.thumb.%s" image-dired-dir file-name-base "_" "" file-name-extension per-directory "%s.image-dired/%s.thumb.%s"] 7 (#$ . 15359)])
#@65 For ORIGINAL-FILE, create thumbnail image named THUMBNAIL-FILE.
(defalias 'image-dired-create-thumb #[(original-file thumbnail-file) "\306!\306\n!\307\310\311\312\313\f!8!\"\314\315\316# \317!\320=\203(\"\202*#\321$B\322	B\323B\324
B\325\fB\326 B\327B\257\"%\330&\331\332!\211&!\204_\333\334!\210\335&!\210\336'\330\211\211(%&.\207" [image-dired-thumb-width width image-dired-thumb-height height original-file modif-time int-to-string format "%.0f" float-time 5 file-attributes replace-regexp-in-string ".png\\'" "-nq8.png" format-spec standard 112 119 104 109 102 113 116 nil file-exists-p file-name-directory message "Creating thumbnail directory." make-directory call-process thumbnail-file thumbnail-nq8-file image-dired-thumbnail-storage image-dired-cmd-create-standard-thumbnail-command image-dired-cmd-create-thumbnail-options image-dired-cmd-create-thumbnail-program command thumbnail-dir shell-file-name shell-command-switch] 10 (#$ . 16345)])
#@294 Toggle thumbnails in front of file names in the dired buffer.
If no marked file could be found, insert or hide thumbnails on the
current line.  ARG, if non-nil, specifies the files to use instead
of the marked files.  If ARG is an integer, use the next ARG (or
previous -ARG, if ARG<0) files.
(defalias 'image-dired-dired-toggle-marked-thumbs #[(&optional arg) "\306\307\211\211\f\203\301\f\250\203'\310\f\311\"\210\f\312W\203\"\237\210\202B\210\202B\313 \314\307\306\"\307\211\203\275\315 \307 !\"\306#\316\"! #,\203\275\317!\320``T\"\211$\203o\321$@!\210\202\274\322
\"\210\320``T\"%\307\211&'%:\203\246%@&\323&\322\"\203\235'&C\244'%A\211%\202\204'@+\324\325#\210\324\326#\210),\202B\327 \307(\"\212eb\210\330\"\307\306#\205\327\331 \211(??(\203\240(b\210\332\312!\210\313 \314\307\306\"\307\211\205~\315 \307 !\"\306#\316\"! #,\205~\317!\320``T\"\211$\2031\321$@!\202}\322
\"\210\320``T\")\307\211&'):\203h)@&\323&\322\"\203_'&C\244')A\211)\202F'@+\324\325#\210\324\326#),B(b\210\333y\210(\307\211\223\210\330\"\307\306#\205\232\331 \211(\204\342)	\203\252\210\202A\313 \314\307\306\"\307\211\203@\315 \307 !\"\306#\316\"! #,\203@\317!\320``T\"\211$\203\362\321$@!\210\202?\322
\"\210\320``T\"*\307\211&'*:\203)*@&\323&\322\"\203 '&C\244'*A\211*\202'@+\324\325#\210\324\326#\210),*,\313 \210\334\335\336\307\306$\207" [results found case-fold-search inhibit-read-only arg image-pos t nil dired-repeat-over-lines #[nil "\306\307!\210\310 \311\312\313\"\312\211	\205\207\314 	\312\313\315
\f#,\205\207\316	!\317``T\"\211\203@\320@!\202\206\321\n\"\210\317``T\"\312\211:\203v@\322\321\"\203mC\244A\211\202T@+\323\301	#\210\323\302\n#),B\211\207" [image-pos image-file thumb-file overlay start string sit-for 0 dired-move-to-filename dired-get-filename nil t image-file-name-regexp string-match image-dired-get-thumbnail-image overlays-in delete-overlay put-image overlay-get overlay-put regexp inhibit-changing-match-data cur-ov #1=#:--cl-var-- o ov results] 5] 0 dired-move-to-filename dired-get-filename image-file-name-regexp string-match image-dired-get-thumbnail-image overlays-in delete-overlay put-image overlay-get overlay-put image-file thumb-file dired-marker-regexp re-search-forward point-marker sit-for 1 add-hook dired-after-readin-hook image-dired-dired-after-readin-hook overlay start string regexp inhibit-changing-match-data cur-ov #2=#:--cl-var-- o ov next-position #3=#:--cl-var-- #4=#:--cl-var--] 6 (#$ . 17335) "P"])
#@159 Relocate existing thumbnail overlays in dired buffer after reverting.
Move them to their corresponding files if they still exist.
Otherwise, delete overlays.
(defalias 'image-dired-dired-after-readin-hook #[nil "\300\301\302ed\"\"\207" [mapc #[(overlay) "\303\304\"\205 \303\301\"\305	!\211\203\306\n\211#\202\307!*\207" [overlay image-file image-pos overlay-get put-image dired-goto-file move-overlay delete-overlay] 5] overlays-in] 5 (#$ . 20041)])
#@54 Move to next dired line and display thumbnail image.
(defalias 'image-dired-next-line-and-display #[nil "\302\303!\210\304\305\305#\210	\205\306 \207" [image-dired-append-when-browsing image-dired-dired-disp-props dired-next-line 1 image-dired-display-thumbs t image-dired-dired-display-properties] 4 (#$ . 20509) nil])
#@58 Move to previous dired line and display thumbnail image.
(defalias 'image-dired-previous-line-and-display #[nil "\302\303!\210\304\305\305#\210	\205\306 \207" [image-dired-append-when-browsing image-dired-dired-disp-props dired-previous-line 1 image-dired-display-thumbs t image-dired-dired-display-properties] 4 (#$ . 20838) nil])
#@44 Toggle `image-dired-append-when-browsing'.
(defalias 'image-dired-toggle-append-browsing #[nil "?\301\302\203
\303\202\304\"\207" [image-dired-append-when-browsing message "Append browsing %s." "on" "off"] 3 (#$ . 21179) nil])
#@62 Mark current file in dired and display next thumbnail image.
(defalias 'image-dired-mark-and-display-next #[nil "\302\303!\210\304\305\305#\210	\205\306 \207" [image-dired-append-when-browsing image-dired-dired-disp-props dired-mark 1 image-dired-display-thumbs t image-dired-dired-display-properties] 4 (#$ . 21418) nil])
#@40 Toggle `image-dired-dired-disp-props'.
(defalias 'image-dired-toggle-dired-display-properties #[nil "?\301\302\203
\303\202\304\"\207" [image-dired-dired-disp-props message "Dired display properties %s." "on" "off"] 3 (#$ . 21750) nil])
#@33 Image-Dired's thumbnail buffer.
(defvar image-dired-thumbnail-buffer "*image-dired*" (#$ . 21999))
#@59 Create thumb buffer and set `image-dired-thumbnail-mode'.
(defalias 'image-dired-create-thumbnail-buffer #[nil "\304!r	q\210\305\306=\204\306 \210)	)\207" [image-dired-thumbnail-buffer buf buffer-read-only major-mode get-buffer-create t image-dired-thumbnail-mode] 2 (#$ . 22104)])
#@50 Where larger versions of the images are display.
(defvar image-dired-display-image-buffer "*image-dired-display-image*" (#$ . 22398))
#@71 Create image display buffer and set `image-dired-display-image-mode'.
(defalias 'image-dired-create-display-image-buffer #[nil "\304!r	q\210\305\306=\204\306 \210)	)\207" [image-dired-display-image-buffer buf buffer-read-only major-mode get-buffer-create t image-dired-display-image-mode] 2 (#$ . 22538)])
#@29 Saved window configuration.
(defvar image-dired-saved-window-configuration nil (#$ . 22856))
#@527 Open directory DIR and create a default window configuration.

Convenience command that:

 - Opens dired in folder DIR
 - Splits windows in most useful (?) way
 - Set `truncate-lines' to t

After the command has finished, you would typically mark some
image files in dired and type
\[image-dired-display-thumbs] (`image-dired-display-thumbs').

If called with prefix argument ARG, skip splitting of windows.

The current window configuration is saved and can be restored by
calling `image-dired-restore-window-configuration'.
(defalias 'image-dired-dired-with-window-configuration #[(dir &optional arg) "\306 \307 \310 \311!\210\312 \210\f?\2050\313 \210\314\212\315\316!\210\317	!\210\320\321 !\210\317!\210\315\322!)*\207" [buf2 buf image-dired-saved-window-configuration dir arg truncate-lines image-dired-create-thumbnail-buffer image-dired-create-display-image-buffer current-window-configuration dired delete-other-windows split-window-right t other-window 1 switch-to-buffer select-window split-window-below -2] 2 (#$ . 22956) "DDirectory: \nP"])
#@142 Restore window configuration.
Restore any changes to the window configuration made by calling
`image-dired-dired-with-window-configuration'.
(defalias 'image-dired-restore-window-configuration #[nil "\203\301!\207\302\303!\207" [image-dired-saved-window-configuration set-window-configuration message "No saved window configuration"] 2 (#$ . 24024) nil])
#@890 Display thumbnails of all marked files, in `image-dired-thumbnail-buffer'.
If a thumbnail image does not exist for a file, it is created on the
fly.  With prefix argument ARG, display only thumbnail for file at
point (this is useful if you have marked some files but want to show
another one).

Recommended usage is to split the current frame horizontally so that
you have the dired buffer in the left window and the
`image-dired-thumbnail-buffer' buffer in the right window.

With optional argument APPEND, append thumbnail to thumbnail buffer
instead of erasing it first.

Optional argument DO-NOT-POP controls if `pop-to-buffer' should be
used or not.  If non-nil, use `display-buffer' instead of
`pop-to-buffer'.  This is used from functions like
`image-dired-next-line-and-display' and
`image-dired-previous-line-and-display' where we do not want the
thumbnail buffer to be selected.
(defalias 'image-dired-display-thumbs #[(&optional arg append do-not-pop) "\306 \307\211\211\f\203\310 C\202\311 prq\210\312\204*\313 \210\202-db\210\314\315	\"\210)\316=\203@\317 \210\202d\320=\203M\321 \210\202d\322=\203Z\323 \210\202d\324=\204d\317 \210)\203q\325!\202u\326!,\207" [dired-buf files thumb-name buf arg inhibit-read-only image-dired-create-thumbnail-buffer nil dired-get-filename dired-get-marked-files t erase-buffer mapc #[(curr-file) "\303!\304	!\204\305	\"\306U\204\307\310\"\207\311	\n#\207" [curr-file thumb-name dired-buf image-dired-thumb-name file-exists-p image-dired-create-thumb 0 message "Thumb could not be created for file %s" image-dired-insert-thumbnail] 4] dynamic image-dired-line-up-dynamic fixed image-dired-line-up interactive image-dired-line-up-interactive none display-buffer pop-to-buffer append image-dired-line-up-method do-not-pop image-dired-thumbnail-buffer] 4 (#$ . 24390) "P"])
#@205 Make a preview buffer for all images in DIR and display it.
If the number of files in DIR matching `image-file-name-regexp'
exceeds `image-dired-show-all-from-dir-max-files', a warning will be
displayed.
(defalias 'image-dired-show-all-from-dir #[(dir) "\304!\210\305\306 !\210\307 \211G\nX\204#	G\nV\203,\310\311\312\n\"!\203,\313 \210\314!\202/\315\316!)\207" [dir files image-dired-show-all-from-dir-max-files image-dired-thumbnail-buffer dired dired-mark-files-regexp image-file-name-regexp dired-get-marked-files y-or-n-p format "Directory contains more than %d image files.  Proceed? " image-dired-display-thumbs pop-to-buffer message "Cancelled."] 5 (#$ . 26263) "DDir: "])
(byte-code "\300\301\302\"\210\300\303\302\"\207" [defalias image-dired image-dired-show-all-from-dir tumme] 3)
#@149 Check if `image-dired-db-file' exists.
If not, try to create it (including any parent directories).
Signal error if there are problems creating it.
(defalias 'image-dired-sane-db-file #[nil "\303!\2065\304\211\305\306!\211!\204\307\n\310\"\210r\311!\211q\210\312!\210)\313	!\210\303!*\2065\314\315\"\207" [image-dired-db-file buf dir file-exists-p nil file-directory-p file-name-directory make-directory t create-file-buffer write-file kill-buffer error "Could not create %s"] 3 (#$ . 27070)])
#@150 Write file tags to database.
Write each file and tag in FILE-TAGS to the database.
FILE-TAGS is an alist in the following form:
 ((FILE . TAG) ... )
(defalias 'image-dired-write-tags #[(file-tags) "\306 \210\307\211\211\310\311!rq\210\312\216\313\f!\203\314\f!\210\f\307\211\203s@\211@Aeb\210\315\316\317	\"\307\320#\203``\321 \210\322\316\323\"\n\320#\204j\307\210\316\323\"c\210\202jdb\210\316\324	#c\210A\211\204**\325 .\207" [tag file end #1=#:temp-buffer image-dired-db-file buffer-file-name image-dired-sane-db-file nil generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents search-forward-regexp format "^%s.*$" t beginning-of-line search-forward ";%s" "\n%s;%s" save-buffer file-tags elt --dolist-tail--] 5 (#$ . 27585)])
#@52 For all FILES, remove TAG from the image database.
(defalias 'image-dired-remove-tag #[(files tag) "\306 \210\307\310!rq\210\311\216\312	!\203\313	!\210	\314\f<\204/\f;\203+\fC\202/\315\316!\210\f\314\211\203\217@eb\210\317\320\321
\"\314\322#\203\206\314\210`\323 \210\317\320\324\"\322#\203\206\325\224\325\225|\210\314\210`\323 \210\326\327\322#\204\206\330\325!\210m\203\206\331\332!\203\206\333\334!\210A\211\2048+\335 +\207" [#1=#:temp-buffer image-dired-db-file buffer-file-name end files file image-dired-sane-db-file generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents nil error "Files must be a string or a list of strings!" search-forward-regexp format "^%s" t beginning-of-line "\\(;%s\\)" 1 search-forward ";" kill-line looking-at "^$" delete-char -1 save-buffer --dolist-tail-- tag] 5 (#$ . 28448)])
#@55 Read all tags for image FILE from the image database.
(defalias 'image-dired-list-tags #[(file) "\305 \210\306\307!rq\210\310\216\311	!\203\312	!\210\313\314\315\316\317\f\"\313\320#\203Q\313\210`\321 \210\322\323\320#\203Q\322\324\320#\203M\322\323\320#\203Q`{\202Q`{\325\n\323\"-\207" [#1=#:temp-buffer image-dired-db-file tags end file image-dired-sane-db-file generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents nil "" search-forward-regexp format "^%s" t beginning-of-line search-forward ";" "comment:" split-string] 4 (#$ . 29396)])
#@67 Tag marked file(s) in dired.  With prefix ARG, tag file at point.
(defalias 'image-dired-tag-files #[(arg) "\303\304!\305\n\203\306 C\202\307 \310\311\312\"!*\207" [files tag arg read-string "Tags to add (separate tags with a semicolon): " nil dired-get-filename dired-get-marked-files image-dired-write-tags mapcar #[(x) "	B\207" [x tag] 2]] 4 (#$ . 30054) "P"])
#@24 Tag current thumbnail.
(defalias 'image-dired-tag-thumbnail #[nil "\301\302!\303\304 BC!\210)\305\306\307\304 !\"\207" [tag read-string "Tags to add (separate tags with a semicolon): " image-dired-write-tags image-dired-original-file-name image-dired-update-property tags image-dired-list-tags] 4 (#$ . 30434) nil])
#@91 Remove tag for selected file(s).
With prefix argument ARG, remove tag from file at point.
(defalias 'image-dired-delete-tag #[(arg) "\303\304!\305\n\203\306 C\202\307 \310	\"*\207" [files tag arg read-string "Tag to remove: " nil dired-get-filename dired-get-marked-files image-dired-remove-tag] 3 (#$ . 30758) "P"])
#@28 Remove tag from thumbnail.
(defalias 'image-dired-tag-thumbnail-remove #[nil "\301\302!\303\304 \"\210)\305\306\307\304 !\"\207" [tag read-string "Tag to remove: " image-dired-remove-tag image-dired-original-file-name image-dired-update-property tags image-dired-list-tags] 4 (#$ . 31090) nil])
#@65 Get original file name for thumbnail or display image at point.
(defalias 'image-dired-original-file-name #[nil "\300`\301\"\207" [get-text-property original-file-name] 3 (#$ . 31393)])
#@39 Get associated dired buffer at point.
(defalias 'image-dired-associated-dired-buffer #[nil "\300`\301\"\207" [get-text-property associated-dired-buffer] 3 (#$ . 31585)])
#@36 Return window where buffer BUF is.
(defalias 'image-dired-get-buffer-window #[(buf) "\300\301\302\303#\207" [get-window-with-predicate #[(window) "\302!	\232\207" [window buf window-buffer] 2] nil t] 4 (#$ . 31761)])
#@187 Track the original file in the associated dired buffer.
See documentation for `image-dired-toggle-movement-tracking'.
Interactive use only useful if `image-dired-track-movement' is nil.
(defalias 'image-dired-track-original-file #[nil "p\303 \304 \305	!\205+\205+	q\210\306!\204\"\307\310!\210\202)\311\312	!`\"\210\nq+\207" [file-name dired-buf old-buf image-dired-associated-dired-buffer image-dired-original-file-name buffer-live-p dired-goto-file message "Could not track file" set-window-point image-dired-get-buffer-window] 3 (#$ . 31986) nil])
#@275 Turn on and off `image-dired-track-movement'.
Tracking of the movements between thumbnail and dired buffer so that
they are "mirrored" in the dired buffer.  When this is on, moving
around in the thumbnail or dired buffer will find the matching
position in the other buffer.
(defalias 'image-dired-toggle-movement-tracking #[nil "?\301\302\203
\303\202\304\"\207" [image-dired-track-movement message "Tracking %s" "on" "off"] 3 (#$ . 32553) nil])
#@167 Track current dired file's thumb in `image-dired-thumbnail-buffer'.
This is almost the same as what `image-dired-track-original-file' does,
but the other way around.
(defalias 'image-dired-track-thumbnail #[nil "\305 p\306\211\307\f!\205G\fq\210eb\210m\2048\2048\310`\311\"\211\203.	\230\203.\312\204\313u\210\202\203E\314\315 `\"\210\316 \210\nq,\207" [found prop-val old-buf file image-dired-thumbnail-buffer dired-get-filename nil get-buffer get-text-property original-file-name t 1 set-window-point image-dired-thumbnail-window image-dired-display-thumb-properties] 4 (#$ . 33012)])
#@128 Call `dired-next-line', then track thumbnail.
This can safely replace `dired-next-line'.
With prefix argument, move ARG lines.
(defalias 'image-dired-dired-next-line #[(&optional arg) "\302\206\303!\210	\205\304 \207" [arg image-dired-track-movement dired-next-line 1 image-dired-track-thumbnail] 2 (#$ . 33626) "P"])
#@136 Call `dired-previous-line', then track thumbnail.
This can safely replace `dired-previous-line'.
With prefix argument, move ARG lines.
(defalias 'image-dired-dired-previous-line #[(&optional arg) "\302\206\303!\210	\205\304 \207" [arg image-dired-track-movement dired-previous-line 1 image-dired-track-thumbnail] 2 (#$ . 33956) "P"])
#@116 Move to next image and display properties.
Optional prefix ARG says how many images to move; default is one
image.
(defalias 'image-dired-forward-image #[(&optional arg) "\306\206\307	\310\fW\203Bm\2047\212\306u\210m\204)\311 \204)\306u\210\202`\311 )\2037\nb\210\202;\312\313!\210T\211\202
,
\203J\314 \210\315 \207" [arg steps pos i --dotimes-limit-- image-dired-track-movement nil 1 0 image-dired-image-at-point-p error "At last image" image-dired-track-original-file image-dired-display-thumb-properties] 3 (#$ . 34302) "p"])
#@120 Move to previous image and display properties.
Optional prefix ARG says how many images to move; default is one
image.
(defalias 'image-dired-backward-image #[(&optional arg) "\306\206\307	\310\fW\203Bo\2047\212\311u\210o\204)\312 \204)\311u\210\202`\312 )\2037\nb\210\202;\313\314!\210T\211\202
,
\203J\315 \210\316 \207" [arg steps pos i --dotimes-limit-- image-dired-track-movement nil 1 0 -1 image-dired-image-at-point-p error "At first image" image-dired-track-original-file image-dired-display-thumb-properties] 3 (#$ . 34860) "p"])
#@43 Move to next line and display properties.
(defalias 'image-dired-next-line #[nil "\301y\210\302 \204\303 \210\203\304 \210\305 \207" [image-dired-track-movement 1 image-dired-image-at-point-p image-dired-backward-image image-dired-track-original-file image-dired-display-thumb-properties] 1 (#$ . 35426) nil])
#@47 Move to previous line and display properties.
(defalias 'image-dired-previous-line #[nil "\301y\210\302 \204\303 \210\203\304 \210\305 \207" [image-dired-track-movement -1 image-dired-image-at-point-p image-dired-backward-image image-dired-track-original-file image-dired-display-thumb-properties] 1 (#$ . 35747) nil])
#@167 Format display properties.
BUF is the associated dired buffer, FILE is the original image file
name, PROPS is a list of tags and COMMENT is the image file's
comment.
(defalias 'image-dired-format-properties-string #[(buf file props comment) "\305\306	\206\307B\310\nB\311\312!\206\307B\313\f\206\307BF\"\207" [image-dired-display-properties-format buf file props comment format-spec 98 "" 102 116 princ 99] 7 (#$ . 36078)])
#@48 Display thumbnail properties in the echo area.
(defalias 'image-dired-display-thumb-properties #[nil "m?\205+\304\305 !\306\307 !\310\311\312`\313\"\314#\312`\300\"\211\205*\315\316\317\n	$\",\207" [comment props dired-buf file-name file-name-nondirectory image-dired-original-file-name buffer-name image-dired-associated-dired-buffer mapconcat princ get-text-property tags ", " message "%s" image-dired-format-properties-string] 8 (#$ . 36516)])
#@54 Check whether file on current line is marked or not.
(defalias 'image-dired-dired-file-marked-p #[nil "\212\300 \210\301\302!)?\207" [beginning-of-line looking-at "^ .*$"] 2 (#$ . 36977)])
#@165 Modify mark in dired buffer.
COMMAND is one of 'mark for marking file in dired, 'unmark for
unmarking file in dired or 'flag for flagging file for delete in
dired.
(defalias 'image-dired-modify-mark-on-thumb-original-file #[(command) "\303 \304 \203	\204\305\306!\202\\rq\210\305\307	\"\210\310	!\205[\n\311=\203/\312\313!\202[\n\314=\203;\315\313!\202[\n\316=\203R\317 \203L\315\313!\202[\312\313!\202[\n\320=\205[\321\313!)*\207" [dired-buf file-name command image-dired-original-file-name image-dired-associated-dired-buffer message "No image, or image with correct properties, at point." "%s" dired-goto-file mark dired-mark 1 unmark dired-unmark toggle image-dired-dired-file-marked-p flag dired-flag-file-deletion] 3 (#$ . 37173)])
#@54 Mark original image file in associated dired buffer.
(defalias 'image-dired-mark-thumb-original-file #[nil "\300\301!\210\302 \207" [image-dired-modify-mark-on-thumb-original-file mark image-dired-forward-image] 2 (#$ . 37936) nil])
#@56 Unmark original image file in associated dired buffer.
(defalias 'image-dired-unmark-thumb-original-file #[nil "\300\301!\210\302 \207" [image-dired-modify-mark-on-thumb-original-file unmark image-dired-forward-image] 2 (#$ . 38175) nil])
#@67 Flag original image file for deletion in associated dired buffer.
(defalias 'image-dired-flag-thumb-original-file #[nil "\300\301!\210\302 \207" [image-dired-modify-mark-on-thumb-original-file flag image-dired-forward-image] 2 (#$ . 38420) nil])
#@64 Toggle mark on original image file in associated dired buffer.
(defalias 'image-dired-toggle-mark-thumb-original-file #[nil "\300\301!\207" [image-dired-modify-mark-on-thumb-original-file toggle] 2 (#$ . 38672) nil])
#@145 Jump to the dired buffer associated with the current image file.
You probably want to use this together with
`image-dired-track-original-file'.
(defalias 'image-dired-jump-original-dired-buffer #[nil "\303 \304\211\305\n!\211\203$\306 \307	!\211\232\204\310!\210\311	!\202'\312\313!+\207" [frame window buf image-dired-associated-dired-buffer nil image-dired-get-buffer-window selected-frame window-frame select-frame-set-input-focus select-window message "Associated dired buffer not visible"] 4 (#$ . 38896) nil])
#@27 Jump to thumbnail buffer.
(defalias 'image-dired-jump-thumbnail-buffer #[nil "\302 \303\211\203\304 \305	!\211\232\204\306!\210\307	!\202!\310\311!*\207" [frame window image-dired-thumbnail-window nil selected-frame window-frame select-frame-set-input-focus select-window message "Thumbnail buffer not visible"] 4 (#$ . 39428) nil])
#@42 Keymap for `image-dired-thumbnail-mode'.
(defvar image-dired-thumbnail-mode-map (make-sparse-keymap) (#$ . 39776))
#@62 Keymap for line-up commands in `image-dired-thumbnail-mode'.
(defvar image-dired-thumbnail-mode-line-up-map (make-sparse-keymap) (#$ . 39897))
#@58 Keymap for tag commands in `image-dired-thumbnail-mode'.
(defvar image-dired-thumbnail-mode-tag-map (make-sparse-keymap) (#$ . 40046))
#@49 Define keymap for `image-dired-thumbnail-mode'.
(defalias 'image-dired-define-thumbnail-mode-keymap #[nil "\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\305#\210\303\315\307#\210\303\316\311#\210\303\317\313#\210\303\320\321#\210\303\322\321#\210\303\323\324#\210\303\325\326#\210\303\327\330#\210\303\331\332#\210\303\333	#\210\303	\333\334#\210\303	\335\336#\210\303	\337\340#\210\303\341\n#\210\303\n\341\342#\210\303\n\343\344#\210\303\345\346#\210\303\347\350#\210\303\351\352#\210\303\343\353#\210\303\354\355#\210\303\356\357#\210\303\360\361#\210\303\362\363#\210\303\364\365#\210\303\366\367#\210\303\370\371#\210\303\372\373#\210\303\374\375#\210\303\376\377#\210\303\201@\201A#\210\303\201B\201C#\210\303\201D\201E\201F\201E!B#\210\303\201G\201H#\210\303\201I\201J#\210\303\201K\201L#\210\303\201M\201N#\210\303\201O\201P#\210\303\201Q\201R#\210\303\201S\201T#\210\303\201U\201V#\210\303\201W\201X#\210\303\201Y\201Z#\210\303\201[\201\\#\210\303\201]\201^#\210\303\201_\201`#\210\303\201a\201b#\210\303\201c\201d#\210\303\201e\201f#\210\303\201g\201h#\210\303\201i\201j#\210\303\201k\201l#\210\303\201m\201n#\207" [image-dired-thumbnail-mode-map image-dired-thumbnail-mode-line-up-map image-dired-thumbnail-mode-tag-map define-key [right] image-dired-forward-image [left] image-dired-backward-image [up] image-dired-previous-line [down] image-dired-next-line "" "" "" "" "d" image-dired-flag-thumb-original-file [delete] "m" image-dired-mark-thumb-original-file "u" image-dired-unmark-thumb-original-file "." image-dired-track-original-file [tab] image-dired-jump-original-dired-buffer "g" image-dired-line-up-dynamic "f" image-dired-line-up "i" image-dired-line-up-interactive "t" image-dired-tag-thumbnail "r" image-dired-tag-thumbnail-remove "
" image-dired-display-thumbnail-original-image [C-return] image-dired-thumbnail-display-external "l" image-dired-rotate-thumbnail-left image-dired-rotate-thumbnail-right "L" image-dired-rotate-original-left "R" image-dired-rotate-original-right "D" image-dired-thumbnail-set-image-description "" image-dired-delete-char " " image-dired-display-next-thumbnail-original "" image-dired-display-previous-thumbnail-original "c" image-dired-comment-thumbnail "q" image-dired-kill-buffer-and-window [mouse-2] image-dired-mouse-display-image [mouse-1] image-dired-mouse-select-thumbnail [C-down-mouse-1] undefined [C-mouse-1] image-dired-mouse-toggle-mark [menu-bar image-dired] "Image-Dired" make-sparse-keymap [menu-bar image-dired image-dired-kill-buffer-and-window] ("Quit" . image-dired-kill-buffer-and-window) [menu-bar image-dired image-dired-delete-char] ("Delete thumbnail from buffer" . image-dired-delete-char) [menu-bar image-dired image-dired-tag-thumbnail-remove] ("Remove tag from thumbnail" . image-dired-tag-thumbnail-remove) [menu-bar image-dired image-dired-tag-thumbnail] ("Tag thumbnail" . image-dired-tag-thumbnail) [menu-bar image-dired image-dired-comment-thumbnail] ("Comment thumbnail" . image-dired-comment-thumbnail) [menu-bar image-dired image-dired-refresh-thumb] ("Refresh thumb" . image-dired-refresh-thumb) [menu-bar image-dired image-dired-line-up-dynamic] ("Dynamic line up" . image-dired-line-up-dynamic) [menu-bar image-dired image-dired-line-up] ("Line up thumbnails" . image-dired-line-up) [menu-bar image-dired image-dired-rotate-thumbnail-left] ("Rotate thumbnail left" . image-dired-rotate-thumbnail-left) [menu-bar image-dired image-dired-rotate-thumbnail-right] ("Rotate thumbnail right" . image-dired-rotate-thumbnail-right) [menu-bar image-dired image-dired-rotate-original-left] ("Rotate original left" . image-dired-rotate-original-left) [menu-bar image-dired image-dired-rotate-original-right] ("Rotate original right" . image-dired-rotate-original-right) [menu-bar image-dired image-dired-toggle-movement-tracking] ("Toggle movement tracking on/off" . image-dired-toggle-movement-tracking) [menu-bar image-dired image-dired-jump-original-dired-buffer] ("Jump to dired buffer" . image-dired-jump-original-dired-buffer) [menu-bar image-dired image-dired-track-original-file] ("Track original" . image-dired-track-original-file) [menu-bar image-dired image-dired-flag-thumb-original-file] ("Flag original for deletion" . image-dired-flag-thumb-original-file) [menu-bar image-dired image-dired-unmark-thumb-original-file] ("Unmark original" . image-dired-unmark-thumb-original-file) [menu-bar image-dired image-dired-mark-thumb-original-file] ("Mark original" . image-dired-mark-thumb-original-file) [menu-bar image-dired image-dired-thumbnail-display-external] ("Display in external viewer" . image-dired-thumbnail-display-external) [menu-bar image-dired image-dired-display-thumbnail-original-image] ("Display image" . image-dired-display-thumbnail-original-image)] 6 (#$ . 40187)])
#@46 Keymap for `image-dired-display-image-mode'.
(defvar image-dired-display-image-mode-map (make-sparse-keymap) (#$ . 45112))
#@53 Define keymap for `image-dired-display-image-mode'.
(defalias 'image-dired-define-display-image-mode-keymap #[nil "\301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311\312\311!B#\210\301\313\314#\210\301\315\316#\210\301\317\320#\207" [image-dired-display-image-mode-map define-key "q" image-dired-kill-buffer-and-window "f" image-dired-display-current-image-full "s" image-dired-display-current-image-sized [menu-bar image-dired] "Image-Dired" make-sparse-keymap [menu-bar image-dired image-dired-kill-buffer-and-window] ("Quit" . image-dired-kill-buffer-and-window) [menu-bar image-dired image-dired-display-current-image-sized] ("Display original, sized to fit" . image-dired-display-current-image-sized) [menu-bar image-dired image-dired-display-current-image-full] ("Display original, full size" . image-dired-display-current-image-full)] 6 (#$ . 45241)])
#@37 Display current image in full size.
(defalias 'image-dired-display-current-image-full #[nil "\301 \211\203\302\303\"\210\304\305!\202\306\307!)\207" [file image-dired-original-file-name image-dired-display-image t message "Full size image displayed" error "No original file name at point"] 4 (#$ . 46126) nil])
#@58 Display current image in sized to fit window dimensions.
(defalias 'image-dired-display-current-image-sized #[nil "\301 \211\203\302!\210\303\304!\202\305\306!)\207" [file image-dired-original-file-name image-dired-display-image message "Full size image displayed" error "No original file name at point"] 3 (#$ . 46449) nil])
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [image-dired-thumbnail-mode-hook variable-documentation put purecopy "Hook run when entering image-dired-thumbnail mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp image-dired-thumbnail-mode-map definition-name image-dired-thumbnail-mode] 5)
(defvar image-dired-thumbnail-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" [image-dired-thumbnail-mode-map variable-documentation put purecopy "Keymap for `image-dired-thumbnail-mode'." boundp image-dired-thumbnail-mode-syntax-table definition-name image-dired-thumbnail-mode] 5)
(defvar image-dired-thumbnail-mode-syntax-table (make-syntax-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [image-dired-thumbnail-mode-syntax-table variable-documentation put purecopy "Syntax table for `image-dired-thumbnail-mode'." image-dired-thumbnail-mode-abbrev-table definition-name image-dired-thumbnail-mode] 5)
(defvar image-dired-thumbnail-mode-abbrev-table (progn (define-abbrev-table 'image-dired-thumbnail-mode-abbrev-table nil) image-dired-thumbnail-mode-abbrev-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [image-dired-thumbnail-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `image-dired-thumbnail-mode'." image-dired-thumbnail-mode derived-mode-parent nil] 5)
#@290 Browse and manipulate thumbnail images using dired.
Use `image-dired-dired' and `image-dired-setup-dired-keybindings' to get a
nice setup to start with.

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

\{image-dired-thumbnail-mode-map}
(defalias 'image-dired-thumbnail-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\315 \210\316\317!\210)\320\321!\207" [delay-mode-hooks major-mode mode-name image-dired-thumbnail-mode-map image-dired-thumbnail-mode-syntax-table image-dired-thumbnail-mode-abbrev-table make-local-variable t kill-all-local-variables image-dired-thumbnail-mode "image-dired-thumbnail" use-local-map set-syntax-table image-dired-define-thumbnail-mode-keymap message "image-dired-thumbnail-mode enabled" run-mode-hooks image-dired-thumbnail-mode-hook local-abbrev-table] 2 (#$ . 48365) nil])
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [image-dired-display-image-mode-hook variable-documentation put purecopy "Hook run when entering image-dired-image-display mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp image-dired-display-image-mode-map definition-name image-dired-display-image-mode] 5)
(defvar image-dired-display-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" [image-dired-display-image-mode-map variable-documentation put purecopy "Keymap for `image-dired-display-image-mode'." boundp image-dired-display-image-mode-syntax-table definition-name image-dired-display-image-mode] 5)
(defvar image-dired-display-image-mode-syntax-table (make-syntax-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [image-dired-display-image-mode-syntax-table variable-documentation put purecopy "Syntax table for `image-dired-display-image-mode'." image-dired-display-image-mode-abbrev-table definition-name image-dired-display-image-mode] 5)
(defvar image-dired-display-image-mode-abbrev-table (progn (define-abbrev-table 'image-dired-display-image-mode-abbrev-table nil) image-dired-display-image-mode-abbrev-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [image-dired-display-image-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `image-dired-display-image-mode'." image-dired-display-image-mode derived-mode-parent nil] 5)
#@223 Mode for displaying and manipulating original image.
Resized or in full-size.

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

\{image-dired-display-image-mode-map}
(defalias 'image-dired-display-image-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\315 \210\316\317!\210)\320\321!\207" [delay-mode-hooks major-mode mode-name image-dired-display-image-mode-map image-dired-display-image-mode-syntax-table image-dired-display-image-mode-abbrev-table make-local-variable t kill-all-local-variables image-dired-display-image-mode "image-dired-image-display" use-local-map set-syntax-table image-dired-define-display-image-mode-keymap message "image-dired-display-image-mode enabled" run-mode-hooks image-dired-display-image-mode-hook local-abbrev-table] 2 (#$ . 50915) nil])
#@167 Setup easy-to-use keybindings for the commands to be used in dired mode.
Note that n, p and <down> and <up> will be hijacked and bound to
`image-dired-dired-x-line'.
(defalias 'image-dired-setup-dired-keybindings #[nil "\301\302\303#\210\301\304\305#\210\301\306\303#\210\301\307\305#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335#\210\301\336\337#\210\301\340\341#\210\301\342\343\344\343!B#\210\301\345\346#\210\301\347\350#\210\301\351\352#\210\301\353\354#\210\301\355\356#\210\301\357\360#\210\301\361\362#\210\301\363\364#\210\301\365\366#\210\301\367\370#\210\301\371\372#\210\301\373\374#\210\301\375\376#\210\301\377\201@#\210\301\201A\201B#\210\301\201C\201D#\210\301\201E\201F#\210\301\201G\201H#\207" [dired-mode-map define-key "p" image-dired-dired-previous-line "n" image-dired-dired-next-line [up] [down] [33554446] image-dired-next-line-and-display [33554448] image-dired-previous-line-and-display [33554445] image-dired-mark-and-display-next "d" image-dired-display-thumbs "t" image-dired-tag-files "r" image-dired-delete-tag [tab] image-dired-jump-thumbnail-buffer "i" image-dired-dired-display-image "x" image-dired-dired-display-external "a" image-dired-display-thumbs-append "." image-dired-display-thumb "c" image-dired-dired-comment-files "f" image-dired-mark-tagged-files [menu-bar image-dired] "Image-Dired" make-sparse-keymap [menu-bar image-dired image-dired-copy-with-exif-file-name] ("Copy with EXIF file name" . image-dired-copy-with-exif-file-name) [menu-bar image-dired image-dired-dired-comment-files] ("Comment files" . image-dired-dired-comment-files) [menu-bar image-dired image-dired-mark-tagged-files] ("Mark tagged files" . image-dired-mark-tagged-files) [menu-bar image-dired image-dired-delete-tag] ("Remove tag from files" . image-dired-delete-tag) [menu-bar image-dired image-dired-tag-files] ("Tag files" . image-dired-tag-files) [menu-bar image-dired image-dired-jump-thumbnail-buffer] ("Jump to thumbnail buffer" . image-dired-jump-thumbnail-buffer) [menu-bar image-dired image-dired-toggle-movement-tracking] ("Toggle movement tracking" . image-dired-toggle-movement-tracking) [menu-bar image-dired image-dired-toggle-append-browsing] ("Toggle append browsing" . image-dired-toggle-append-browsing) [menu-bar image-dired image-dired-toggle-disp-props] ("Toggle display properties" . image-dired-toggle-dired-display-properties) [menu-bar image-dired image-dired-dired-display-external] ("Display in external viewer" . image-dired-dired-display-external) [menu-bar image-dired image-dired-dired-display-image] ("Display image" . image-dired-dired-display-image) [menu-bar image-dired image-dired-display-thumb] ("Display this thumbnail" . image-dired-display-thumb) [menu-bar image-dired image-dired-display-thumbs-append] ("Display thumbnails append" . image-dired-display-thumbs-append) [menu-bar image-dired image-dired-display-thumbs] ("Display thumbnails" . image-dired-display-thumbs) [menu-bar image-dired image-dired-create-thumbs] ("Create thumbnails for marked files" . image-dired-create-thumbs) [menu-bar image-dired image-dired-mark-and-display-next] ("Mark and display next" . image-dired-mark-and-display-next) [menu-bar image-dired image-dired-previous-line-and-display] ("Display thumb for previous file" . image-dired-previous-line-and-display) [menu-bar image-dired image-dired-next-line-and-display] ("Display thumb for next file" . image-dired-next-line-and-display)] 6 (#$ . 51777) nil])
#@171 Create thumbnail images for all marked files in dired.
With prefix argument ARG, create thumbnails even if they already exist
(i.e. use this to refresh your thumbnails).
(defalias 'image-dired-create-thumbs #[(&optional arg) "\302\211\303 \304\305\"*\207" [files thumb-name nil dired-get-marked-files mapcar #[(curr-file) "\303!\n\203\304 \210\305	!\203\n\205$\306\303!\"\307U?\205$\310\311!\207" [curr-file thumb-name arg image-dired-thumb-name clear-image-cache file-exists-p image-dired-create-thumb 0 error "Thumb could not be created"] 4]] 3 (#$ . 55434) "P"])
#@18 Slideshow timer.
(defvar image-dired-slideshow-timer nil (#$ . 56020))
#@49 Keeping track on number of images in slideshow.
(defvar image-dired-slideshow-count 0 (#$ . 56097))
#@45 Number of pictures to display in slideshow.
(defvar image-dired-slideshow-times 0 (#$ . 56203))
#@75 Step to next file, if `image-dired-slideshow-times' has not been reached.
(defalias 'image-dired-slideshow-step #[nil "	W\203\302\303T\"\210T\304 \207\305 \207" [image-dired-slideshow-count image-dired-slideshow-times message "%s" image-dired-next-line-and-display image-dired-slideshow-stop] 3 (#$ . 56305)])
#@82 Start slideshow.
Ask user for number of images to show and the delay in between.
(defalias 'image-dired-slideshow-start #[nil "\304\305\306\307!!\305\306\310\311\"!\312\304\n\313#\211)\207" [image-dired-slideshow-count image-dired-slideshow-times repeat image-dired-slideshow-timer 0 string-to-number read-string "How many: " "Delay, in seconds. Decimals are accepted : " "1" run-with-timer image-dired-slideshow-step] 4 (#$ . 56627) nil])
#@19 Cancel slideshow.
(defalias 'image-dired-slideshow-stop #[nil "\301!\207" [image-dired-slideshow-timer cancel-timer] 2 (#$ . 57077) nil])
#@61 Remove current thumbnail from thumbnail buffer and line up.
(defalias 'image-dired-delete-char #[nil "\301\302\303!\210\304\305!\205\302\303!)\207" [inhibit-read-only t delete-char 1 looking-at " "] 2 (#$ . 57222) nil])
#@54 Append thumbnails to `image-dired-thumbnail-buffer'.
(defalias 'image-dired-display-thumbs-append #[nil "\300\301\302\211#\207" [image-dired-display-thumbs nil t] 4 (#$ . 57451) nil])
#@66 Shorthand for `image-dired-display-thumbs' with prefix argument.
(defalias 'image-dired-display-thumb #[nil "\300\301\302\301#\207" [image-dired-display-thumbs t nil] 4 (#$ . 57641) nil])
#@103 Line up thumbnails according to `image-dired-thumbs-per-row'.
See also `image-dired-line-up-dynamic'.
(defalias 'image-dired-line-up #[nil "\303eb\210\304 \204m\204\305\306!\210\202m\204,\307u\210\304 \204m\204\305\306!\210\202eb\210\310m\204`\307u\210\n\306U\203D\311c\210\2021\312c\210	T\211\nSU\2031m\2041\307u\210\311c\210\310\2021)eb)\207" [inhibit-read-only count image-dired-thumbs-per-row t image-dired-image-at-point-p delete-char 1 nil 0 "\n" " "] 3 (#$ . 57836) nil])
#@75 Line up thumbnails images dynamically.
Calculate how many thumbnails fit.
(defalias 'image-dired-line-up-dynamic #[nil "\306 \307\310 !\211\311\n\312_\312_\f$\245\313 +\207" [char-width width image-dired-thumb-relief image-dired-thumb-margin image-dired-thumb-width image-dired-thumbs-per-row frame-char-width image-dired-window-width-pixels image-dired-thumbnail-window + 2 image-dired-line-up] 7 (#$ . 58344) nil])
#@93 Line up thumbnails interactively.
Ask user how many thumbnails should be displayed per row.
(defalias 'image-dired-line-up-interactive #[nil "\301\302\303!!\211\304V\204\305\306!\202\307 )\207" [image-dired-thumbs-per-row string-to-number read-string "How many thumbs per row: " 0 message "Number must be greater than 0" image-dired-line-up] 4 (#$ . 58772) nil])
#@70 Display original image for thumbnail at point using external viewer.
(defalias 'image-dired-thumbnail-display-external #[nil "\304 \305 \204\306\307!\202%\204\306\310!\202%\311	\312\211\211\n\313\314#&)\207" [file shell-file-name shell-command-switch image-dired-external-viewer image-dired-original-file-name image-dired-image-at-point-p message "No thumbnail at point" "No original file name found" call-process nil format "%s \"%s\""] 10 (#$ . 59146) nil])
#@49 Display file at point using an external viewer.
(defalias 'image-dired-dired-display-external #[nil "\304 \305	\306\211\211\n\307\310#&)\207" [file shell-file-name shell-command-switch image-dired-external-viewer dired-get-filename call-process nil format "%s \"%s\""] 10 (#$ . 59623) nil])
#@35 Calculate WINDOW width in pixels.
(defalias 'image-dired-window-width-pixels #[(window) "\301!\302 _\207" [window window-width frame-char-width] 2 (#$ . 59924)])
#@36 Calculate WINDOW height in pixels.
(defalias 'image-dired-window-height-pixels #[(window) "\301!S\302 _\207" [window window-height frame-char-height] 2 (#$ . 60093)])
#@68 Return window where `image-dired-display-image-buffer' is visible.
(defalias 'image-dired-display-window #[nil "\300\301\302\303#\207" [get-window-with-predicate #[(window) "\302\303!!	\232\207" [window image-dired-display-image-buffer buffer-name window-buffer] 3] nil t] 4 (#$ . 60267)])
#@64 Return window where `image-dired-thumbnail-buffer' is visible.
(defalias 'image-dired-thumbnail-window #[nil "\300\301\302\303#\207" [get-window-with-predicate #[(window) "\302\303!!	\232\207" [window image-dired-thumbnail-buffer buffer-name window-buffer] 3] nil t] 4 (#$ . 60564)])
#@57 Return window where associated dired buffer is visible.
(defalias 'image-dired-associated-dired-buffer-window #[nil "\301\302 \203\303 \304\305!\202\306\307!)\207" [buf nil image-dired-image-at-point-p image-dired-associated-dired-buffer get-window-with-predicate #[(window) "\302!	\232\207" [window buf window-buffer] 2] error "No thumbnail image at point"] 2 (#$ . 60855)])
#@65 Return width, in pixels, of image-dired's image display window.
(defalias 'image-dired-display-window-width #[nil "\301\302 !Z\207" [image-dired-display-window-width-correction image-dired-window-width-pixels image-dired-display-window] 2 (#$ . 61244)])
#@66 Return height, in pixels, of image-dired's image display window.
(defalias 'image-dired-display-window-height #[nil "\301\302 !Z\207" [image-dired-display-window-height-correction image-dired-window-height-pixels image-dired-display-window] 2 (#$ . 61505)])
#@403 Display image FILE in image buffer.
Use this when you want to display the image, semi sized, in a new
window.  The image is sized to fit the display window (using a
temporary file, don't worry).  Because of this, it will not be as
quick as opening it directly, but on most modern systems it
should feel snappy enough.

If optional argument ORIGINAL-SIZE is non-nil, display image in its
original size.
(defalias 'image-dired-display-image #[(file &optional original-size) "\306!\307\211\211\211\310\306! \204R\311 \312 \313!\314\"B\315
B\316\fB\317B\320B\257\"\321#\307\211\211$&\211\322U\204_\323\324!\210\202_\325!\326\327#\210r\330 q\210\327%\331 \210\332 \210\333	\322\211$\210eb\210\334\335\".\207" [image-dired-temp-image-file image-type ret command height width expand-file-name nil jpeg image-dired-display-window-width image-dired-display-window-height format-spec 112 119 104 102 116 call-process 0 error "Could not resize image" image-type-from-file-name copy-file t image-dired-create-display-image-buffer erase-buffer clear-image-cache image-dired-insert-image image-dired-update-property original-file-name new-file file original-size image-dired-cmd-create-temp-image-options image-dired-cmd-create-temp-image-program shell-file-name shell-command-switch inhibit-read-only] 9 (#$ . 61771)])
#@197 Display current thumbnail's original image in display buffer.
See documentation for `image-dired-display-image' for more information.
With prefix argument ARG, display image in its original size.
(defalias 'image-dired-display-thumbnail-original-image #[(&optional arg) "\304 	\305\230\204\306\307!\202/\310 \204\306\311!\202/\204$\306\312!\202/\313 \210\314\n!\210\315\")\207" [file major-mode image-dired-display-image-buffer arg image-dired-original-file-name "image-dired-thumbnail-mode" message "Not in image-dired-thumbnail-mode" image-dired-image-at-point-p "No thumbnail at point" "No original file name found" image-dired-create-display-image-buffer display-buffer image-dired-display-image] 3 (#$ . 63127) "P"])
#@163 Display current image file.
See documentation for `image-dired-display-image' for more information.
With prefix argument ARG, display image in its original size.
(defalias 'image-dired-dired-display-image #[(&optional arg) "\302 \210\303!\210\304\305 	\"\207" [image-dired-display-image-buffer arg image-dired-create-display-image-buffer display-buffer image-dired-display-image dired-get-filename] 3 (#$ . 63868) "P"])
#@60 Return true if there is an image-dired thumbnail at point.
(defalias 'image-dired-image-at-point-p #[nil "\300`\301\"\207" [get-text-property image-dired-thumbnail] 3 (#$ . 64295)])
#@35 Rotate thumbnail DEGREES degrees.
(defalias 'image-dired-rotate-thumbnail #[(degrees) "\306 \204	\307\310!\207\311\312 !\313\314\n\315B\316\fB\317\320	!BE\"\321
\313\211\211&\210\322 *\207" [command file image-dired-cmd-rotate-thumbnail-options image-dired-cmd-rotate-thumbnail-program degrees shell-file-name image-dired-image-at-point-p message "No thumbnail at point" image-dired-thumb-name image-dired-original-file-name nil format-spec 112 100 116 expand-file-name call-process clear-image-cache shell-command-switch] 7 (#$ . 64483)])
#@293 Rotate thumbnail left (counter clockwise) 90 degrees.
The result of the rotation is displayed in the image display area
and a confirmation is needed before the original image files is
overwritten.  This confirmation can be turned off using
`image-dired-rotate-original-ask-before-overwrite'.
(defalias 'image-dired-rotate-thumbnail-left #[nil "\300\301!\207" [image-dired-rotate-thumbnail "270"] 2 (#$ . 65039) nil])
#@294 Rotate thumbnail counter right (clockwise) 90 degrees.
The result of the rotation is displayed in the image display area
and a confirmation is needed before the original image files is
overwritten.  This confirmation can be turned off using
`image-dired-rotate-original-ask-before-overwrite'.
(defalias 'image-dired-rotate-thumbnail-right #[nil "\300\301!\207" [image-dired-rotate-thumbnail "90"] 2 (#$ . 65463) nil])
#@52 Force creation of new image for current thumbnail.
(defalias 'image-dired-refresh-thumb #[nil "\301 \302 \210\303\304!\")\207" [file image-dired-original-file-name clear-image-cache image-dired-create-thumb image-dired-thumb-name] 4 (#$ . 65887) nil])
#@40 Rotate original image DEGREES degrees.
(defalias 'image-dired-rotate-original #[(degrees) "\306 \204	\307\310!\207\311 \312\313\314	\"\204\315\316!\210\317\n\320B\321\fB\322\323	!B\324
BF\"\325\312\211\211&\326U\204B\315\327!\202d\330
!\210 \203Q\331\332!\204V \204a\333
	\334#\210\335 \202d\330	!*\207" [command file image-dired-cmd-rotate-original-options image-dired-cmd-rotate-original-program degrees image-dired-temp-rotate-image-file image-dired-image-at-point-p message "No image at point" image-dired-original-file-name nil string-match ".[jJ][pP[eE]?[gG]$" error "Only JPEG images can be rotated!" format-spec 112 100 111 expand-file-name 116 call-process 0 "Could not rotate image" image-dired-display-image y-or-n-p "Rotate to temp file OK.  Overwrite original image? " copy-file t image-dired-refresh-thumb shell-file-name shell-command-switch image-dired-rotate-original-ask-before-overwrite] 7 (#$ . 66148)])
#@60 Rotate original image left (counter clockwise) 90 degrees.
(defalias 'image-dired-rotate-original-left #[nil "\300\301!\207" [image-dired-rotate-original "270"] 2 (#$ . 67099) nil])
#@53 Rotate original image right (clockwise) 90 degrees.
(defalias 'image-dired-rotate-original-right #[nil "\300\301!\207" [image-dired-rotate-original "90"] 2 (#$ . 67287) nil])
#@353 Use the image's EXIF information to return a unique file name.
The file name should be unique as long as you do not take more than
one picture per second.  The original file name is suffixed at the end
for traceability.  The format of the returned file name is
YYYY_MM_DD_HH_MM_DD_ORIG_FILE_NAME.jpg.  Used from
`image-dired-copy-with-exif-file-name'.
(defalias 'image-dired-get-exif-file-name #[(file) "\303\211\304\305\306\n!\"\204\307\310\311\312\313\306\n!!8\"\202$\314\306\n!\315\"\304\316	\"\2035\317\320\303\211	$\202$\321\322	\203@\323\202A\320\324\n!$*\207" [no-exif-data-found data file nil string-match ".[Jj][Pp][Ee]?[Gg]$" expand-file-name t format-time-string "%Y:%m:%d %H:%M:%S" 5 file-attributes image-dired-get-exif-data "DateTimeOriginal" "[ :]" replace-match "_" format "%s%s%s" "_noexif_" file-name-nondirectory] 6 (#$ . 67469)])
#@153 Set the ImageDescription EXIF tag for the original image.
If the image already has a value for this tag, it is used as the
default value at the prompt.
(defalias 'image-dired-thumbnail-set-image-description #[nil "\302 \204	\303\304!\207\305 \306\307\"\310\307\311\312	\"#\313=\203$\303\314!\202'\315\316!*\207" [file old-value image-dired-image-at-point-p message "No thumbnail at point" image-dired-original-file-name image-dired-get-exif-data "ImageDescription" image-dired-set-exif-data read-string "Value of ImageDescription: " 0 "Successfully wrote ImageDescription tag." error "Could not write ImageDescription tag"] 6 (#$ . 68340) nil])
#@52 In FILE, set EXIF tag TAG-NAME to value TAG-VALUE.
(defalias 'image-dired-set-exif-data #[(file tag-name tag-value) "\306\307	\310\nB\311\312!B\313\fB\314
BF\"\315\306\211\211&)\207" [command image-dired-cmd-write-exif-data-options image-dired-cmd-write-exif-data-program file tag-name tag-value nil format-spec 112 102 expand-file-name 116 118 call-process shell-file-name shell-command-switch] 7 (#$ . 68998)])
#@38 From FILE, return EXIF tag TAG-NAME.
(defalias 'image-dired-get-exif-data #[(file tag-name) "\306\307!\310\211\311\312\fB\313
B\314BE\"r\nq\210ed|\210\315\310\316\310	&\317=\2046\320\321!\210\202Neb\210\322\323\310\316#\203J\324\325\310\316#\210\2029ed{)+\207" [tag-value command buf image-dired-cmd-read-exif-data-options image-dired-cmd-read-exif-data-program file get-buffer-create "*image-dired-get-exif-data*" nil format-spec 112 102 116 call-process t 0 error "Could not get EXIF tag" search-forward-regexp "[\n
]" replace-match "" tag-name shell-file-name shell-command-switch] 7 (#$ . 69426)])
#@587 Copy file with unique name to main image directory.
Copy current or all marked files in dired to a new file in your
main image directory, using a file name generated by
`image-dired-get-exif-file-name'.  A typical usage for this if when
copying images from a digital camera into the image directory.

 Typically, you would open up the folder with the incoming
digital images, mark the files to be copied, and execute this
function.  The result is a couple of new files in
`image-dired-main-image-directory' called
2005_05_08_12_52_00_dscn0319.jpg,
2005_05_08_14_27_45_dscn0320.jpg etc.
(defalias 'image-dired-copy-with-exif-file-name #[nil "\302\303 \304\305\"*\207" [files new-name nil dired-get-marked-files mapcar #[(curr-file) "\303\304\305\306!!\307	!#\310\311	\n#\210\312	\n\"\207" [image-dired-main-image-directory curr-file new-name format "%s/%s" file-name-as-directory expand-file-name image-dired-get-exif-file-name message "Copying %s to %s" copy-file] 5]] 3 (#$ . 70053) nil])
#@68 In thumbnail buffer, move to next thumbnail and display the image.
(defalias 'image-dired-display-next-thumbnail-original #[nil "\300 \210\301 \207" [image-dired-forward-image image-dired-display-thumbnail-original-image] 1 (#$ . 71054) nil])
#@47 Move to previous thumbnail and display image.
(defalias 'image-dired-display-previous-thumbnail-original #[nil "\300 \210\301 \207" [image-dired-backward-image image-dired-display-thumbnail-original-image] 1 (#$ . 71303) nil])
#@150 Write file comments to database.
Write file comments to one or more files.
FILE-COMMENTS is an alist on the following form:
 ((FILE . COMMENT) ... )
(defalias 'image-dired-write-comments #[(file-comments) "\306 \210\307\211\211\211\211\310\311!r
q\210\312\216\313!\203#\314!\210\307\211\203\235@\211@Aeb\210\315\316\317	\"\307\320#\203\212`\321 \210\322\323\f\320#\203p\324\224\322\325\f\320#\203j`S\202l\f\n|\210\321 \210\322\325\f\320#\204\201\307\210\325c\210\316\326\"c\210\202\224db\210\316\327	#c\210A\211\2042*\330 .\207" [comment file comment-end-pos comment-beg-pos end #1=#:temp-buffer image-dired-sane-db-file nil generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents search-forward-regexp format "^%s.*$" t beginning-of-line search-forward ";comment:" 0 ";" "comment:%s;" "\n%s;comment:%s" save-buffer image-dired-db-file buffer-file-name file-comments elt --dolist-tail--] 6 (#$ . 71537)])
#@54 Update text property PROP with value VALUE at point.
(defalias 'image-dired-update-property #[(prop value) "\303\304``T	\n$)\207" [inhibit-read-only prop value t put-text-property] 5 (#$ . 72587)])
#@50 Add comment to current or marked files in dired.
(defalias 'image-dired-dired-comment-files #[nil "\301 \302\303\304\305 \"!)\207" [comment image-dired-read-comment image-dired-write-comments mapcar #[(curr-file) "	B\207" [curr-file comment] 2] dired-get-marked-files] 4 (#$ . 72792) nil])
#@55 Add comment to current thumbnail in thumbnail buffer.
(defalias 'image-dired-comment-thumbnail #[nil "\302 \303!\304	BC!\210\305\301	\"\210*\306 \207" [file comment image-dired-original-file-name image-dired-read-comment image-dired-write-comments image-dired-update-property image-dired-display-thumb-properties] 3 (#$ . 73090) nil])
#@83 Read comment for an image.
Optionally use old comment from FILE as initial value.
(defalias 'image-dired-read-comment #[(&optional file) "\301\302\205	\303!\"\207" [file read-string "Comment: " image-dired-get-comment] 5 (#$ . 73435)])
#@28 Get comment for file FILE.
(defalias 'image-dired-get-comment #[(file) "\306 \210\307\310!rq\210\311\216\312	!\203\313	!\210\314\211\211\211\315\316\317\"\314\320#\203Q\314\210`\321 \210\322\323
\320#\203Q`\322\324
\320#\203K`S\202M
\f{\n.\207" [#1=#:temp-buffer image-dired-db-file comment comment-end-pos comment-beg-pos end image-dired-sane-db-file generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents nil search-forward-regexp format "^%s" t beginning-of-line search-forward ";comment:" ";" file] 4 (#$ . 73680)])
#@355 Use regexp to mark files with matching tag.
A `tag' is a keyword, a piece of meta data, associated with an
image file and stored in image-dired's database file.  This command
lets you input a regexp and this will be matched against all tags
on all image files in the database file.  The files that have a
matching tag will be marked in the dired buffer.
(defalias 'image-dired-mark-tagged-files #[nil "\306 \210\307\310!\311\312\313\314!rq\210\315\216\316\f!\203\317\f!\210\320\321\n\322Q\312\323#\2033\324\325!B\202+\312\211\203r@\326\327 !!\326\330
!!\230\203i\331
!eb\210\320\332\333
\"\312\323#\203i	T\334\325!\210A\211\204=*\335\336	\"+\207" [files hits tag #1=#:temp-buffer image-dired-db-file curr-file image-dired-sane-db-file read-string "Mark tagged files (regexp): " 0 nil generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents search-forward-regexp "\\(^[^;\n]+\\);.*" ".*$" t match-string 1 file-name-as-directory expand-file-name file-name-directory file-name-nondirectory format "\\s %s$" dired-mark message "%d files with matching tag marked." --dolist-tail-- default-directory] 5 (#$ . 74319) nil])
#@151 Use mouse EVENT, call `image-dired-display-image' to display image.
Track this in associated dired buffer if `image-dired-track-movement' is
non-nil.
(defalias 'image-dired-mouse-display-image #[(event) "\305!\210\306!\307	8\206	A@:\203	A@@\202	A@)b\210\310 \211\205:\2030\311 \210\312 \210\313\f!\210\314\n!)\207" [event position file image-dired-track-movement image-dired-display-image-buffer mouse-set-point event-end 5 image-dired-original-file-name image-dired-track-original-file image-dired-create-display-image-buffer display-buffer image-dired-display-image] 3 (#$ . 75562) "e"])
#@126 Use mouse EVENT to select thumbnail image.
Track this in associated dired buffer if `image-dired-track-movement' is
non-nil.
(defalias 'image-dired-mouse-select-thumbnail #[(event) "\303!\210\304!\305	8\206	A@:\203	A@@\202	A@)b\210\n\203)\306 \210\307 \207" [event position image-dired-track-movement mouse-set-point event-end 5 image-dired-track-original-file image-dired-display-thumb-properties] 2 (#$ . 76172) "e"])
#@135 Use mouse EVENT to toggle dired mark for thumbnail.
Track this in associated dired buffer if `image-dired-track-movement' is
non-nil.
(defalias 'image-dired-mouse-toggle-mark #[(event) "\303!\210\304!\305	8\206	A@:\203	A@@\202	A@)b\210\n\203)\306 \210\307 \207" [event position image-dired-track-movement mouse-set-point event-end 5 image-dired-track-original-file image-dired-toggle-mark-thumb-original-file] 2 (#$ . 76609) "e"])
#@53 Display properties for dired file in the echo area.
(defalias 'image-dired-dired-display-properties #[nil "\305 \306!\307p!\310\311\312!\313#\314!	\205$\315\316\317\n	\f$\"-\207" [file file-name dired-buf props comment dired-get-filename file-name-nondirectory buffer-name mapconcat princ image-dired-list-tags ", " image-dired-get-comment message "%s" image-dired-format-properties-string] 7 (#$ . 77056) nil])
#@35 List to store tag-file structure.
(defvar image-dired-tag-file-list nil (#$ . 77484))
#@35 List to store file-tag structure.
(defvar image-dired-file-tag-list nil (#$ . 77576))
#@30 List to store file comments.
(defvar image-dired-file-comment-list nil (#$ . 77668))
#@36 Add relation between TAG and FILE.
(defalias 'image-dired-add-to-tag-file-list #[(tag file) "\304	\203*\305\n	\"\211\203\235?\2050AB\241\2020	\nD	AB\241\2020\nDC\211)\207" [curr image-dired-tag-file-list tag file nil assoc] 3 (#$ . 77759)])
#@423 Helper function used from `image-dired-create-gallery-lists'.

Add TAG to FILE in one list and FILE to TAG in the other.

Lisp structures look like the following:

image-dired-file-tag-list:

  (("filename1" "tag1" "tag2" "tag3" ...)
   ("filename2" "tag1" "tag2" "tag3" ...)
   ...)

image-dired-tag-file-list:

 (("tag1" "filename1" "filename2" "filename3" ...)
  ("tag2" "filename1" "filename2" "filename3" ...)
  ...)
(defalias 'image-dired-add-to-tag-file-lists #[(tag file) "\305	\203%\306\n	\"\211\203AB\241\210\202*	\nD	AB\241\210\202*\nDC\f\203R\306\f\"\211\203G\n\235?\205X\nAB\241\202X\f\nD\fAB\241\202X\nDC\211)\207" [curr image-dired-file-tag-list file tag image-dired-tag-file-list nil assoc] 3 (#$ . 78023)])
#@240 Helper function used from `image-dired-create-gallery-lists'.

For FILE, add COMMENT to list.

Lisp structure looks like the following:

image-dired-file-comment-list:

  (("filename1" .  "comment1")
   ("filename2" .  "comment2")
   ...)
(defalias 'image-dired-add-to-file-comment-list #[(file comment) "\203\303	\"?\205	\nBAB\241\207	\nBC\211\207" [image-dired-file-comment-list file comment assoc] 3 (#$ . 78780)])
#@64 Create temporary lists used by `image-dired-gallery-generate'.
(defalias 'image-dired-create-gallery-lists #[nil "\306 \210\307\310!rq\210\311\216\312	!\203\313	!\210\314\211\211\211\314\211\314 eb\210\315\316\314\317#\203\212\314\210`\320 \210`\321\322
\314#\204I\323\324!\210\325\f
{\322\"\211@\nA\314!\211\"\203\206\"@!\326\327!\"\204t\330!\"\210\202}\331\332\333!\"\"\210\"A\211\"\204^*\202+.\334\335\"\211\207" [#1=#:temp-buffer image-dired-db-file row-tags file beg end image-dired-sane-db-file generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) file-exists-p insert-file-contents nil search-forward-regexp "^." t beginning-of-line search-forward ";" error "Something is really wrong, check format of database" split-string string-match "^comment:\\(.*\\)" image-dired-add-to-tag-file-lists image-dired-add-to-file-comment-list match-string 1 sort #[(x y) "@	@\231\207" [x y] 2] image-dired-tag-file-list image-dired-file-tag-list image-dired-file-comment-list x --dolist-tail--] 6 (#$ . 79213)])
#@44 Return t if image FILE has a "hidden" tag.
(defalias 'image-dired-hidden-p #[(file) "\303\304\305\306	\n\"A\"\210)\207" [hidden file image-dired-file-tag-list nil mapc #[(tag) "	\235\205	\303\211\207" [tag image-dired-gallery-hidden-tags hidden t] 2] assoc] 5 (#$ . 80323)])
#@176 Generate gallery pages.
First we create a couple of Lisp structures from the database to make
it easier to generate, then HTML-files are created in
`image-dired-gallery-dir'.
(defalias 'image-dired-gallery-generate #[nil "\306=\203\n\307\310!\210\311 \210	\312\313\n\"\314\211\211\211\211\211\21156789:\315\n!\203;\316\n!\204?\307\317!\210\202?\320\n!\2109\321\322\323!!;<\324\216r;q\210\3159!\203]\3259!\210\326c\210\327c\210\330c\210\312\331\332 \"c\210\333c\210\3348:\314=\211>\203\272>@\211=@\2117?\235\204\261\312\33587#\203\246\3367\fBC\"\202\2547\fBC8T8>A\211>\204~*\3348:\314=\211>\203\334>@\211=@\2117?\235\204\323\312\337\3407\"A\"c\210\312\341\n8#\2116\321\322\323!!@A\342\216r@q\210\3156!\203	\3256!\210\343 \210\326c\210\327c\210\344c\210\312\3457\"c\210=A\314B\211>\203\264>@B\346B!\204\253\312\347C\350B!D\350\351B!!B&c\210\340BE\"A\2115\203a\312\3525\"c\210\202d\353c\210\340BF\"\211G\354V\203\253\355c\210
\314G\211>\203\247>@\211G7\232\204\236GB\232\204\236\312\356\340G\"A\"c\210>A\211>\204*\357c\210>A\211>\204(*\344c\210\360c\210\361c\210)r@q\210\362\314\211A\314\363%\210,8T8>A\211>\204\311*\360c\210\364c)r;q\210\362\314\211<\314\363%\210.
\207" [image-dired-thumbnail-storage image-dired-tag-file-list image-dired-gallery-dir tag-link-list tag-link file-tags per-directory error "Currently, gallery generation is not supported when using per-directory thumbnail file storage" image-dired-create-gallery-lists format "%s/index.html" nil file-exists-p file-directory-p "Variable image-dired-gallery-dir is not a directory" make-directory get-buffer-create generate-new-buffer-name " *temp file*" ((byte-code "\301!\203\n\302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) insert-file-contents "<html>\n" "  <body>\n" "   <h2>Image-Dired Gallery</h2>\n" "<p>\n    Gallery generated %s\n   <p>\n" current-time-string "   <h3>Tag index</h3>\n" 1 "<a href=\"%d.html\">%s</a>" append "    %s<br>\n" assoc "%s/%s.html" ((byte-code "\301!\203\n\302!\210\301\207" [#2=#:temp-buffer buffer-name kill-buffer] 2)) erase-buffer "  <p><a href=\"index.html\">Index</a></p>\n" "  <h2>Images with tag &quot;%s&quot;</h2>" image-dired-hidden-p "<a href=\"%s/%s\"><img src=\"%s/%s\"%s></a>\n" file-name-nondirectory image-dired-thumb-name "<br>\n%s<br>\n" "<br>\n" 2 "[ " "%s " "]<br>\n" "  </body>\n" "</html>\n" write-region 0 "</html>" comment tag-file tag count index-file tags #1# #3=#:temp-file curr --dolist-tail-- image-dired-gallery-hidden-tags #2# #4=#:temp-file file image-dired-gallery-image-root-url image-dired-gallery-thumb-image-root-url image-dired-file-comment-list image-dired-file-tag-list extra-tag] 10 (#$ . 80610) nil])
#@60 Kill the current buffer and, if possible, also the window.
(defalias 'image-dired-kill-buffer-and-window #[nil "p\301\302\303\217\210\304!)\207" [buffer nil (byte-code "\300\301 !\207" [delete-window selected-window] 2) ((error)) kill-buffer] 3 (#$ . 83403) nil])
#@49 List to keep track of meta data in edit buffer.
(defvar image-dired-widget-list nil (#$ . 83675))
#@130 Edit comment and tags of current or marked image files.
Edit comment and tags for all marked image files in an
easy-to-use form.
(defalias 'image-dired-dired-edit-comment-and-tags #[nil "\306\307 \310\311!\210\312 \210\313\314!\210\315\316 \210)\317 \210\320\321!\210\306\211\211\2112	\3063\2114\203\2134@3\3223!2\3232!\324
!\210\320\325!\210\326\327\330\331\332\333\334\3353!\206W\336&\320\337!\210\326\327\330\331\332\333\334\340\341\3423!\343#\206q\336&\3443\fEC\"\320\345!\2104A\2114\2040.\320\346!\210\326\347\350\351\352$\210\320\353!\210\326\347\350\354\355$\210\320\346!\210\3565!\210\357 \210\360\361!)\207" [image-dired-widget-list files inhibit-read-only tag-widget comment-widget img nil dired-get-marked-files switch-to-buffer "*Image-Dired Edit Meta Data*" kill-all-local-variables make-local-variable widget-example-repeat t erase-buffer remove-overlays widget-insert "\nEdit comments and tags for each image.  Separate multiple tags\nwith a comma.  Move forward between fields using TAB or RET.\nMove to the previous field using backtab (S-TAB).  Save by\nactivating the Save button at the bottom of the form or cancel\nthe operation by activating the Cancel button.\n\n" image-dired-thumb-name create-image insert-image "\n\nComment: " widget-create editable-field :size 60 :format "%v " :value image-dired-get-comment "" "\nTags:    " mapconcat #[(tag) "\207" [tag] 1] image-dired-list-tags "," append "\n\n" "\n" push-button :notify #[(&rest _ignore) "\300 \210\301 \210\302\303!\207" [image-dired-save-information-from-widgets bury-buffer message "Done."] 2] "Save" " " #[(&rest _ignore) "\300 \210\301\302!\207" [bury-buffer message "Operation canceled."] 2] "Cancel" use-local-map widget-setup widget-forward 1 thumb-file file --dolist-tail-- widget-keymap] 12 (#$ . 83780) nil])
#@231 Save information found in `image-dired-widget-list'.
Use the information in `image-dired-widget-list' to save comments and
tags to their respective image file.  Internal function used by
`image-dired-dired-edit-comment-and-tags'.
(defalias 'image-dired-save-information-from-widgets #[nil "\306\211\211\211\211\307\310\311
\"!\210\312
\306\211\203^@\211@\313\211AA)@!\314\n\315\"\211\306\211\203T@\fBBA\211\204?*A\211\204\306*!-\207" [lst tag-list tag-string comment file image-dired-widget-list nil image-dired-write-comments mapcar #[(widget) "@\304\211A@)!	B\207" [widget file x comment widget-value] 3] image-dired-write-tags widget-value split-string "," widget --dolist-tail-- x tag] 6 (#$ . 85623)])
(provide 'image-dired)

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net