| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 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\302\303\304\"\210\305\306\307\310\311\301%\210\312\313\314\315\316DD\317\320\321%\210\312\322\314\315\323DD\324\320\321%\210\312\325\314\315\326DD\327\320\330%\210\312\331\314\315\332DD\333\320\321%\210\312\334\314\315\335DD\336\320\337%\210\312\340\314\315\341DD\342\320\343\344\345&\210\312\346\314\315\347DD\350\344\351\320\321&\207" [require dired autoload dired-do-create-files-regexp "dired-aux" custom-declare-group wdired nil "Mode to rename files by editing their names in dired buffers." :group custom-declare-variable wdired-use-interactive-rename funcall function #[0 "\300\207" [nil] 1 #1=""] "If non-nil, WDired requires confirmation before actually renaming files.\nIf nil, WDired doesn't require confirmation to change the file names,\nand the variable `wdired-confirm-overwrite' controls whether it is ok\nto overwrite files without asking." :type boolean wdired-confirm-overwrite #[0 "\300\207" [t] 1 #1#] "If nil the renames can overwrite files without asking.\nThis variable has no effect at all if `wdired-use-interactive-rename'\nis not nil." wdired-use-dired-vertical-movement #[0 "\300\207" [nil] 1 #1#] "If t, the \"up\" and \"down\" movement works as in Dired mode.\nThat is, always move the point to the beginning of the filename at line.\n\nIf `sometimes', only move to the beginning of filename if the point is\nbefore it, and `track-eol' is non-nil. This behavior is very handy\nwhen editing several filenames.\n\nIf nil, \"up\" and \"down\" movement is done as in any other buffer." (choice (const :tag "As in any other mode" nil) (const :tag "Smart cursor placement" sometimes) (other :tag "As in dired mode" t)) wdired-allow-to-redirect-links #[0 "\300\207" [t] 1 #1#] "If non-nil, the target of the symbolic links are editable.\nIn systems without symbolic links support, this variable has no effect\nat all." wdired-allow-to-change-permissions #[0 "\300\207" [nil] 1 #1#] "If non-nil, the permissions bits of the files are editable.\n\nIf t, to change a single bit, put the cursor over it and press the\nspace bar, or left click over it. You can also hit the letter you want\nto set: if this value is allowed, the character in the buffer will be\nchanged. Anyway, the point is advanced one position, so, for example,\nyou can keep the <x> key pressed to give execution permissions to\neverybody to that file.\n\nIf `advanced', the bits are freely editable. You can use\n`string-rectangle', `query-replace', etc. You can put any value (even\nnewlines), but if you want your changes to be useful, you better put a\nintelligible value.\n\nThe real change of the permissions is done by the external\nprogram \"chmod\", which must exist." (choice (const :tag "Not allowed" nil) (const :tag "Toggle/set bits" t) (other :tag "Bits freely editable" advanced)) wdired-keep-marker-rename #[0 "\300\207" [t] 1 #1#] "Controls marking of files renamed in WDired.\nIf t, files keep their previous marks when they are renamed.\nIf a character, renamed files (whether previously marked or not)\nare afterward marked with that character.\nThis option affects only files renamed by `wdired-finish-edit'.\nSee `dired-keep-marker-rename' if you want to do the same for files\nrenamed by `dired-do-rename' and `dired-do-rename-regexp'." (choice (const :tag "Keep" t) (character :tag "Mark" :value 82)) :version "24.3" wdired-create-parent-directories #[0 "\300\207" [t] 1 #1#] "If non-nil, create parent directories of destination files.\nIf non-nil, when you rename a file to a destination path within a\nnonexistent directory, wdired will create any parent directories\nnecessary. When nil, attempts to rename a file into a\nnonexistent directory will fail." "26.1"] 8)
#@31 Keymap used in `wdired-mode'.
(defvar wdired-mode-map (byte-code "\300 \301\302\303#\210\301\304\303#\210\301\305\306#\210\301\307\306#\210\301\310\311#\210\301\312\313#\210\301\314\313#\210\301\315\313#\210\301\316\317#\210\301\320\317#\210\301\321\322#\210\301\323\322#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\207" [make-sparse-keymap define-key "" wdired-finish-edit "" "" wdired-abort-changes "" "" wdired-exit "
" undefined "\n" "" [up] wdired-previous-line "" [down] wdired-next-line "" [remap upcase-word] wdired-upcase-word [remap capitalize-word] wdired-capitalize-word [remap downcase-word] wdired-downcase-word [remap self-insert-command] wdired--self-insert] 5) (#$ . 3804))
#@25 Menu for `wdired-mode'.
(defvar wdired-mode-menu nil (#$ . 4558))
(easy-menu-do-define 'wdired-mode-menu wdired-mode-map "Menu for `wdired-mode'." '("WDired" ["Commit Changes" wdired-finish-edit] ["Abort Changes" wdired-abort-changes :help "Abort changes and return to Dired mode"] "---" ["Options" wdired-customize]))
#@41 Hooks run when changing to WDired mode.
(defvar wdired-mode-hook nil (#$ . 4883))
#@711 Writable Dired (WDired) mode.
\<wdired-mode-map>
In WDired mode, you can edit the names of the files in the
buffer, the target of the links, and the permission bits of the
files.
Type \[wdired-finish-edit] to exit WDired mode, returning to
Dired mode, and make your edits "take effect" by modifying the
file and directory names, link targets, and/or file permissions
on disk. If you delete the filename of a file, it is flagged for
deletion in the Dired buffer.
Type \[wdired-abort-changes] to abort your edits and exit WDired mode.
Type \[customize-group] RET wdired to customize WDired behavior.
The only editable texts in a WDired buffer are filenames,
symbolic link targets, and filenames permission.
(defalias 'wdired-mode #[0 "\300\301!\207" [error "This mode can be enabled only by `wdired-change-to-wdired-mode'"] 2 (#$ . 4972) nil])
(put 'wdired-mode 'mode-class 'special)
#@323 Put a Dired buffer in Writable Dired (WDired) mode.
\<wdired-mode-map>
In WDired mode, you can edit the names of the files in the
buffer, the target of the links, and the permission bits of the
files. After typing \[wdired-finish-edit], Emacs modifies the files and
directories to reflect your edits.
See `wdired-mode'.
(defalias 'wdired-change-to-wdired-mode #[0 "\306\307!\204\n \310\311!\210\312\300!\210ed{\312\301!\210\313ed\"\312\302!\210`\314 \210\312\303!\210\315\316\317\320\321B\322\323$\210\324\f!\210\325 \210\323\326+!\210\327\330\331\323\315$\210\327\332\333\323\315$\210\327\334\335\323\315$\210\336,\337-\316\340\341\342B\343\323$\210\344\323!\210\323.\345\346!\210\347\350\351\352!\"\207" [wdired--old-content wdired--old-marks wdired--old-point query-replace-skip-read-only wdired-mode-map buffer-read-only derived-mode-p dired-mode error "Not a Dired buffer" make-local-variable dired-remember-marks wdired--set-permission-bounds t advice--add-function :after-while #[0 "\300\301!\207" [advice--buffer-local isearch-filter-predicate] 2] #[257 "\300\301\"\207" [advice--set-buffer-local isearch-filter-predicate] 4 "\n\n(fn GV--VAL)"] wdired-isearch-filter-read-only nil use-local-map force-mode-line-update dired-unadvertise add-hook kill-buffer-hook wdired-check-kill-buffer before-change-functions wdired--before-change-fn after-change-functions wdired--restore-properties wdired-mode "Editable Dired" :override #[0 "\300\301!\207" [advice--buffer-local revert-buffer-function] 2] #[257 "\300\301\"\207" [advice--set-buffer-local revert-buffer-function] 4 "\n\n(fn GV--VAL)"] wdired-revert set-buffer-modified-p run-mode-hooks wdired-mode-hook message "%s" substitute-command-keys "Press \\[wdired-finish-edit] when finished or \\[wdired-abort-changes] to abort changes" default-directory major-mode mode-name buffer-undo-list] 5 (#$ . 5866) nil])
(defalias 'wdired--set-permission-bounds #[0 "\212eb\210\303\304\305\306$\204 \307\301!\210\304\307\302!\210\304\211\2025 \310\224b\210\307\301!\210\311 T\310\225b\210\307\302!\210\311 \211)\207" [dired-re-perms wdired--perm-beg wdired--perm-end re-search-forward nil t 1 make-local-variable 0 wdired--current-column] 5])
(defalias 'wdired--current-column #[0 "`\300 Z\207" [line-beginning-position] 2])
(defalias 'wdired--point-at-perms-p #[0 "\205\n \302\303 #\207" [wdired--perm-beg wdired--perm-end <= wdired--current-column] 4])
(defalias 'wdired--line-preprocessed-p #[0 "\300\301 \302\"\207" [get-text-property line-beginning-position front-sticky] 3])
(defalias 'wdired--self-insert #[0 "\300 \203 \301\302!\207\303``\"\210\304`\305\"\301\203 \306\307 \"\206 \302!\207" [wdired--line-preprocessed-p call-interactively self-insert-command wdired--before-change-fn get-text-property keymap lookup-key this-command-keys] 5 nil nil])
(put 'wdired--self-insert 'delete-selection 'delete-selection-uses-region-p)
#@16
(fn BEG END)
(defalias 'wdired--before-change-fn #[514 "\304 \305\306\"\216\212\214~\210b\210\307 \262b\210\310y\210`W\203S \311 \204M \312 \313\211\313\305\314\"\216\315``T\316\313$\210\317 \210\203B \320 \210\321\322!\203K \323 \210,\210\324y\210\202 m\205n \312 \313\211\313\305\325\"\216\315dSd\326\313$,\262+\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks wdired-allow-to-change-permissions match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] line-end-position 0 wdired--line-preprocessed-p buffer-modified-p t #[0 "\300?\205 \301\302!\207" [V0 restore-buffer-modified-p nil] 2] put-text-property front-sticky wdired--preprocess-files wdired--preprocess-perms fboundp make-symbolic-link wdired--preprocess-symlinks nil #[0 "\300?\205 \301\302!\207" [V0 restore-buffer-modified-p nil] 2] read-only] 10 (#$ . 8783)])
#@60 Skip matches that have a read-only property.
(fn BEG END)
(defalias 'wdired-isearch-filter-read-only #[514 "\300^]\301\302$?\207" [text-property-not-all read-only nil] 7 (#$ . 9680)])
(defalias 'wdired--preprocess-files #[0 "\212\302\303\304#`\305\306\307\"\211\2038 \310!\311\235\2048 \312 \210\313`S`\314\315BB#\210\316`\317\307$\210\320\307!\210\316``T\321\307$\210\203E \322\323!\203E \306u\210\212\324 \306\307#\205Z \322\325!\205Z \326\327\330 \307#)\205a \330 b\266\203)\207" [dired-actual-switches dired-permission-flags-regexp dired-check-switches "F" "classify" dired-get-filename nil t file-name-nondirectory ("." "..") dired-move-to-filename add-text-properties old-name (rear-nonsticky (read-only)) put-text-property read-only dired-move-to-end-of-filename end-name looking-at "[*/@|=>]$" re-search-backward "l" search-forward " -> " line-end-position] 9])
#@22
(fn FILE UNQUOTEP)
(defalias 'wdired-normalize-filename #[514 "\211\203g \305\306\"\203 \307\310\311\312\313%\262\202 \314!\2039 \315\305\316#\2038 \307\317\311\312\313%\262\315\225S\262\202 \210 \320=\203_ \321 \322\323\"\216\315\305\324#\203\\ \315\224\325I\210\315\225\262\202G \210)\210\326\327\327Q!\262\203} \n\203} \204} \f\204} \330\n\"\262\207" [dired-actual-switches system-type buffer-file-coding-system file-name-coding-system default-file-name-coding-system string-match "\\(?:[^\\]\\|\\`\\)\\(\"\\)" replace-match "\\\"" nil t 1 dired-switches-escape-p 0 "\\(\\\\\\) " "" windows-nt match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] "\\\\" 47 read "\"" encode-coding-string] 9 (#$ . 10566)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put wdired-normalize-filename speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@298 Return the filename at line.
Similar to `dired-get-filename' but it doesn't rely on regexps. It
relies on WDired buffer's properties. Optional arg NO-DIR with value
non-nil means don't include directory. Optional arg OLD with value
non-nil means return old filename.
(fn &optional NO-DIR OLD)
(defalias 'wdired-get-filename #[512 "\306\307\310#\311\211\211\312``\"\210\212\313 \262\314 \210\315`\316\311$\262=\204\2030 \317\316\"\262\202\213 \315\320\311$\262\212\321 \311\322#\205d \323\224b\205d \324\325!\205d \203^ \n\203^ \321\326\313 \322#\202d \327\330\313 \322#)\203o \323\224b\210`\262\203\204 \212b\210\331\332`S\")\203\204 S\262\333T\"\262\211\203\211?\211\203\371 \334\335\"\203\251 \336\337\311\322\340%\262\202\226 \341!\203\313 \323\334\342#\203\312 \336\343\311\322\340%\262\323\225S\262\202\260 \210\344=\203\361 \345 \346\347\"\216\323\334\350#\203\356 \323\224\351I\210\323\225\262\202\331 \210)\210\352\353\353Q!\262\203\f\203
\204/\204\354\f\"\262\266\202\262\204\203+\203'\355!\202:\211\202:\211\205:\211G\323V\205:\356 P)\207" [dired-actual-switches dired-permission-flags-regexp dired-ls-F-marks-symlinks system-type buffer-file-coding-system file-name-coding-system dired-check-switches "F" "classify" nil wdired--before-change-fn line-end-position beginning-of-line next-single-property-change old-name get-text-property end-name re-search-forward t 0 looking-at "l" "@? -> " search-forward " -> " looking-back "[*/@|=>]$" buffer-substring-no-properties string-match "\\(?:[^\\]\\|\\`\\)\\(\"\\)" replace-match "\\\"" 1 dired-switches-escape-p "\\(\\\\\\) " "" windows-nt match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] "\\\\" 47 read "\"" encode-coding-string file-relative-name dired-current-directory default-file-name-coding-system] 15 (#$ . 11489)])
#@32 Change the mode back to dired.
(defalias 'wdired-change-to-dired-mode #[0 "\305=\204\n \306\307!\210\310\311ed\312#\210)\313\314\315!\316\"\211\314\315!=\204&