1. 30 Oct, 2013 1 commit
  2. 19 Sep, 2013 2 commits
    • Stefan Monnier's avatar
      * lisp/eshell/em-ls.el: Use advice. Remove redundant :group keywords. · c39cc7d1
      Stefan Monnier authored
      (eshell-ls-orig-insert-directory): Remove.
      (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
      (eshell-ls-use-in-dired): Use advice-add/remove.
      (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
      Add `orig-fun' arg for use in :around advice.
      Make it check (redundantly) eshell-ls-use-in-dired.
      c39cc7d1
    • Glenn Morris's avatar
      Address some "unused lexical argument" warnings in eshell · ce503312
      Glenn Morris authored
      * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
      Fix (f)boundp mix-up.
      
      * eshell/em-smart.el (eshell-smart-scroll-window)
      (eshell-disable-after-change):
      * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
      ce503312
  3. 12 Sep, 2013 2 commits
    • Stefan Monnier's avatar
      * lisp/eshell/*.el: Use lexical-binding. · ae5e4c48
      Stefan Monnier authored
      * test/automated/eshell.el: Move from test/eshell.el.
      (eshell-test/for-loop, eshell-test/for-name-loop): New tests.
      
      Fixes: debbugs:15231
      ae5e4c48
    • Stefan Monnier's avatar
      Cleanup Eshell to rely less on dynamic scoping. · 170266d0
      Stefan Monnier authored
      * lisp/eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
      last-value, and ext-command here.  Bind `args' closer to `body'.
      (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
      (eshell--args): Declare new dynamic var.
      (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
      last-value, and ext-command.  Pass `args' to `body'.
      (eshell-process-args): Bind eshell--args.
      (eshell-set-option): Use eshell--args.
      * lisp/eshell/eshell.el (eshell): Use derived-mode-p.
      * lisp/eshell/esh-var.el (eshell-parse-variable): Use backquote.
      (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
      (eshell-glob-function): Declare.
      * lisp/eshell/esh-util.el: Require cl-lib.
      (eshell-read-hosts-file): Avoid add-to-list.
      * lisp/eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
      `err'.
      * lisp/eshell/em-unix.el (compilation-scroll-output, locate-history-list):
      Declare.
      (eshell/diff): Remove unused var `err'.
      * lisp/eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
      `killflag'.
      * lisp/eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
      * lisp/eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
      first use.
      * lisp/eshell/em-glob.el (eshell-glob-matches, message-shown):
      Move declaration before first use.
      * lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
      * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
      rely on cl-return.
      170266d0
  4. 23 May, 2013 2 commits
  5. 08 Feb, 2013 2 commits
  6. 01 Jan, 2013 1 commit
  7. 16 Jul, 2012 1 commit
  8. 11 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      More CL cleanups and reduction of use of cl.el. · a464a6c7
      Stefan Monnier authored
      * 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.
      a464a6c7
  9. 27 Jun, 2012 1 commit
    • Glenn Morris's avatar
      Replace eshell-defgroup with plain defgroup · 35ff222c
      Glenn Morris authored
      Borrowing a trick from vc-sccs.el, wrap the defgroup in a progn
      so that the whole thing ends up in the generated autoload file,
      esh-groups.el.
      
      * em-alias.el, em-banner.el, em-basic.el, em-cmpl.el, em-dirs.el:
      * em-glob.el, em-hist.el, em-ls.el, em-pred.el, em-prompt.el:
      * em-rebind.el, em-script.el, em-smart.el, em-term.el, em-unix.el:
      * em-xtra.el: Replace eshell-defgroup with (progn (defgroup.
      * eshell.el (eshell-defgroup): Remove alias.
      35ff222c
  10. 11 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * window.el (window-sides-slots):
      * tool-bar.el (tool-bar-position):
      * term/xterm.el (xterm-extra-capabilities):
      * ses.el (ses-self-reference-early-detection):
      * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
      (verilog-auto-wire-type)
      (verilog-auto-delete-trailing-whitespace)
      (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
      (verilog-auto-tieoff-declaration):
      * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
      (sql-oracle-statement-starters, sql-oracle-scan-on):
      * progmodes/prolog.el (prolog-align-comments-flag)
      (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
      (prolog-left-indent-regexp, prolog-paren-indent-p)
      (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
      (prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
      (prolog-electric-dot-flag)
      (prolog-electric-dot-full-predicate-template)
      (prolog-electric-underscore-flag, prolog-electric-tab-flag)
      (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
      (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
      (prolog-program-switches, prolog-prompt-regexp)
      (prolog-debug-on-string, prolog-debug-off-string)
      (prolog-trace-on-string, prolog-trace-off-string)
      (prolog-zip-on-string, prolog-zip-off-string)
      (prolog-use-standard-consult-compile-method-flag)
      (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
      (prolog-imenu-max-lines, prolog-info-predicate-index)
      (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
      (prolog-char-quote-workaround):
      * progmodes/cc-vars.el (c-defun-tactic):
      * net/tramp.el (tramp-encoding-command-interactive)
      (tramp-local-end-of-line):
      * net/soap-client.el (soap-client):
      * net/netrc.el (netrc-file):
      * net/gnutls.el (gnutls):
      * minibuffer.el (completion-category-overrides)
      (completion-cycle-threshold)
      (completion-pcm-complete-word-inserts-delimiters):
      * man.el (Man-name-local-regexp):
      * mail/feedmail.el (feedmail-display-full-frame):
      * international/characters.el (glyphless-char-display-control):
      * eshell/em-ls.el (eshell-ls-date-format):
      * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
      (lisp-lambda-list-keyword-parameter-indentation)
      (lisp-lambda-list-keyword-parameter-alignment):
      * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
      * dired-x.el (dired-omit-verbose):
      * cus-theme.el (custom-theme-allow-multiple-selections):
      * calc/calc.el (calc-highlight-selections-with-faces)
      (calc-lu-field-reference, calc-lu-power-reference)
      (calc-note-threshold):
      * battery.el (battery-mode-line-limit):
      * arc-mode.el (archive-7z-extract, archive-7z-expunge)
      (archive-7z-update):
      * allout.el (allout-prefixed-keybindings)
      (allout-unprefixed-keybindings)
      (allout-inhibit-auto-fill-on-headline)
      (allout-flattened-numbering-abbreviation):
      * allout-widgets.el (allout-widgets-auto-activation)
      (allout-widgets-icons-dark-subdir)
      (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
      (allout-widgets-theme-dark-background)
      (allout-widgets-theme-light-background)
      (allout-widgets-item-image-properties-emacs)
      (allout-widgets-item-image-properties-xemacs)
      (allout-widgets-run-unit-tests-on-load)
      (allout-widgets-time-decoration-activity)
      (allout-widgets-hook-error-post-time)
      (allout-widgets-track-decoration):
      * gnus/sieve-manage.el (sieve-manage-default-stream):
      * gnus/shr.el (shr):
      * gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-notmuch-program)
      (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
      (nnir-method-default-engines):
      * gnus/message.el (message-cite-reply-position):
      * gnus/gssapi.el (gssapi-program):
      * gnus/gravatar.el (gravatar):
      * gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
      * gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
      (gnus-registry-max-pruned-entries):
      * gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
      * gnus/gnus-int.el (gnus-after-set-mark-hook)
      (gnus-before-update-mark-hook):
      * gnus/gnus-async.el (gnus-async-post-fetch-function):
      * gnus/auth-source.el (auth-source-cache-expiry):
      Add missing :version tags to new defcustoms and defgroups.
      2bed3f04
  11. 11 Jan, 2012 1 commit
  12. 05 Jan, 2012 1 commit
  13. 27 Jun, 2011 1 commit
  14. 05 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Make eshell-for obsolete (replaced by dolist) · a9eeff78
      Glenn Morris authored
      * eshell/esh-util.el (eshell-for): Make it obsolete.
      * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
      * eshell/em-dirs.el (eshell-save-some-last-dir):
      * eshell/em-hist.el (eshell-save-some-history, eshell-hist-parse-modifier):
      * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files, eshell-ls-entries):
      * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
      * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval, eshell/which):
      * eshell/esh-ext.el (eshell-find-interpreter):
      * eshell/esh-mode.el (eshell-mode):
      * eshell/esh-module.el (eshell-unload-extension-modules):
      * eshell/esh-proc.el (eshell-process-interact):
      * eshell/esh-test.el (eshell-test):
      * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
      * eshell/esh-var.el (eshell/env, eshell-environment-variables)
      (eshell-variables-list):
      * eshell/eshell.el (eshell-unload-all-modules):
      Replace eshell-for with dolist.
      a9eeff78
  15. 25 Jan, 2011 1 commit
  16. 02 Jan, 2011 1 commit
  17. 10 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Replace some eshell functions that duplicate standard functions. · 73171bd4
      Glenn Morris authored
      * lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
      (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
      * lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
      * lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
      * lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
      * lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
      73171bd4
  18. 25 Sep, 2010 2 commits
    • Glenn Morris's avatar
      Cosmetic doc fixes for eshell. · ec60da52
      Glenn Morris authored
      * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
      * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
      * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
      * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
      * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
      * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
      * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
      * eshell/esh-util.el, eshell/esh-var.el:
      Remove leading `*' from docs of faces and defcustoms.
      ec60da52
    • Ulrich Mueller's avatar
      Add more xz compression support. · 4c964351
      Ulrich Mueller authored
      * doc/man/etags.1: xz compression is now supported.
      * doc/misc/woman.texi (Interface Options): xz compression is now supported.
      
      * lib-src/etags.c (compressors, print_language_names): Support xz compression.
      
      * lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
      * lisp/eshell/esh-util.el (eshell-tar-regexp):
      * lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
      * lisp/info.el (Info-suffix-list):
      * lisp/international/mule.el (auto-coding-alist):
      * lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
      * lisp/progmodes/etags.el (tags-compression-info-list):
      Support xz compression.
      4c964351
  19. 09 Feb, 2010 1 commit
  20. 07 Feb, 2010 1 commit
  21. 13 Jan, 2010 1 commit
  22. 01 Sep, 2009 1 commit
  23. 21 Mar, 2009 2 commits
  24. 05 Jan, 2009 1 commit
  25. 08 Oct, 2008 1 commit
  26. 15 Aug, 2008 2 commits
  27. 07 Jun, 2008 1 commit
  28. 21 May, 2008 1 commit
  29. 06 May, 2008 1 commit
  30. 10 Apr, 2008 1 commit
  31. 07 Jan, 2008 1 commit
  32. 05 Dec, 2007 1 commit
  33. 25 Jul, 2007 1 commit