403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/view.elc
;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>\312 \210\313\314\203H\315\202I\316\"\210\317\320!\203k\302 \203]\211\302 \232\203k\321\322\203g\323\202h\324\325#\210\210\326 \210\207" [view-mode local-minor-modes current-message toggle 1 nil t boundp delq view--enable view--disable run-hooks view-mode-hook view-mode-on-hook view-mode-off-hook called-interactively-p any message "View mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update] 6 (#$ . 13055) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar view-mode-hook nil)
(byte-code "\301\302N\204\f\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\313\310\211%\207" [view-mode-map view-mode-hook variable-documentation put "Hook run after entering or leaving `view-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode view-mode " View"] 6)
(defalias 'view--enable #[0 "\306\307\310\311\312$\210\311\211\n\312\313\304!\2050\313\304!\205\f\314\315\316 \203+\317\316 !\202-\320 \"\211\207" [view-page-size view-half-page-size buffer-read-only view-old-buffer-read-only Helper-return-blurb view-old-Helper-return-blurb add-hook change-major-mode-hook view--disable nil t boundp format "continue viewing %s" buffer-file-name file-name-nondirectory buffer-name] 6])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias view-mode-enable view-mode nil make-obsolete "24.4"] 4)
#@21 Turn off View mode.
(defalias 'view-mode-disable #[0 "\300\301!\207" [view-mode -1] 2 (#$ . 19889)])
(make-obsolete 'view-mode-disable 'view-mode "24.4")
(defalias 'view--disable #[0 "\305\306\307\310#\210\203\311!\210\312\313!\203\314\313!\210\315\302!\203 	\205'\f\211\207" [view-overlay view-old-Helper-return-blurb Helper-return-blurb buffer-read-only view-old-buffer-read-only remove-hook change-major-mode-hook view--disable t delete-overlay local-variable-p view-read-only kill-local-variable boundp] 4])
#@486 Update `view-return-to-alist' of buffer BUFFER.
Remove from `view-return-to-alist' all entries referencing dead
windows.  Optional argument ITEM non-nil means add ITEM to
`view-return-to-alist' after purging.  For a description of items
that can be added see the RETURN-TO-ALIST argument of the
function `view-mode-exit'.  If `view-return-to-alist' contains an
entry for the selected window, purge that entry from
`view-return-to-alist' before adding ITEM.

(fn BUFFER &optional ITEM)
(defalias 'view-return-to-alist-update #[513 "rq\210\203M\301\211\211\203K@\262@\262\302!\203A\203)\303 =\204/\304!\204A\211\203;\211A\241\210\202DA\202D\262A\262\202\f\266\211\205V\211B\211)\207" [view-return-to-alist nil windowp selected-window window-live-p] 8 (#$ . 20419)])
(make-obsolete 'view-return-to-alist-update "this function has no effect." "24.1")
#@622 Enter View mode and set up exit from view mode depending on optional arguments.
Optional argument QUIT-RESTORE if non-nil must specify a valid
entry for quitting and restoring any window showing the current
buffer.  This entry replaces any parameter installed by
`display-buffer' and is used by `view-mode-exit'.

Optional argument EXIT-ACTION, if non-nil, must specify a
function that takes a buffer as argument.  This function will be
called by `view-mode-exit'.

For a list of all View commands, type H or h while viewing.

This function runs the normal hook `view-mode-hook'.

(fn &optional QUIT-RESTORE EXIT-ACTION)
(defalias 'view-mode-enter #[512 "\203\304\305\211\306#\211\203\211@\307\310#\210A\266\202\202	\210\211\203$\211	?\205<\301\311!\210\n?\205<\205<\312\313\314\315!\"\207" [view-exit-action view-mode view-inhibit-help-message this-command get-buffer-window-list nil t set-window-parameter quit-restore 1 message "%s" substitute-command-keys "View mode: type \\[help-command] for help, \\[describe-mode] for commands, \\[View-quit] to quit."] 8 (#$ . 21306)])
#@767 Exit View mode in various ways.
If all arguments are nil, remove the current buffer from the
selected window using the `quit-restore' information associated
with the selected window.  If optional argument ALL-WINDOWS or
`view-exits-all-viewing-windows' are non-nil, remove the current
buffer from all windows showing it.

Optional argument EXIT-ONLY non-nil means just exit `view-mode'
(unless `view-no-disable-on-exit' is non-nil) but do not change
the associations of any windows with the current buffer.

EXIT-ACTION, if non-nil, must specify a function that is called
with the current buffer as argument and is called after disabling
`view-mode' and removing any associations of windows with the
current buffer.

(fn &optional EXIT-ONLY EXIT-ACTION ALL-WINDOWS)
(defalias 'view-mode-exit #[768 "\205F\303 	\204\300\304!\210?\205D\204\n\2033\305 \211\203/\211@\306\307\"\210A\266\202\202\210\202=\303 p=\203=\306 \210\205D!\262\207" [view-mode view-no-disable-on-exit view-exits-all-viewing-windows window-buffer -1 get-buffer-window-list quit-window nil] 9 (#$ . 22407)])
#@44 Exit View mode but stay in current buffer.
(defalias 'View-exit #[0 "\300\301!\207" [view-mode-exit t] 2 (#$ . 23511) nil])
#@54 Exit View mode and make the current buffer editable.
(defalias 'View-exit-and-edit #[0 "\302\211\303\304!*\207" [view-no-disable-on-exit view-old-buffer-read-only nil view-mode-exit t] 2 (#$ . 23641) nil])
#@70 Quit View mode and maybe switch buffers, but don't kill this buffer.
(defalias 'View-leave #[0 "\300 \207" [view-mode-exit] 1 (#$ . 23855) nil])
#@183 Quit View mode, trying to restore window and buffer to previous state.
Maybe kill this buffer.  Try to restore selected window to previous state
and go to previous buffer or window.
(defalias 'View-quit #[0 "\301\302\"\207" [view-exit-action view-mode-exit nil] 3 (#$ . 24007) nil])
#@199 Quit View mode, trying to restore windows and buffers to previous state.
Maybe kill current buffer.  Try to restore all windows viewing buffer to
previous state and go to previous buffer or window.
(defalias 'View-quit-all #[0 "\301\302\303#\207" [view-exit-action view-mode-exit nil t] 4 (#$ . 24298) nil])
#@68 Quit View mode, kill current buffer and return to previous buffer.
(defalias 'View-kill-and-leave #[0 "\301\302\206\303\304#\207" [view-exit-action view-mode-exit nil kill-buffer t] 4 (#$ . 24613) nil])
(defalias 'view-window-size #[0 "\300\301!\211\203\f\211A@T\207\302 S\207" [window-line-height -1 window-height] 2])
(defalias 'view-recenter #[0 "\300\301!\207" [recenter (1)] 2])
#@105 If LINES is nil, 0, or larger than `view-window-size', return nil.
Otherwise, return LINES.

(fn LINES)
(defalias 'view-page-size-default #[257 "\211\205 \301!\211\262\302U?\205 \303!\303\304 Z!X\205 \303!\207" [next-screen-context-lines prefix-numeric-value 0 abs view-window-size] 5 (#$ . 25008)])
#@47 Get and maybe set half page size.

(fn LINES)
(defalias 'view-set-half-page-size-default #[257 "\211\204
\206$\301 \302\245\207\303!\211\262\304U\203\301 \302\245\202\"\305!\211\207" [view-half-page-size view-window-size 2 prefix-numeric-value 0 view-page-size-default] 3 (#$ . 25322)])
#@162 Move to end (or prefix PERCENT) of buffer in View mode.
Display is centered at point.
Also set the mark at the position where point was.

(fn &optional PERCENT)
(defalias 'View-goto-percent #[256 "\300 \210\211\203e\301deZ\302_\303\304\305!^]_!\\\202db\210\306 \207" [push-mark floor 0.01 0 100 prefix-numeric-value view-recenter] 8 (#$ . 25626) "P"])
#@152 Move to first (or prefix LINE) line in View mode.
Display is centered at LINE.
Also set the mark at the position where point was.

(fn &optional LINE)
(defalias 'View-goto-line #[256 "\300 \210eb\210\211Sy\210\301 \207" [push-mark view-recenter] 2 (#$ . 25991) "p"])
#@222 Return to last mark set in View mode, else beginning of file.
Display that line at the center of the window.
This command pops the mark ring, so that successive
invocations return to earlier marks.

(fn &optional IGNORE)
(defalias 'View-back-to-mark #[256 "\300\301!\206eb\210\302 \210\303 \207" [mark t pop-mark view-recenter] 3 (#$ . 26265) nil])
#@42 

(fn LINES BACKWARD DEFAULT MAXDEFAULT)
(defalias 'view-scroll-lines #[1028 "\203\301!\211\262\302U\203\262\203$\302W\203$?\262[\262\211\2036\2036\303 V\2036\304\262\203>\305!\207\306 \203P\203J\307 \207\310 \210\311 \207\312!\210\306 \205[\311 \207" [view-scroll-auto-exit prefix-numeric-value 0 view-window-size nil scroll-down-command view-really-at-end View-quit ding view-end-message scroll-up-command] 6 (#$ . 26622)])
#@70 Return non-nil if buffer end visible.  Maybe revert buffer and test.
(defalias 'view-really-at-end #[0 "\203m\205X\302d!\205Xp\303 \304 	?\206V\211?\206V\305!\206V\306!?\206V\307!\203M\310!\262\311\312\313\230\203C\314\202G\315P#!?\206V\316\317\211\211#\210\302d!\266\203\207" [scroll-error-top-bottom view-try-extend-at-buffer-end pos-visible-in-window-p buffer-name buffer-file-name verify-visited-file-modtime file-exists-p buffer-modified-p file-name-nondirectory yes-or-no-p format "File %s changed on disk.  Discard your edits%s? " "" " in " revert-buffer t] 9 (#$ . 27085)])
#@36 Tell that we are at end of buffer.
(defalias 'view-end-message #[0 "db\210\301\302\303\"\203\304\305\306\203\307\202\310!\"\207\304\311!\207" [view-scroll-auto-exit window-parameter nil quit-restore message "End of buffer.  Type %s to quit viewing." substitute-command-keys "\\[View-scroll-page-forward]" "\\[View-quit]" "End of buffer"] 4 (#$ . 27696)])
#@74 Scroll backward or forward so that buffer end is at last line of window.
(defalias 'View-scroll-to-buffer-end #[0 "\300d!\205`db\210\301\302!\210\211\205\211b\207" [pos-visible-in-window-p recenter -1] 3 (#$ . 28064) nil])
#@379 Scroll "page size" or prefix LINES lines forward in View mode.
Exit if end of text is visible and `view-scroll-auto-exit' is non-nil.
"page size" is whole window full, or number of lines set by
\[View-scroll-page-forward-set-page-size] or
\[View-scroll-page-backward-set-page-size].
If LINES is more than a window-full, only the last window-full is shown.

(fn &optional LINES)
(defalias 'View-scroll-page-forward #[256 "\301\302\303!\302$\207" [view-page-size view-scroll-lines nil view-page-size-default] 6 (#$ . 28298) "P"])
#@124 Scroll "page size" or prefix LINES lines backward in View mode.
See also `View-scroll-page-forward'.

(fn &optional LINES)
(defalias 'View-scroll-page-backward #[256 "\301\302\303!\304$\207" [view-page-size view-scroll-lines t view-page-size-default nil] 6 (#$ . 28835) "P"])
#@457 Scroll forward LINES lines in View mode, setting the "page size".
This is the number of lines which \[View-scroll-page-forward] and
\[View-scroll-page-backward] scroll by default.
If LINES is omitted or = 0, sets "page size" to window height and
scrolls forward that much, otherwise scrolls forward LINES lines and sets
"page size" to the minimum of window height and the absolute value of LINES.
See also `View-scroll-page-forward'.

(fn &optional LINES)
(defalias 'View-scroll-page-forward-set-page-size #[256 "\301\302\303!\211\302$\207" [view-page-size view-scroll-lines nil view-page-size-default] 6 (#$ . 29120) "P"])
#@148 Scroll backward prefix LINES lines in View mode, setting the "page size".
See also `View-scroll-page-forward-set-page-size'.

(fn &optional LINES)
(defalias 'View-scroll-page-backward-set-page-size #[256 "\301\302\303!\211\304$\207" [view-page-size view-scroll-lines t view-page-size-default nil] 6 (#$ . 29754) "P"])
#@198 Scroll forward one line (or prefix LINES lines) in View mode.
See also `View-scroll-page-forward', but note that scrolling is limited
to minimum of LINES and one window-full.

(fn &optional LINES)
(defalias 'View-scroll-line-forward #[256 "\300\301\302\303$\207" [view-scroll-lines nil 1 t] 6 (#$ . 30082) "P"])
#@123 Scroll backward one line (or prefix LINES lines) in View mode.
See also `View-scroll-line-forward'.

(fn &optional LINES)
(defalias 'View-scroll-line-backward #[256 "\300\301\302\301$\207" [view-scroll-lines t 1] 6 (#$ . 30402) "P"])
#@263 Scroll forward a "half page" (or prefix LINES) lines in View mode.
If LINES is not omitted, the "half page size" is set to the minimum of
window height and the absolute value of LINES.
LINES=0 resets "half page size" to half window height.

(fn &optional LINES)
(defalias 'View-scroll-half-page-forward #[256 "\300\301\302!\303$\207" [view-scroll-lines nil view-set-half-page-size-default t] 6 (#$ . 30644) "P"])
#@133 Scroll backward a "half page" (or prefix LINES) lines in View mode.
See also `View-scroll-half-page-forward'.

(fn &optional LINES)
(defalias 'View-scroll-half-page-backward #[256 "\300\301\302!\301$\207" [view-scroll-lines t view-set-half-page-size-default] 6 (#$ . 31066) "P"])
#@541 Scroll forward, reverting buffer if needed, in View mode.
If buffer has not been changed and the corresponding file is newer, first
revert the buffer, then scroll.
This command is useful if you are viewing a changing file.

The prefix argument LINES says how many lines to scroll.
If you don't specify a prefix argument, it uses the number of lines set by
\[View-scroll-page-forward-set-page-size] or
\[View-scroll-page-backward-set-page-size].
If LINES is more than a window-full, only the last window-full is shown.

(fn &optional LINES)
(defalias 'View-revert-buffer-scroll-page-forward #[256 "\303\304\305\303\306\n!\303$*\207" [view-try-extend-at-buffer-end view-scroll-auto-exit view-page-size nil t view-scroll-lines view-page-size-default] 6 (#$ . 31355) "P"])
#@748 Search forward for first (or prefix Nth) occurrence of REGEXP in View mode.

Displays line found at center of window.  Sets mark at starting position and
pushes mark ring.

Characters @ and ! are special at the beginning of REGEXP.  They modify
the search rather than become part of the pattern searched for.
@ means search all the buffer i.e. start search at the beginning of buffer.
! means search for a line that contains no match for the pattern.
If REGEXP is empty or only consist of these control characters, then
an earlier remembered REGEXP is used, otherwise REGEXP is remembered
for use by later search commands.

The variable `view-highlight-face' controls the face that is used
for highlighting the match that is found.

(fn N REGEXP)
(defalias 'View-search-regexp-forward #[514 "\300\"\207" [view-search] 5 (#$ . 32134) "p\nsSearch forward (regexp): "])
#@743 Search backward for first (or prefix Nth) occurrence of REGEXP in View mode.

Displays line found at center of window.  Sets mark at starting position and
pushes mark ring.

Characters @ and ! are special at the beginning of REGEXP.  They modify
the search rather than become part of the pattern searched for.
@ means search all the buffer i.e. start search at the end of buffer.
! means search for a line that contains no match for the pattern.
If REGEXP is empty or only consist of these control characters, then
an earlier remembered REGEXP is used, otherwise REGEXP is remembered
for use by later search commands.

The variable `view-highlight-face' controls the face that is used
for highlighting the match that is found.

(fn N REGEXP)
(defalias 'View-search-regexp-backward #[514 "\300[\"\207" [view-search] 5 (#$ . 33010) "p\nsSearch backward (regexp): "])
#@292 Search forward for first (or prefix Nth) instance of last regexp in View mode.
Displays line found at center of window.  Sets mark at starting position and
pushes mark ring.

The variable `view-highlight-face' controls the face that is used
for highlighting the match that is found.

(fn N)
(defalias 'View-search-last-regexp-forward #[257 "\300\301\"\207" [view-search nil] 4 (#$ . 33884) "p"])
#@293 Search backward for first (or prefix Nth) instance of last regexp in View mode.
Displays line found at center of window.  Sets mark at starting position and
pushes mark ring.

The variable `view-highlight-face' controls the face that is used
for highlighting the match that is found.

(fn N)
(defalias 'View-search-last-regexp-backward #[257 "\300[\301\"\207" [view-search nil] 4 (#$ . 34288) "p"])
#@21 

(fn TIMES REGEXP)
(defalias 'view-search #[514 "\303\211\211\211\203UG\304V\203U\305!\306>\203G\304\307O\310\235\203,\311\262\311\262\307\262\202:\305!\312=\211\262?\262\313\262\303O\211\262G\304V\203U\203PC\202Q\202\200:\203k@\262?\211\262\204\200\202\200\203|\262\203\200C\202\200\314\315!\210\212\203\225\304W\203\217d\202\220eb\210\202\242\304W\203\237\316\202\240\313y\210\203\257\317\"\202\266\320\303\311	$\203\274`\262)\203\351\321 \210b\210	\203\326\322	\304\224\304\225#\210\202\335\323\304\224\304\225\"\324	\325\n#\210\326 \210\327 \207\330\331\203\365\332\202\366\333$\210\334\335!\207" [view-last-regexp view-overlay view-highlight-face nil 0 string-to-char (33 64) 2 ("!@" "@!") t 64 1 error "No previous View-mode search" -1 view-search-no-match-lines re-search-forward push-mark move-overlay make-overlay overlay-put face beginning-of-line view-recenter message "Can't find occurrence %d of %s%s" "no " "" sit-for 4] 11 (#$ . 34694)])
#@207 Search for the TIMESth occurrence of a line with no match for REGEXP.
If such a line is found, return non-nil and set the match data to that line.
If TIMES is negative, search backwards.

(fn TIMES REGEXP)
(defalias 'view-search-no-match-lines #[514 "\300Y\203\n\301\202[\262\302\300V\2036\211y\300U\2036m\203&\302\262\202\303\304 \305#\204S\262\202\210\300U\205@\306\307!\207" [0 1 -1 re-search-forward line-end-position t looking-at ".*"] 7 (#$ . 35734)])
(provide 'view)

Youez - 2016 - github.com/yon3zu
LinuXploit