%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/share/emacs/27.2/lisp/
Upload File :
Create Path :
Current File : //usr/local/share/emacs/27.2/lisp/chistory.elc

;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; 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.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(custom-declare-group 'chistory nil "List command history." :group 'keyboard)
#@317 Edit and re-evaluate complex command with name matching PATTERN.
Matching occurrences are displayed, most recent first, until you select
a form for evaluation.  If PATTERN is empty (or nil), every form in the
command history is offered.  The form is placed in the minibuffer for
editing and the result is evaluated.
(defalias 'repeat-matching-complex-command #[(&optional pattern) "\203\305\306\"\203\307\310\224\"\202\311	\311\211\f\203K\n\204K\f@\2035\305\312@!\"\203D\313\314\315\"!\203D\f@\202\fA\211\204 \n\204U\316\317!\202d	@@\320=\203`	A\321\322\n\"+\207" [pattern command-history what temp history string-match "[^ 	]" substring 0 nil symbol-name y-or-n-p format "Redo %S? " error "Command history exhausted" repeat-matching-complex-command edit-and-eval-command "Redo: "] 5 (#$ . 487) "sRedo Command (regexp): "])
#@299 A list of symbols to be ignored by `default-command-history-filter'.
If that function is given a list whose car is an element of this list,
then it will return non-nil (indicating the list should be discarded from
the history).
Initially, all commands related to the command history are discarded.
(custom-declare-variable 'default-command-history-filter-garbage ''(command-history-mode list-command-history electric-command-history) '(#$ . 1351) :type '(repeat symbol) :group 'chistory)
#@404 Predicate to test which commands should be excluded from the history listing.
If non-nil, should be the name of a function of one argument.
It is passed each element of the command history when
\[list-command-history] is called.  If the filter returns non-nil for
some element, that element is excluded from the history listing.  The
default filter removes commands associated with the command-history.
(defvar list-command-history-filter 'default-command-history-filter (#$ . 1846))
#@98 Filter commands matching `default-command-history-filter-garbage' list
from the command history.
(defalias 'default-command-history-filter #[(frob) ":?\206\n@	>\207" [frob default-command-history-filter-garbage] 2 (#$ . 2336)])
#@79 If non-nil, maximum length of the listing produced by `list-command-history'.
(custom-declare-variable 'list-command-history-max 32 '(#$ . 2573) :type '(choice integer (const nil)) :group 'chistory)
#@313 List history of commands that used the minibuffer.
The number of commands listed is controlled by `list-command-history-max'.
Calls value of `list-command-history-filter' (if non-nil) on each history
element to judge if that element should be excluded from the list.

The buffer is left in Command History mode.
(defalias 'list-command-history #[nil "r\306\307!q\210p\310 \210	\311\211\312\211\312\313 \210\314\315!\210+\211\311\206/\316\317U\204j\203j\320\321!\203T\203T@!\204bS\322@!\210\323 \210A\2024+r\307q\210eb\210m\203|\324\325!\202~\326 )\327!\210+\207" [default-directory #1=#:old-dir buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks get-buffer-create "*Command History*" kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook -1 0 boundp list-command-history-filter prin1 terpri error "No command history" command-history-mode internal-temp-output-buffer-show inhibit-read-only #2=#:buf standard-output command-history list-command-history-max count history] 4 (#$ . 2779) nil])
(byte-code "\302\303\304\305#\210\306\305\211\203,	@\303N\203%\304N\204%\307\304\303N#\210	A\211\204*\310\303\304\311#\207" [prop --dolist-tail-- defvaralias command-history-map command-history-mode-map nil (saved-value saved-variable-comment) put make-obsolete-variable "24.1"] 6)
#@36 Keymap for `command-history-mode'.
(defvar command-history-mode-map (byte-code "\303 \304\305	\n\"\"\210\306\307\310#\210\306\311\312#\210\306\313\312#\210\306\314\315#\210)\207" [map lisp-mode-shared-map special-mode-map make-sparse-keymap set-keymap-parent make-composed-keymap define-key "x" command-history-repeat "\n" next-line "
" "" previous-line] 5) (#$ . 4174))
(defvar command-history-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [command-history-mode-hook variable-documentation put "Hook run after entering Command History mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp command-history-mode-map definition-name command-history-mode] 4)
(defvar command-history-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [command-history-mode-abbrev-table command-history-mode-map variable-documentation put purecopy "Keymap for `command-history-mode'." boundp command-history-mode-syntax-table definition-name command-history-mode (lambda (#1=#:def-tmp-var) (defvar command-history-mode-syntax-table #1#)) make-syntax-table "Syntax table for `command-history-mode'." (lambda (#1#) (defvar command-history-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `command-history-mode'." derived-mode-parent special-mode] 5)
#@279 Major mode for listing and repeating recent commands.

Keybindings:
\{command-history-mode-map}

In addition to any hooks its parent mode `special-mode' might have run,
this mode runs the hook `command-history-mode-hook', as the final or penultimate step
during initialization.
(defalias 'command-history-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2036
\321 =\203<\322\f\323 \"\210)\324\325\"\204V =\204V\326\325 C#\210\327!\210\330\f!\210 \331\332!\210\306\333!\210\334\330!!\210)\335\336!\207" [delay-mode-hooks major-mode mode-name command-history-mode-map command-history-mode-syntax-table parent make-local-variable t special-mode command-history-mode "Command History" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table lisp-mode-variables nil revert-buffer-function command-history-revert run-mode-hooks command-history-mode-hook command-history-mode-abbrev-table local-abbrev-table emacs-lisp-mode-syntax-table] 6 (#$ . 5836) nil])
#@69 If non-nil, its value is called on entry to `command-history-mode'.
(custom-declare-variable 'command-history-hook nil '(#$ . 7052) :type 'hook :group 'chistory)
(defalias 'command-history-revert #[(_ignore-auto _noconfirm) "\300 \207" [list-command-history] 1])
#@107 Repeat the command shown on the current line.
The buffer for that command is the previous current buffer.
(defalias 'command-history-repeat #[nil "\212\300\212\301 \210\302p!)\303 A@q\210!)\207" [eval beginning-of-line read buffer-list] 3 (#$ . 7322) nil])
#@568 Examine commands from `command-history' in a buffer.
The number of commands listed is controlled by `list-command-history-max'.
The command history is filtered by `list-command-history-filter' if non-nil.
Use \<command-history-map>\[command-history-repeat] to repeat the command on the current line.

Otherwise much like Emacs-Lisp Mode except that there is no self-insertion
and digits provide prefix arguments.  Tab does not indent.
\{command-history-map}

This command always recompiles the Command History listing
and runs the normal hook `command-history-hook'.
(defalias 'command-history #[nil "\300 \210\301\302!\210\303\304!\207" [list-command-history pop-to-buffer "*Command History*" run-hooks command-history-hook] 2 (#$ . 7586) nil])
(provide 'chistory)

Zerion Mini Shell 1.0