summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
Commit message (Collapse)AuthorAgeFilesLines
* In doc, use standard American English style for e.g., etc., i.e.Paul Eggert2013-02-121-2/+2
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+2
|
* Replace version 24.2 with 24.3 where appropriate (hopefully)Glenn Morris2012-08-151-1/+1
|
* More CL cleanups and reduction of use of cl.el.Stefan Monnier2012-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el: * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el: * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el: * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el: * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el: * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el: * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el: * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el: * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el: * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el: * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el: * eshell/em-cmpl.el, eshell/em-banner.el: * url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el: * url/url-future.el, url/url-dav.el, url/url-cookie.el: * calendar/parse-time.el, test/eshell.el: Use cl-lib. * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el: * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el: * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el: * term/ns-win.el, term.el, shell.el, ps-samp.el: * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el: * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el: * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el: * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el: * net/ldap.el, net/eudc.el, net/browse-url.el, man.el: * mail/mailheader.el, mail/feedmail.el: * url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el: * url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el: Dont use CL. * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time. * eshell/esh-opt.el (eshell-eval-using-options): Quote code with `lambda' rather than with `quote'. (eshell-do-opt): Adjust accordingly. (eshell-process-option): Simplify. * eshell/esh-var.el: * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options. * emacs-pcase.el (pcase--dontcare-upats, pcase--let*) (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern to `pcase--dontcare'. * emacs-cl.el (labels): Mark obsolete. (cl--letf, letf): Move to cl-lib. (cl--letf*, letf*): Remove. * emacs-cl-lib.el (cl-nth-value): Use defalias. * emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule. (cl-progv): Rewrite. (cl--letf, cl-letf): Move from cl.el. (cl-letf*): New macro. * emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
* Reduce use of (require 'cl).Stefan Monnier2012-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * admin/bzrmerge.el: Use cl-lib. * leim/quail/hangul.el: Don't require CL. * leim/quail/ipa.el: Use cl-lib. * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: * international/quail.el, info-xref.el, imenu.el, image-mode.el: * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: * battery.el, avoid.el, abbrev.el: Use cl-lib. * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: * calculator.el, autorevert.el, apropos.el: Don't require CL. * emacs-bytecomp.el (byte-recompile-directory, display-call-tree) (byte-compile-unfold-bcf, byte-compile-check-variable): * emacs-byte-opt.el (byte-compile-trueconstp) (byte-compile-nilconstp): * emacs-autoload.el (make-autoload): Use pcase. * face-remap.el (text-scale-adjust): Simplify pcase patterns.
* * lisp/isearch.el (isearch-search-fun-default): New function.Juri Linkov2012-05-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (isearch-search-fun): Move default part to the new function `isearch-search-fun-default'. (isearch-search-fun-function): Set the default value to `isearch-search-fun-default'. * lisp/comint.el (comint-history-isearch-end): Use `isearch-search-fun-default'. (comint-history-isearch-search): Use `isearch-search-fun-default' and remove spacial case for `isearch-word'. (comint-history-isearch-wrap): Remove spacial case for `isearch-word'. * lisp/hexl.el (hexl-isearch-search-function): Use `isearch-search-fun-default'. * lisp/info.el (Info-isearch-search): Use `isearch-search-fun-default'. Use `word-search-regexp' for `isearch-word'. * lisp/misearch.el (multi-isearch-search-fun): Use `isearch-search-fun-default'. * lisp/simple.el (minibuffer-history-isearch-search): Use `isearch-search-fun-default' and remove spacial case for `isearch-word'. (minibuffer-history-isearch-wrap): Remove spacial case for `isearch-word'. * lisp/textmodes/reftex-global.el (reftex-isearch-wrap-function): Remove spacial case for `isearch-word'. (reftex-isearch-isearch-search): Use `isearch-search-fun-default'. Fixes: debbugs:11381
* Spelling fixes.Paul Eggert2012-04-131-2/+2
| | | | | * lisp/hexl.el (hexl-rulerize): Rename from hexl-rulerise, since Emacs uses American spelling.
* * hexl.el (hexl-insert-char): Make display sizes other than 16 work.Vivek Dasmohapatra2012-04-141-5/+1
|
* New defcustoms should get :version tagsGlenn Morris2012-04-121-1/+2
|
* Allow the user to alter the bit grouping in hexl.elVivek Dasmohapatra2012-04-121-25/+80
| | | | | | | | | | | | | | | * hexl.el (hexl-bits): New variable. (hexl-options): Mention the variable in the doc string. (hexl-rulerise): New function. (hexl-line-displen): New function (hexl-mode): Mention the new variable. (hexl-mode, hexl-current-address, hexl-current-address): Use the displen. (hexl-ascii-start-column): New function. (hexl-address-to-marker, hexl-beginning-of-line, hexl-options) (hexl-insert-char, hexl-mode-ruler): Use the displen. Fixes: debbugs:4941
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert some .el files to lexical scoping.Juanma Barranquero2011-04-041-4/+4
| | | | | | | | | | | | | | | | * bs.el (bs-refresh, bs-sort-buffer-interns-are-last) (bs--get-marked-string, bs--get-modified-string) (bs--get-readonly-string, bs--get-size-string, bs--get-name) (bs--get-mode-name, bs--get-file-name): Mark unused arguments. (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG. * ehelp.el (electric-help-execute-extended) (electric-help-ctrl-x-prefix): * hexl.el (hexl-revert-buffer-function): * linum.el (linum-after-change, linum-after-scroll): * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments. * help-fns.el (help-describe-category-set): Remove unused ERR variable.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* * lisp/hexl.el (hexl-mode-old-*): Remove.Stefan Monnier2011-01-141-142/+96
| | | | | | | | | | | | (hexl-mode--old-var-vals): New var to replace them. (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs. (hexl-mode, hexl-follow-line, hexl-activate-ruler): Use them to set local vars. (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state. (hexl-backward-short, hexl-backward-word, hexl-scroll-down) (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify. Fixes: debbugs:7846
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Tweak revert-buffer-function to inhibit auto-mode-alist.Daiki Ueno2010-10-211-12/+22
| | | | | | | | | | | | | | * hexl.el (hexl-mode, hexl-mode-exit): Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252). (hexl-revert-buffer-function): New function. (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
* | Declare and define in one step various mode maps.Dan Nicolaescu2010-10-101-95/+93
|/ | | | | | | | | | | | | | | | | | | | | | | | | * lisp/shell.el (shell-mode-map): * lisp/progmodes/modula2.el (m2-mode-map): * lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map): * lisp/play/mpuz.el (mpuz-mode-map): * lisp/play/landmark.el (lm-mode-map): * lisp/play/decipher.el (decipher-mode-map): * lisp/play/5x5.el (5x5-mode-map): * lisp/net/telnet.el (telnet-mode-map): * lisp/net/quickurl.el (quickurl-list-mode-map): * lisp/net/mairix.el (mairix-searches-mode-map): * lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map): * lisp/net/dig.el (dig-mode-map): * lisp/mail/mspools.el (mspools-mode-map): * lisp/hexl.el (hexl-mode-map): * lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map) (wordstar-C-o-map, wordstar-C-q-map): * lisp/emacs-lisp/edebug.el (edebug-eval-mode-map): * lisp/emacs-lisp/chart.el (chart-map): * lisp/edmacro.el (edmacro-mode-map): * lisp/array.el (array-mode-map): Declare and define in one step. * lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
* 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
|