summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug#5313: editing files in hexl-mode corrupts fileJuanma Barranquero2010-01-141-3/+3
| | | | | * hexl.el (hexl-printable-character): Fix check of `hexl-iso', which is always a string.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-1/+1
|
* * gnus/nnheader.el (nnheader-find-file-noselect):Stefan Monnier2009-08-281-2/+3
| | | | | | | | | | | | | | | | | | * gnus/mm-util.el (mm-insert-file-contents): * org/org-html.el (org-export-as-html): * org/org-docbook.el (org-export-as-docbook): * textmodes/reftex.el (reftex-get-file-buffer-force): * progmodes/verilog-mode.el (verilog-batch-execute-func): * emulation/viper.el (viper-go-away, viper-set-hooks): * emacs-lisp/re-builder.el (re-builder-unload-function): * emacs-lisp/bytecomp.el (byte-compile-file): * ses.el (ses-unload-function): * hexl.el (hexl-find-file): * files.el (normal-mode): * ehelp.el (with-electric-help): * autoinsert.el (auto-insert-alist): * arc-mode.el (archive-mode): Use (default-value 'major-mode) instead of default-major-mode.
* * mh-e/mh-comp.el (mh-send-letter):Stefan Monnier2009-08-281-1/+1
| | | | | | | | | | | | | | * mail/sendmail.el (mail-recover-1): * international/mule-diag.el (describe-current-coding-system-briefly) (describe-current-coding-system): * international/mule-cmds.el (select-safe-coding-system) (select-message-coding-system) (set-language-environment-coding-systems, set-locale-environment): * hexl.el (hexl-insert-multibyte-char): * dos-w32.el (find-buffer-file-type-coding-system): * simple.el (what-cursor-position): Replace uses of default-buffer-file-coding-system with (default-value 'buffer-file-coding-system).
* Replace last-command-char with last-command-event.Glenn Morris2009-01-091-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (hexl-mode): Stash `eldoc-documentation-function' inJohn Paul Wallington2008-04-261-0/+9
| | | | | | `hexl-mode-old-eldoc-documentation-function'. (hexl-mode-exit): Restore it. (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
* (hexl-mode): Don't make `font-lock-defaults' buffer-local;Juanma Barranquero2008-02-121-1/+0
| | | | it is already automatically buffer-local.
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* * hexl.el (hexl-menu): New major mode menu.Dan Nicolaescu2007-10-211-1/+38
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (hexl-mode-exit): Add missing quote.Juanma Barranquero2007-01-221-3/+3
|
* (hexl-before-revert-hook): New function.Chong Yidong2007-01-181-3/+6
| | | | | | (hexl-mode): Use it. (hexl-after-revert-hook): Just call hexl-mode. (hexl-mode-exit): Remove before-revert-hook.
* (hexlify-buffer, dehexlify-buffer): Don't complain and don'tStefan Monnier2007-01-111-7/+7
| | | | | activate undo when undo is not active. Reported by Chris <christopher.ian.moore@gmail.com>.
* (hexl-goto-address, hexl-forward-char, hexl-forward-short, hexl-forward-word,Juanma Barranquero2006-11-301-10/+10
| | | | | | hexl-previous-line, hexl-beginning-of-1k-page, hexl-end-of-1k-page): Doc fixes. (hexl-address-region, hexl-ascii-region, hexl-highlight-line-range): Fix typos in docstrings.
* (hl-line-range-function, hl-line-face): Declare variables to avoid bytecomp ↵Masatake YAMATO2006-11-301-16/+27
| | | | | | | | | | | warnings. (hexl-mode-old-ruler-function): New variable. (hexl-follow-line): Bind `hexl-mode-old-hl-line-range-function' and `hl-line-range-function' after `require' hl-line. Then bind `hl-line-range-function' and `hl-line-face'. Don't require frame. Don't use `with-no-warnings'. (hexl-activate-ruler): Store the original value of `ruler-mode-ruler-function' to `hexl-mode-old-ruler-function'. (hexl-mode-exit): Restore the original value of `ruler-mode-ruler-function'.
* (hexl-mode-old-hl-line-range-function): New variableMasatake YAMATO2006-11-301-0/+11
| | | | | (hexl-mode-old-hl-line-face): New variable (hexl-mode, hexl-mode-exit): Fix the highlighting of the current line when exit from the hexl-mode.
* (hexl-mode): Don't try to guess the max-address: get it from the horse's mouth.Stefan Monnier2006-11-231-16/+14
| | | | (hexlify-buffer): Don't re-encode an arg that's already encoded.
* (hexl-mode): Fix typo in docstring.Juanma Barranquero2006-11-061-1/+1
|
* (hexl-find-file): Doc fix.Eli Zaretskii2006-07-081-2/+3
|
* (hexlify-buffer): Encode process arguments manually.Stefan Monnier2006-05-151-1/+6
|
* (hexl-isearch-search-function): Fix regexp-building code toStefan Monnier2006-04-111-34/+40
| | | | | | | quote special chars, and make the trick work on the hex part of the buffer as well. (hexl-mode, hexl-save-buffer, hexl-mode-exit) (hexl-maybe-dehexlify-buffer): Use restore-buffer-modified-p.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* * hexl.el (hexl-print-current-point-info): Fix simple spelling error.Masatake YAMATO2005-08-231-1/+1
|
* (hexl-address-region):Masatake YAMATO2005-08-101-5/+5
| | | | | | | (hexl-ascii-region, hexl-font-lock-keywords): (hexl-highlight-line-range): Use the term "region" instead of "area" for consistency with the other symbols defined in hexl.el.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* (hexl-mode-map): Recognize also `ehelp-command' as a valid binding forJuanma Barranquero2005-07-151-4/+5
| | | | `help-char'.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Add binding of `ESC functionkey' for every `M-functionkey'.Andreas Schwab2005-06-111-0/+2
|
* (hexl-mode): Use run-mode-hooks.Lute Kamstra2005-05-261-1/+1
|
* (hexl-follow-line): Use with-no-warnings.Richard M. Stallman2005-05-221-4/+5
|
* Replace `string-to-int' by `string-to-number'.Juanma Barranquero2005-05-161-1/+1
|
* (hexl-mode): Use new name eldoc-documentation-function.Richard M. Stallman2005-04-261-1/+1
|
* * hexl.el (hexlify-buffer): Remove fontification here.Masatake YAMATO2004-12-271-9/+14
| | | | | | | | Use font lock mechanism instead. (hexl-font-lock-keywords): New font lock kewords. (hexl-mode-old-font-lock-keywords): New variable. (hexl-mode): Store the old font lock keywords. (hexl-mode-exit): Restore the old font lock keywords.
* (hexl-mode-old-hl-line-mode, hexl-mode-old-ruler-mode): New variables.Richard M. Stallman2004-11-211-0/+18
| | | | | (hexl-mode): Set those variables, record ruler-mode and hl-line-mode. (hexl-mode-exit): Restore status of ruler-mode and hl-line-mode.
* (hexl-mode): Catch errors in hexl-goto-address.Richard M. Stallman2004-06-131-2/+4
|
* (hexl-follow-line): Don't require 'fringe.Kim F. Storm2004-03-191-1/+0
|
* (hexl-mode-ruler): Adapt to new :align-to semantics.Kim F. Storm2004-03-191-15/+7
|
* 2004-03-15 Masatake YAMATO <jet@gyve.org>Masatake YAMATO2004-03-151-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hl-line.el (hl-line-range-function): New variable. (hl-line-move): New function. (global-hl-line-highlight): Use `hl-line-move'. (hl-line-highlight): Ditto. * scroll-bar.el (scroll-bar-columns): New function derived from ruler-mode.el. * fringe.el (fringe-columns): New function derived from ruler-mode.el. * ruler-mode.el (top-level): Require scroll-bar and fringe. (ruler-mode-left-fringe-cols) (ruler-mode-right-fringe-cols): Use `fringe-columns'. (ruler-mode-right-scroll-bar-cols) (ruler-mode-left-scroll-bar-cols): Use `scroll-bar-columns'. (ruler-mode-ruler-function): New variable. (ruler-mode-header-line-format): Call `ruler-mode-ruler-function' if the value for `ruler-mode-ruler-function'is given. * hexl.el (hexl-mode-hook): Make the hook customizable. (hexl-address-area, hexl-ascii-area, hexl-ascii-cursor): New customize variables. (hexlify-buffer): Put font-lock-faces on the address area and the ascii area. (hexl-activate-ruler): New function. (hexl-follow-line): New function. (hexl-highlight-line-range): New function. (hexl-mode-ruler): New function.
* 2004-03-09 Masatake YAMATO <jet@gyve.org>Masatake YAMATO2004-03-091-1/+1
| | | | | * hexl.el (hexl-mode): Use `make-local-variable' instead of `make-variable-buffer-local'.
* (hexl-mode): Set `hexl-print-current-point-info' as the callback function ↵Masatake YAMATO2004-03-041-1/+16
| | | | | | | for eldoc. (hexl-print-current-point-info): New function. (hexl-current-address): print the address in both decimal and hexadecimal format.
* (hexl-insert-char): Add missing format string argument.Andreas Schwab2004-02-081-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (hexl-find-file): Bind `default-major-mode' to `fundamental-mode'.John Paul Wallington2003-04-171-1/+1
|
* (hexl-find-file): Ignore user's value of default-major-mode.Richard M. Stallman2003-04-031-1/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-3/+3
|
* (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.John Paul Wallington2003-02-021-0/+1
|
* (hexl-mode-map): Don't quote remapped command names.Kim F. Storm2003-01-131-1/+1
|