%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/hexl.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (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] "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" [#1="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" [#2=""] 1 #2#] "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] "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] "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] "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 ((t (:inherit header-line))) "Face used in ASCII area of Hexl mode buffer."] 8) #@34 Maximum offset into hexl buffer. (defvar hexl-max-address 0 (#$ . 2295)) (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\211\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) (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 (#$ . 5298)) (make-variable-buffer-local 'hexl-ascii-overlay) #@41 Font lock keywords used in `hexl-mode'. (defvar hexl-font-lock-keywords '(("^\\([0-9a-f]+:\\).\\{40\\} \\(.+$\\)" (1 'hexl-address-region t t) (2 'hexl-ascii-region t t))) (#$ . 5469)) #@20 (fn STRING BITS) (defalias 'hexl-rulerize #[514 "\211\300\245G\301\302W\203# \211\303\304\211 \\#Q\262\\\262\202 \304\305\"\207" [4 0 "" " " substring 1] 13 (#$ . 5661)]) (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 (#$ . 6078)]) #@3484 \<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: ASCII characters (character between space (0x20) and tilde (0x7E)) are bound to self-insert so you can simply type the character and it will insert itself (actually overstrike) into the buffer. \[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 (if it is between 0 and 0xFF) into the buffer at the current point. \[hexl-insert-octal-char] will insert a given octal value (if it is between 0 and 0377) into the buffer at the current point. \[hexl-insert-decimal-char] will insert a given decimal value (if it is between 0 and 255) into the buffer at the current point. \[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\267 \307 \310`eZm\203 o\204 \211S\262\311>\203? \312\n!\313=\2038 \314e`\"\\\262n\2048 \211S\262\315 \210\316!\210\317 S\320 \245\321_\322\\\3231U \324!0\202Y \210\202Z \210)\266\325 \210\326\f!\210\327\305!\210\330\327\331!\210\332\327\300!\210\306\333\334\335\336\310$\210\327\337!\210\336\327\340!\210\341 \327\342!\210\343\"\333\344\345\336\310$\210\346\347\350\351B\352\336$\210\353\354!\210\355\356\357\"\2103\203\267 \360\313!\210\361\362!\207" [major-mode inhibit-read-only buffer-file-coding-system hexl-max-address hexl-mode-map mode-name hexl-mode buffer-modified-p t (1 nil) coding-system-eol-type 1 count-lines 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" isearch-search-fun-function hexl-isearch-search-function add-hook write-contents-functions hexl-save-buffer nil require-final-newline font-lock-defaults (hexl-font-lock-keywords t) revert-buffer-function hexl-revert-buffer-function change-major-mode-hook hexl-maybe-dehexlify-buffer advice--add-function :before-until #[0 "\300\301!\207" [advice--buffer-local eldoc-documentation-function] 2] #[257 "\300\301\"\207" [advice--set-buffer-local eldoc-documentation-function] 4 "\n\n(fn GV--VAL)"] hexl-print-current-point-info eldoc-add-command-completions "hexl-" eldoc-remove-command "hexl-save-buffer" "hexl-current-address" hexl-follow-ascii-mode run-mode-hooks hexl-mode-hook hexl-follow-ascii] 7 (#$ . 6250) "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 (#$ . 11973) nil]) #@178 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'. (fn FILENAME) (defalias 'hexl-find-file #[257 "\301\300!\302\303\304\305\306!\307\"\310$\216\311\300\312\"\210\313!\210)\210\314=?\205# \314 \207" [major-mode default-value make-byte-code 0 "\301\302\300\"\207" vconcat vector [set-default major-mode] 3 set-default fundamental-mode find-file-literally hexl-mode] 8 (#$ . 12495) (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\312\313 *\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 fundamental-mode hexl-mode] 6 (#$ . 13125)]) #@99 Exit Hexl mode, returning to previous mode. With arg, don't unhexlify buffer. (fn &optional ARG) (defalias 'hexl-mode-exit #[256 "\211\302=\204\n \211\204@ \303 \304\305 T\306 \210\307\310\311\304#\210\312!\210\211b\210\313 !\302=\203: \211\314e`\"Z\262o\204: \211T\262\211b\210)\266\307\315\316\304#\210\317 \207" [inhibit-read-only buffer-file-coding-system 1 buffer-modified-p t hexl-current-address dehexlify-buffer remove-hook write-contents-functions hexl-save-buffer restore-buffer-modified-p coding-system-eol-type count-lines change-major-mode-hook hexl-maybe-dehexlify-buffer major-mode-restore] 8 (#$ . 13475) "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 T\306 \210\307\310\311\304#\210\312!\210\211b)\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] 7 (#$ . 14115)]) #@55 Return current hexl-address. (fn &optional VALIDATE) (defalias 'hexl-current-address #[256 "\301`e\302#\303 \246\304Z\305\305W\203 \203 \306\307!\210\202 \305\262\301`e\302#\303 \245\310_\311 \312ZY\203; \311 \312ZZ\202E \211\313\245T\245Z\314\245\\\262\315\316!\203T \317\320\211#\210\207" [hexl-bits - -1 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 (#$ . 14555) nil]) #@96 Return current hexl-address in string. This function is intended to be used as eldoc callback. (defalias 'hexl-print-current-point-info #[0 "\300 \301\302\211#\207" [hexl-current-address format "Current address is %d/0x%08x"] 5 (#$ . 15082)]) #@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 (#$ . 15332)]) #@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 (#$ . 15497) "nAddress: "]) #@99 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 (#$ . 15735) "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 (#$ . 16031) "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\306\"\262\202 \211\207" [0 "" 16 hexl-hex-char-to-integer string-to-char substring 1] 6 (#$ . 16288) "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\306\"\262\202 \211\207" [0 "" 8 hexl-oct-char-to-integer string-to-char substring 1] 6 (#$ . 16568) "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 (#$ . 16855) "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 (#$ . 17049) "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\232\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 (#$ . 17243) "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 (#$ . 17850) "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\232\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 (#$ . 18021) "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 (#$ . 18626) "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 (#$ . 18795) "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 (#$ . 19055) "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 0] 4 (#$ . 19587) "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 (#$ . 19884) "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 (#$ . 20065) nil]) #@32 Goto end of line in Hexl mode. (defalias 'hexl-end-of-line #[0 "\301\302\303 \304\"\211V\203 \262\211\262!\207" [hexl-max-address hexl-goto-address logior hexl-current-address 15] 4 (#$ . 20220) 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\n \300 S\202 \301!\262\302[!\207" [window-height prefix-numeric-value hexl-scroll-up] 3 (#$ . 20432) "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\n \301 S\202 \302!\262\211\303_\304 \211\\\211V\2034 \303\246\303\246Y\2034 \305\306\"\303\246\\\262\202K \211V\203@ \262\202K \211\307W\203K \303\246\262\211\\U\204W \310\311!\210\312!\210\313\307!\207" [hexl-max-address window-height prefix-numeric-value 16 hexl-current-address logand -16 0 message "Out of hexl region." hexl-goto-address recenter] 7 (#$ . 20679) "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 (#$ . 21277) 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 (#$ . 21459) 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 (#$ . 21647) 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 (#$ . 21835) 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 (#$ . 22030) "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\211\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 (#$ . 22373)]) #@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 (#$ . 22821) 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 (#$ . 23569) nil]) #@44 Return char for ASCII hex digits at point. (defalias 'hexl-char-after-point #[0 "\300`f`Tf\"\207" [hexl-htoi] 3 (#$ . 24114)]) #@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 (#$ . 24247)]) #@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&