| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314\315& \210\316\317\320\321\322DD\323\324\325%\210\316\326\320\321\327DD\330\324\331%\210\316\332\320\321\333DD\334\324\335%\210\316\336\320\321\337DD\340\324\335%\210\316\341\320\321\342DD\343\324\325%\210\316\344\320\321\345DD\346\324\347%\210\316\350\320\321\351DD\352\324\347%\210\316\353\320\321\354DD\355\324\335%\210\316\356\320\321\357DD\360\361\362\324\363&\210\316\364\320\321\365DD\366\324\335%\210\316\367\320\321\370DD\371\361\362\324\372&\210\316\373\320\321\374DD\375\361\362\324\376&\210\316\377\320\321\201@ DD\201A \361\362\324\201B &\210\316\201C \320\321\201D DD\201E \324\201F %\210\316\201G \320\321\201H DD\201I \361\362\324\201J &\210\316\201K \320\321\201L DD\201M \361\362\324\201N &\210\316\201O \320\321\201P DD\201Q \361\362\324\201R \312\201S & \210\316\201T \320\321\201U DD\201V \361\362\324\201W &\210\316\201X \320\321\201Y DD\201Z \324\335%\210\316\201[ \320\321\201\\ DD\201] \361\362\324\201^ &\210\316\201_ \320\321\201` DD\201a \324\335%\210\316\201b \320\321\201c DD\201d \361\362\324\201e &\210\316\201f \320\321\201g DD\201h \324\335%\210\316\201i \320\321\201j DD\201k \324\201l %\210\316\201m \320\321\201n DD\201o \324\335%\210\316\201p \320\321\201q DD\201r \361\362\324\201s &\210\316\201t \320\321\201u DD\201v \324\335%\210\316\201w \320\321\201x DD\201y \361\362\324\201z &\210\316\201{ \320\321\201| DD\201} \324\201~ %\210\316\201 \320\321\201\200 DD\201\201 \324\201\202 %\210\316\201\203 \320\321\201\204 DD\201\205 \324\201\202 %\210\316\201\206 \320\321\201\207 DD\201\210 \324\201\202 %\210\316\201\211 \320\321\201\212 DD\201\213 \324\201\202 %\210\316\201\214 \320\321\201\215 DD\201\216 \324\201\202 %\210\316\201\217 \320\321\201\220 DD\201\221 \324\201l \361\201\222 &\210\201\223 \201\224 \201\225 \201\226 \314\305\361\201\222 &\210\316\201\227 \320\321\201\230 DD\201\231 \324\201\232 %\210\316\201\233 \320\321\201\234 DD\201\235 \324\201\202 %\210\316\201\236 \320\321\201\237 DD\201\240 \324\201\202 %\210\316\201\241 \320\321\201\242 DD\201\243 \324\201\202 %\210\316\201\244 \320\321\201\245 DD\201\246 \324\201l %\210\316\201\247 \320\321\201\250 DD\201\251 \324\201l %\210\316\201\252 \320\321\201\253 DD\201\254 \324\201l %\210\316\201\255 \320\321\201\256 DD\201\257 \324\347%\210\316\201\260 \320\321\201\261 DD\201\262 \361\201\222 \324\201\263 &\210\316\201\264 \320\321\201\265 DD\201\266 \324\347%\210\316\201\267 \320\321\201\270 DD\201\271 \324\201\202 %\207" [require dired image-mode widget custom-declare-group image-dired nil "Use Dired to browse your images as thumbnails, and more." :prefix "image-dired-" :link (info-link "(emacs) Image-Dired") :group multimedia custom-declare-variable image-dired-dir funcall function #[0 "\300\301!\207" [locate-user-emacs-file "image-dired/"] 2 #1=""] "Directory where thumbnail images are stored.\n\nThe value of this option will be ignored if Image Dired is\ncustomized to use the Thumbnail Managing Standard; they will be\nsaved in \"$XDG_CACHE_HOME/thumbnails/\" instead. See\n`image-dired-thumbnail-storage'." :type directory image-dired-thumbnail-storage #[0 "\300\207" [use-image-dired-dir] 1 #1#] "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 "Use image-dired-dir" use-image-dired-dir) (const :tag "Thumbnail Managing Standard (normal 128x128)" standard) (const :tag "Thumbnail Managing Standard (large 256x256)" standard-large) (const :tag "Per-directory" per-directory)) image-dired-db-file #[0 "\301\302\"\207" [image-dired-dir expand-file-name ".image-dired_db"] 3 #1#] "Database file where file names and their associated tags are stored." file image-dired-temp-image-file #[0 "\301\302\"\207" [image-dired-dir expand-file-name ".image-dired_temp"] 3 #1#] "Name of temporary image file used by various commands." image-dired-gallery-dir #[0 "\301\302\"\207" [image-dired-dir expand-file-name ".image-dired_gallery"] 3 #1#] "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 #[0 "\300\207" ["https://your.own.server/image-diredpics"] 1 #1#] "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." string image-dired-gallery-thumb-image-root-url #[0 "\300\207" ["https://your.own.server/image-diredthumbs"] 1 #1#] "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 #[0 "\300\207" ["convert"] 1 #1#] "Executable used to create thumbnail.\nUsed together with `image-dired-cmd-create-thumbnail-options'." image-dired-cmd-create-thumbnail-options #[0 "\300\207" [("-size" "%wx%h" "%f[0]" "-resize" "%wx%h>" "-strip" "jpeg:%t")] 1 #1#] "Options of command used to create thumbnail image.\nUsed with `image-dired-cmd-create-thumbnail-program'.\nAvailable format specifiers are: %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." :version "26.1" (repeat (string :tag "Argument")) image-dired-cmd-create-temp-image-program #[0 "\300\207" ["convert"] 1 #1#] "Executable used to create temporary image.\nUsed together with `image-dired-cmd-create-temp-image-options'." image-dired-cmd-create-temp-image-options #[0 "\300\207" [("-size" "%wx%h" "%f[0]" "-resize" "%wx%h>" "-strip" "jpeg:%t")] 1 #1#] "Options of command used to create temporary image for display window.\nUsed together with `image-dired-cmd-create-temp-image-program',\nAvailable format specifiers are: %w and %h which are 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." (repeat (string :tag "Argument")) image-dired-cmd-pngnq-program #[0 "\300\301!\206 \300\302!\207" [executable-find "pngnq" "pngnq-s9"] 2 #1#] "The file name of the `pngnq' program.\nIt quantizes colors of PNG images down to 256 colors or fewer\nusing the NeuQuant algorithm." (choice (const :tag "Not Set" nil) file) image-dired-cmd-pngnq-options #[0 "\300\207" [("-f" "%t")] 1 #1#] "Arguments to pass `image-dired-cmd-pngnq-program'.\nAvailable format specifiers are the same as in\n`image-dired-cmd-create-thumbnail-options'." (repeat (string :tag "Argument")) image-dired-cmd-pngcrush-program #[0 "\300\301!\207" [executable-find "pngcrush"] 2 #1#] "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) file) image-dired-cmd-pngcrush-options #[0 "\300\301\302\303\304\301\302\305\306 \307BBBBBBBBB\207" ["-q" "-text" "b" "Description" "Thumbnail of file://%f" "Software" emacs-version ("-text" "b" "Thumb::MTime" "%m" "-text" "b" "Thumb::URI" "file://%f" "%q" "%t")] 10 #1#] "Arguments for `image-dired-cmd-pngcrush-program'.\nAvailable format specifiers are the same as in\n`image-dired-cmd-create-thumbnail-options', with %q for a\ntemporary file name (typically generated by pnqnq)." (repeat (string :tag "Argument")) image-dired-cmd-optipng-program #[0 "\300\301!\207" [executable-find "optipng"] 2 #1#] "The file name of the `optipng' program." (choice (const :tag "Not Set" nil) file) image-dired-cmd-optipng-options #[0 "\300\207" [("-o5" "%t")] 1 #1#] "Arguments passed to `image-dired-cmd-optipng-program'.\nAvailable format specifiers are described in\n`image-dired-cmd-create-thumbnail-options'." (repeat (string :tag "Argument")) (url-link "man:optipng(1)") image-dired-cmd-create-standard-thumbnail-options #[0 "\302\303\206 ?\205 \304\305\306\304\307\310\304\311\312\304\313\314 \257\f\315#\207" [image-dired-cmd-pngcrush-program image-dired-cmd-pngnq-program append ("-size" "%wx%h" "%f[0]") "-set" "Thumb::MTime" "%m" "Thumb::URI" "file://%f" "Description" "Thumbnail of file://%f" "Software" emacs-version ("-thumbnail" "%wx%h>" "png:%t")] 14 #1#] "Options for creating thumbnails according to the Thumbnail Managing Standard.\nAvailable format specifiers are the same as in\n`image-dired-cmd-create-thumbnail-options', with %m for file modification time." (repeat (string :tag "Argument")) image-dired-cmd-rotate-thumbnail-program #[0 "\300\207" ["mogrify"] 1 #1#] "Executable used to rotate thumbnail.\nUsed together with `image-dired-cmd-rotate-thumbnail-options'." image-dired-cmd-rotate-thumbnail-options #[0 "\300\207" [("-rotate" "%d" "%t")] 1 #1#] "Arguments of command used to rotate thumbnail image.\nUsed with `image-dired-cmd-rotate-thumbnail-program'.\nAvailable format specifiers are: %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." (repeat (string :tag "Argument")) image-dired-cmd-rotate-original-program #[0 "\300\207" ["jpegtran"] 1 #1#] "Executable used to rotate original image.\nUsed together with `image-dired-cmd-rotate-original-options'." image-dired-cmd-rotate-original-options #[0 "\300\207" [("-rotate" "%d" "-copy" "all" "-outfile" "%t" "%o")] 1 #1#] "Arguments of command used to rotate original image.\nUsed with `image-dired-cmd-rotate-original-program'.\nAvailable format specifiers are: %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'." (repeat (string :tag "Argument")) image-dired-temp-rotate-image-file #[0 "\301\302\"\207" [image-dired-dir expand-file-name ".image-dired_rotate_temp"] 3 #1#] "Temporary file for rotate operations." image-dired-rotate-original-ask-before-overwrite #[0 "\300\207" [t] 1 #1#] "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 #[0 "\300\207" ["exiftool"] 1 #1#] "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 #[0 "\300\207" [("-%t=%v" "%f")] 1 #1#] "Arguments of command used to write EXIF data.\nUsed with `image-dired-cmd-write-exif-data-program'.\nAvailable format specifiers are: %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." (repeat (string :tag "Argument")) image-dired-cmd-read-exif-data-program #[0 "\300\207" ["exiftool"] 1 #1#] "Program used to read EXIF data to image.\nUsed together with `image-dired-cmd-read-exif-data-options'." image-dired-cmd-read-exif-data-options #[0 "\300\207" [("-s" "-s" "-s" "-%t" "%f")] 1 #1#] "Arguments of command used to read EXIF data.\nUsed with `image-dired-cmd-read-exif-data-program'.\nAvailable format specifiers are: %f which is replaced\nby the image file name and %t which is replaced by the tag name." (repeat (string :tag "Argument")) image-dired-gallery-hidden-tags #[0 "\300\301\302E\207" ["private" "hidden" "pending"] 3 #1#] "List of \"hidden\" tags.\nUsed by `image-dired-gallery-generate' to leave out \"hidden\" images." (repeat string) image-dired-thumb-size #[0 "\301\267\202\n \302\207\303\207\304\207" [image-dired-thumbnail-storage #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (standard 6 standard-large 8)) 128 256 100] 2 #1#] "Size of thumbnails, in pixels.\nThis is the default size for both `image-dired-thumb-width'\nand `image-dired-thumb-height'.\n\nThe value of this option will be ignored if Image Dired is\ncustomized to use the Thumbnail Managing Standard; the standard\nsizes will be used instead. See `image-dired-thumbnail-storage'." integer image-dired-thumb-width #[0 "\207" [image-dired-thumb-size] 1 #1#] "Width of thumbnails, in pixels." image-dired-thumb-height #[0 "\207" [image-dired-thumb-size] 1 #1#] "Height of thumbnails, in pixels." image-dired-thumb-relief #[0 "\300\207" [2] 1 #1#] "Size of button-like border around thumbnails." image-dired-thumb-margin #[0 "\300\207" [2] 1 #1#] "Size of the margin around thumbnails.\nThis is where you see the cursor." image-dired-thumb-visible-marks #[0 "\300\207" [t] 1 #1#] "Make marks visible in thumbnail buffer.\nIf non-nil, apply the `image-dired-thumb-mark' face to marked\nimages." "28.1" custom-declare-face image-dired-thumb-mark ((t (:background "orange"))) "Background-color for marked images in thumbnail buffer." image-dired-line-up-method #[0 "\300\207" [dynamic] 1 #1#] "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 #[0 "\300\207" [3] 1 #1#] "Number of thumbnails to display per row in thumb buffer." image-dired-display-window-width-correction #[0 "\300\207" [1] 1 #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 "\300\207" [0] 1 #1#] "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 #[0 "\300\207" [t] 1 #1#] "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 #[0 "\300\207" [nil] 1 #1#] "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 #[0 "\300\207" [t] 1 #1#] "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 #[0 "\300\207" ["%b: %f (%t): %c"] 1 #1#] "Display format for thumbnail properties.\n%b is replaced with associated Dired buffer name, %f with file\nname (without path) of original image file, %t with the list of\ntags and %c with the comment." image-dired-external-viewer #[0 "\300\301!\206 \300\302!\206 \300\303!\203 \304\207\300\305!\205 \305\207" [executable-find "display" "xli" "qiv" "qiv -t" "feh"] 2 #1#] "Name of external viewer.\nIncluding parameters. Used when displaying original image from\n`image-dired-thumbnail-mode'." (choice string (const :tag "Not Set" nil)) image-dired-main-image-directory #[0 "\300\207" ["~/pics/"] 1 #1#] "Name of main image directory, if any.\nUsed by `image-dired-copy-with-exif-file-name'." image-dired-show-all-from-dir-max-files #[0 "\300\207" [50] 1 #1#] "Maximum number of files to show using `image-dired-show-all-from-dir'\nbefore warning."] 10)
#@108 Run BODY in a temp buffer containing `image-dired-db-file'.
Return the last form in BODY.
(fn &rest BODY)
(defalias 'image-dired--with-db-file '(macro . #[128 "\300\301BB\207" [with-temp-buffer (if (file-exists-p image-dired-db-file) (insert-file-contents image-dired-db-file))] 4 (#$ . 16870)]))
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put image-dired--with-db-file lisp-indent-function 0 put edebug-form-spec t] 5)
#@130 Return the current thumbnails directory (from variable `image-dired-dir').
Create the thumbnails directory if it does not exist.
(defalias 'image-dired-dir #[0 "\301\302!!\303!\204\"