| 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\302\303\304\305\304\306\307\310& \210\311\312\313\314\315DD\316\317\320%\210\311\321\313\314\322DD\323\317\324%\210\311\325\313\314\326DD\327\317\324%\210\311\330\313\314\331DD\332\317\324\333\334&\210\311\335\313\314\336DD\337\317\324%\210\311\340\313\314\341DD\342\317\324\333\343&\207" [custom-declare-group view nil "Peruse file or buffer without editing." :link (function-link view-mode) (custom-manual "(emacs)Misc File Ops") :group text custom-declare-variable view-highlight-face funcall function #[0 "\300\207" [highlight] 1 #1=""] "The face used for highlighting the match found by View mode search." :type face view-scroll-auto-exit #[0 "\300\207" [nil] 1 #1#] "Non-nil means scrolling past the end of buffer exits View mode.\nA value of nil means attempting to scroll past the end of the buffer,\nonly rings the bell and gives a message on how to leave." boolean view-try-extend-at-buffer-end #[0 "\300\207" [nil] 1 #1#] "Non-nil means try to load more of file when reaching end of buffer.\nThis variable is mainly intended to be temporarily set to non-nil by\nthe F command in `view-mode', but you can set it to t if you want the action\nfor all scroll commands in view mode." view-remove-frame-by-deleting #[0 "\300\207" [t] 1 #1#] "Determine how View mode removes a frame no longer needed.\nIf nil, make an icon of the frame. If non-nil, delete the frame." :version "23.1" view-exits-all-viewing-windows #[0 "\300\207" [nil] 1 #1#] "Non-nil means restore all windows used to view buffer.\nCommands that restore windows when finished viewing a buffer,\napply to all windows that display the buffer and have restore\ninformation. If `view-exits-all-viewing-windows' is nil, only\nthe selected window is considered for restoring." view-inhibit-help-message #[0 "\300\207" [nil] 1 #1#] "Non-nil inhibits the help message shown upon entering View mode.\nThis setting takes effect only when View mode is entered via an\ninteractive command; otherwise the help message is not shown." "22.1"] 10) #@148 Non-nil if View mode is enabled. Don't change this variable directly, you must change it by one of the functions that enable or disable view mode. (defvar view-mode nil (#$ . 2114)) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311%\207" [make-variable-buffer-local view-mode custom-declare-variable view-mode-hook funcall function #[0 "\300\207" [nil] 1 ""] "Normal hook run when starting to view a buffer or file." :type hook] 6) (defvar view-old-buffer-read-only nil nil) (make-variable-buffer-local 'view-old-buffer-read-only) (defvar view-old-Helper-return-blurb nil nil) (make-variable-buffer-local 'view-old-Helper-return-blurb) #@97 Default number of lines to scroll by View page commands. If nil that means use the window size. (defvar view-page-size nil (#$ . 2766)) (make-variable-buffer-local 'view-page-size) #@107 Default number of lines to scroll by View half page commands. If nil that means use half the window size. (defvar view-half-page-size nil (#$ . 2954)) (make-variable-buffer-local 'view-half-page-size) (defvar view-last-regexp nil nil) (make-variable-buffer-local 'view-last-regexp) #@361 What to do with used windows and where to go when finished viewing buffer. This is local in each buffer being viewed. It is added to by `view-mode-enter' when starting to view a buffer and subtracted from by `view-mode-exit' when finished viewing the buffer. See RETURN-TO-ALIST argument of function `view-mode-exit' for the format of `view-return-to-alist'. (defvar view-return-to-alist nil (#$ . 3243)) (byte-code "\300\301!\210\302\301\303\304#\210\305\301\306\307#\207" [make-variable-buffer-local view-return-to-alist make-obsolete-variable "this variable is no longer used." "24.1" put permanent-local t] 4) #@308 If non-nil, a function called when finished viewing. The function should take one argument (a buffer). Commands like \[view-file] and \[view-file-other-window] may set this to bury or kill the viewed buffer. Observe that the buffer viewed might not appear in any window at the time this function is called. (defvar view-exit-action nil (#$ . 3865)) (make-variable-buffer-local 'view-exit-action) #@240 If non-nil, View mode "exit" commands don't actually disable View mode. Instead, these commands just switch buffers or windows. This is set in certain buffers by specialized features such as help commands that use View mode automatically. (defvar view-no-disable-on-exit nil (#$ . 4268)) #@114 Overlay used to display where a search operation found its match. This is local in each buffer, once it is used. (defvar view-overlay nil (#$ . 4563)) (make-variable-buffer-local 'view-overlay) (defvar view-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\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#\210\301\344\345#\210\301\346\347#\210\301\350\351#\210\301\352\353#\210\301\354\355#\210\301\356\357#\210\301\360\357#\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\372#\210\301\376\377#\210\301\201@ \201A #\210\301\201B \201C #\210\301\201D \201E #\210\301\201F \201G #\210\301\201H \201G #\210\301\201I \201G #\210\301\201J \201G #\210\301\201K \201G #\210\301\201L \201G #\210\301\201M \201G #\210\301\201N \201G #\210\301\201O \201G #\210\301\201P \201G #\210\301\201Q \201R #\210\301\201S \201R #\210\301\201T \201R #\210\207" [make-sparse-keymap define-key "C" View-kill-and-leave "c" View-leave "Q" View-quit-all "E" View-exit-and-edit "e" View-exit "q" View-quit "p" View-search-last-regexp-backward "n" View-search-last-regexp-forward "\\" View-search-regexp-backward "/" View-search-regexp-forward "r" isearch-backward "s" isearch-forward "m" point-to-register "'" register-to-point "x" exchange-point-and-mark "@" View-back-to-mark "." set-mark-command "%" View-goto-percent "g" View-goto-line "=" what-line "F" View-revert-buffer-scroll-page-forward "y" View-scroll-line-backward "\n" View-scroll-line-forward " " "u" View-scroll-half-page-backward "d" View-scroll-half-page-forward "z" View-scroll-page-forward-set-page-size "w" View-scroll-page-backward-set-page-size "" View-scroll-page-backward " " View-scroll-page-forward [33554464] "o" View-scroll-to-buffer-end ">" end-of-buffer "<" beginning-of-buffer "-" negative-argument "9" digit-argument "8" "7" "6" "5" "4" "3" "2" "1" "0" "H" describe-mode "?" "h"] 5)) #@75 Like `kill-buffer', but does nothing if buffer BUF is modified. (fn BUF) (defalias 'kill-buffer-if-not-modified #[257 "\300!\211\205 \301!?\205 \302!\207" [get-buffer buffer-modified-p kill-buffer] 4 (#$ . 6736)]) #@412 View FILE in View mode, returning to previous buffer when done. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. (fn FILE) (defalias 'view-file #[257 "\300!\204 \301\302\"\210\303!\304!\305?\205 \306\"\207" [file-exists-p error "%s does not exist" get-file-buffer find-file-noselect view-buffer kill-buffer-if-not-modified] 6 (#$ . 6963) "fView file: "]) #@526 View FILE in View mode in another window. When done, return that window to its previous buffer, and kill the buffer visiting FILE if unmodified and if it wasn't visited before. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. (fn FILE) (defalias 'view-file-other-window #[257 "\300!\204 \301\302\"\210\303!\304!\305\306?\205 \307#\207" [file-exists-p error "%s does not exist" get-file-buffer find-file-noselect view-buffer-other-window nil kill-buffer-if-not-modified] 7 (#$ . 7621) "fIn other window view file: "]) #@543 View FILE in View mode in another frame. When done, kill the buffer visiting FILE if unmodified and if it wasn't visited before; also, maybe delete other frame and/or return to previous buffer. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. (fn FILE) (defalias 'view-file-other-frame #[257 "\300!\204 \301\302\"\210\303!\304!\305\306?\205 \307#\207" [file-exists-p error "%s does not exist" get-file-buffer find-file-noselect view-buffer-other-frame nil kill-buffer-if-not-modified] 7 (#$ . 8442) "fIn other frame view file: "]) #@1050 View BUFFER in View mode, returning to previous buffer when done. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. Optional argument EXIT-ACTION is either nil or a function with buffer as argument. This function is called when finished viewing buffer. Use this argument instead of explicitly setting `view-exit-action'. Do not set EXIT-ACTION to `kill-buffer' when BUFFER visits a file: Users may suspend viewing in order to modify the buffer. Exiting View mode will then discard the user's edits. Setting EXIT-ACTION to `kill-buffer-if-not-modified' avoids this. This function does not enable View mode if the buffer's major mode has a `special' mode-class, because such modes usually have their own View-like bindings. (fn BUFFER &optional EXIT-ACTION) (defalias 'view-buffer #[513 "\301!\210\302N\303=\203 \304\305!\207\306\307\"\207" [major-mode switch-to-buffer mode-class special message "Not using View mode because the major mode is special" view-mode-enter nil] 5 (#$ . 9278) "bView buffer: "]) #@835 View BUFFER in View mode in another window. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. Optional argument NOT-RETURN is ignored. Optional argument EXIT-ACTION is either nil or a function with buffer as argument. This function is called when finished viewing buffer. Use this argument instead of explicitly setting `view-exit-action'. This function does not enable View mode if the buffer's major mode has a `special' mode-class, because such modes usually have their own View-like bindings. (fn BUFFER &optional NOT-RETURN EXIT-ACTION) (defalias 'view-buffer-other-window #[769 "\302\303\302\"\210) \304N\305=\203 \306\307!\207\310\311\"\207" [pop-up-windows major-mode t pop-to-buffer mode-class special message "Not using View mode because the major mode is special" view-mode-enter nil] 6 (#$ . 10587) "bIn other window view buffer:\nP"]) #@834 View BUFFER in View mode in another frame. Emacs commands editing the buffer contents are not available; instead, a special set of commands (mostly letters and punctuation) are defined for moving around in the buffer. Space scrolls forward, Delete scrolls backward. For a list of all View commands, type H or h while viewing. This command runs the normal hook `view-mode-hook'. Optional argument NOT-RETURN is ignored. Optional argument EXIT-ACTION is either nil or a function with buffer as argument. This function is called when finished viewing buffer. Use this argument instead of explicitly setting `view-exit-action'. This function does not enable View mode if the buffer's major mode has a `special' mode-class, because such modes usually have their own View-like bindings. (fn BUFFER &optional NOT-RETURN EXIT-ACTION) (defalias 'view-buffer-other-frame #[769 "\302\303\302\"\210) \304N\305=\203 \306\307!\207\310\311\"\207" [pop-up-frames major-mode t pop-to-buffer mode-class special message "Not using View mode because the major mode is special" view-mode-enter nil] 6 (#$ . 11738) "bView buffer in other frame: \nP"]) #@87 Non-nil if View mode is enabled. Use the command `view-mode' to change this variable. (defvar view-mode nil (#$ . 12885)) (make-variable-buffer-local 'view-mode) #@5134 Toggle View mode, a minor mode for viewing text but not editing it. This is a minor mode. If called interactively, toggle the `View mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. If called from Lisp, toggle the mode if ARG is `toggle'. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, evaluate `view-mode'. The mode's hook is called both when the mode is enabled and when it is disabled. When View mode is enabled, commands that do not change the buffer contents are available as usual. Kill commands save text but do not delete it from the buffer. Most other commands beep and tell the user that the buffer is read-only. \<view-mode-map> The following additional commands are provided. Most commands take prefix arguments. Page commands default to "page size" lines which is almost a whole window, or number of lines set by \[View-scroll-page-forward-set-page-size] or \[View-scroll-page-backward-set-page-size]. Half page commands default to and set "half page size" lines which initially is half a window full. Search commands default to a repeat count of one. H, h, ? This message. Digits provide prefix arguments. \[negative-argument] negative prefix argument. \[beginning-of-buffer] move to the beginning of buffer. > move to the end of buffer. \[View-scroll-to-buffer-end] scroll so that buffer end is at last line of window. SPC scroll forward "page size" lines. With prefix scroll forward prefix lines. DEL, S-SPC scroll backward "page size" lines. With prefix scroll backward prefix lines. \[View-scroll-page-forward-set-page-size] like \[View-scroll-page-forward] but with prefix sets "page size" to prefix. \[View-scroll-page-backward-set-page-size] like \[View-scroll-page-backward] but with prefix sets "page size" to prefix. \[View-scroll-half-page-forward] scroll forward "half page size" lines. With prefix, sets "half page size" to prefix lines and scrolls forward that much. \[View-scroll-half-page-backward] scroll backward "half page size" lines. With prefix, sets "half page size" to prefix lines and scrolls backward that much. RET, LFD scroll forward one line. With prefix scroll forward prefix line(s). y scroll backward one line. With prefix scroll backward prefix line(s). \[View-revert-buffer-scroll-page-forward] revert-buffer if necessary and scroll forward. Use this to view a changing file. \[what-line] prints the current line number. \[View-goto-percent] goes prefix argument (default 100) percent into buffer. \[View-goto-line] goes to line given by prefix argument (default first line). . set the mark. x exchanges point and mark. \[View-back-to-mark] return to mark and pops mark ring. Mark ring is pushed at start of every successful search and when jump to line occurs. The mark is set on jump to buffer start or end. \[point-to-register] save current position in character register. \=' go to position saved in character register. s do forward incremental search. r do reverse incremental search. \[View-search-regexp-forward] searches forward for regular expression, starting after current page. ! and @ have a special meaning at the beginning of the regexp. ! means search for a line with no match for regexp. @ means start search at beginning (end for backward search) of buffer. \ searches backward for regular expression, starting before current page. \[View-search-last-regexp-forward] searches forward for last regular expression. p searches backward for last regular expression. \[View-quit] quit View mode, restoring this window and buffer to previous state. \[View-quit] is the normal way to leave view mode. \[View-exit] exit View mode but stay in current buffer. Use this if you started viewing a buffer (file) and find out you want to edit it. This command restores the previous read-only status of the buffer. \[View-exit-and-edit] exit View mode, and make the current buffer editable even if it was not editable before entry to View mode. \[View-quit-all] quit View mode, restoring all windows to previous state. \[View-leave] quit View mode and maybe switch buffers, but don't kill this buffer. \[View-kill-and-leave] quit View mode, kill current buffer and go back to other buffer. The effect of \[View-leave], \[View-quit] and \[View-kill-and-leave] depends on how view-mode was entered. If it was entered by view-file, view-file-other-window, view-file-other-frame, or \[dired-view-file] (\[view-file], \[view-file-other-window], \[view-file-other-frame], or the Dired mode v command), then \[View-quit] will try to kill the current buffer. If view-mode was entered from another buffer, by \[view-buffer], \[view-buffer-other-window], \[view-buffer-other frame], \[view-file], \[view-file-other-window], or \[view-file-other-frame], then \[View-leave], \[View-quit] and \[View-kill-and-leave] will return to that buffer. Entry to view-mode runs the normal hook `view-mode-hook'. (fn &optional ARG) (defalias 'view-mode #[256 "\302 \303=\203 ?\202 \247\203 \304W\203 \305\202 \306\307\301!\2031 \310\300 \"\2031 \300 B\203; \311 \210\202>