29 |
;; a program called hexl, supplied with the GNU Emacs distribution, that |
;; a program called hexl, supplied with the GNU Emacs distribution, that |
30 |
;; can filter a binary into an editable format or from the format back into |
;; can filter a binary into an editable format or from the format back into |
31 |
;; binary. For full instructions, invoke `hexl-mode' on an empty buffer and |
;; binary. For full instructions, invoke `hexl-mode' on an empty buffer and |
32 |
;; do `M-x describe-mode'. |
;; do M-x `describe-mode'. |
33 |
;; |
;; |
34 |
;; This may be useful in your .emacs: |
;; NOTE: Remember to change `hexl-program' or `hexl-options' if needed. |
|
;; |
|
|
;; (autoload 'hexl-find-file "hexl" |
|
|
;; "Edit file FILENAME in hexl-mode." t) |
|
|
;; |
|
|
;; (define-key global-map "\C-c\C-h" 'hexl-find-file) |
|
|
;; |
|
|
;; NOTE: Remember to change HEXL-PROGRAM or HEXL-OPTIONS if needed. |
|
35 |
;; |
;; |
36 |
;; Currently hexl only supports big endian hex output with 16 bit |
;; Currently hexl only supports big endian hex output with 16 bit |
37 |
;; grouping. |
;; grouping. |
65 |
:group 'hexl) |
:group 'hexl) |
66 |
|
|
67 |
(defcustom hexl-options (format "-hex %s" hexl-iso) |
(defcustom hexl-options (format "-hex %s" hexl-iso) |
68 |
"Options to hexl-program that suit your needs." |
"Options to `hexl-program' that suit your needs." |
69 |
:type 'string |
:type 'string |
70 |
:group 'hexl) |
:group 'hexl) |
71 |
|
|