summaryrefslogtreecommitdiff
path: root/lisp/eshell
Commit message (Collapse)AuthorAgeFilesLines
* * eshell/em-smart.el (eshell-smart-display-navigate-list): Add ↵Chong Yidong2011-06-301-0/+1
| | | | mouse-yank-primary.
* * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).Jari Aalto2011-06-271-1/+8
| | | | | (eshell-ls-date-format): New defcustom. (eshell-ls-file): Use it.
* Don't quote lambda expressions with `quote'.Stefan Monnier2011-05-232-42/+31
|
* lisp/eshell/esh-mode.el (find-tag-interactive): Small cleanup.Juanma Barranquero2011-04-221-2/+3
| | | | | | * eshell/esh-mode.el (find-tag-interactive): Declare function. (eshell-find-tag): Remove `with-no-warnings', unneeded now. Pass argument NO-DEFAULT to `find-tag-interactive'.
* esh-opt trivia.Glenn Morris2011-03-221-4/+3
| | | | | * lisp/eshell/esh-opt.el (eshell-eval-using-options): Do not bind unused local variable `eshell-option-stub'.
* * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes.Glenn Morris2011-03-201-8/+47
|
* * lisp/eshell/esh-util.el (eshell-condition-case): Doc fix.Glenn Morris2011-03-091-1/+2
|
* Move eshell's self-tests to the test/ directory.Glenn Morris2011-03-057-405/+0
| | | | | | | | | * lisp/eshell/esh-var.el: Don't require esh-test when compiling. * lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el: * lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test. * lisp/eshell/esh-test.el: Move to ../../test/eshell.el * test/eshell.el: Move here from lisp/eshell/esh-test.el.
* * lisp/eshell/esh-proc.el (eshell-kill-process-function): Fix typo in previous.Glenn Morris2011-03-051-1/+1
|
* esh-util.el comment fix.Glenn Morris2011-03-041-1/+0
|
* Default all eshell hooks to nil (bug#5375)Glenn Morris2011-03-0420-45/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eshell/esh-mode.el (eshell-kill-buffer-function): New function. (eshell-mode): Use eshell-kill-buffer-function. Run the -initialize functions independently of the -load-hooks. * eshell/esh-proc.el (eshell-kill-process-function): New function. (eshell-gather-process-output, eshell-sentinel) (eshell-interrupt-process, eshell-kill-process, eshell-quit-process): Use eshell-kill-process-function. * eshell/em-alias.el (eshell-alias-load-hook): * eshell/em-banner.el (eshell-banner-load-hook): * eshell/em-cmpl.el (eshell-cmpl-load-hook): * eshell/em-dirs.el (eshell-dirs-load-hook): * eshell/em-glob.el (eshell-glob-load-hook): * eshell/em-hist.el (eshell-hist-load-hook): * eshell/em-pred.el (eshell-pred-load-hook): * eshell/em-prompt.el (eshell-prompt-load-hook): * eshell/em-rebind.el (eshell-rebind-load-hook): * eshell/em-script.el (eshell-script-load-hook): * eshell/em-smart.el (eshell-smart-load-hook): * eshell/em-term.el (eshell-term-load-hook): * eshell/em-unix.el (eshell-unix-load-hook): * eshell/esh-arg.el (eshell-arg-load-hook): * eshell/esh-cmd.el (eshell-cmd-load-hook): * eshell/esh-ext.el (eshell-ext-load-hook): * eshell/esh-io.el (eshell-io-load-hook): * eshell/esh-mode.el (eshell-exit-hook): * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook): * eshell/esh-var.el (eshell-var-load-hook): Set default hook values to nil. (Bug#5375)
* esh-module doc fixes.Glenn Morris2011-03-041-2/+2
| | | | | * lisp/eshell/esh-module.el (eshell-module-unload-hook) (eshell-modules-list): Remove leading * from defcustom docs.
* Make eshell-for obsolete (replaced by dolist)Glenn Morris2011-03-0414-35/+36
| | | | | | | | | | | | | | | | | | | | * 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.
* * eshell/esh-ext.el (eshell-external-command): Do not restrictMichael Albinus2011-02-221-1/+1
| | | | remote check to "ftp". (Bug#8089)
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-2428-56/+28
|
* Refill some copyright headers.Glenn Morris2011-01-153-6/+6
|
* Nuke arch-tags.Glenn Morris2011-01-1522-22/+0
|
* Merge from emacs-23Stefan Monnier2011-01-1428-31/+31
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0228-28/+28
| |
* | Merge changes from emacs-23 branchChong Yidong2011-01-021-1/+3
|\ \ | |/
| * Minor fix for eshell-previous-matching-input (Bug#7585).Leo Liu2010-12-171-1/+3
| | | | | | | | | | * lisp/eshell/em-hist.el (eshell-previous-matching-input): Signal error if point is not behind eshell-last-output-end (Bug#7585).
* | * eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file ↵Leo Liu2010-12-161-1/+2
| | | | | | | | (Bug#7578).
* | Delete long unused functions and variables in rect.el.Chong Yidong2010-12-151-1/+0
| | | | | | | | | | | | lisp/rect.el (operate-on-rectangle-lines, string-rectangle-string): Delete unused variables. (move-to-column-force): Remove function obsolete since 21.2.
* | * lisp/eshell/: Use with-silent-modifications.Stefan Monnier2010-11-233-41/+44
| | | | | | | | | | | | | | * lisp/eshell/esh-cmd.el (eshell-parse-command): * lisp/eshell/esh-arg.el (eshell-parse-arguments): * lisp/eshell/em-script.el (eshell-source-file): Use with-silent-modifications.
* | esh-opt comments.Glenn Morris2010-11-101-5/+4
| |
* | Replace some eshell functions that duplicate standard functions.Glenn Morris2010-11-095-34/+14
| | | | | | | | | | | | | | | | | | * 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.
* | Silence compilation of some shell files.Glenn Morris2010-11-092-63/+60
| | | | | | | | | | | | | | | | | | * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm) (eshell-shuffle-files, eshell-shorthand-tar-command) (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln): Prefix dynamic locals `interactive', `preview', `recursive', `verbose'. * lisp/eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries): Prefix dynamic local variable `matches'.
* | Minor esh-util changes.Glenn Morris2010-11-061-13/+15
| | | | | | | | | | | | * lisp/eshell/esh-util.el (subst-char-in-string) (directory-files-and-attributes): These compatibility definitions are not needed on any version of Emacs since at least 21.4.
* | Replace unneeded compatibility definitions with point-at-bol, point-at-eol.Glenn Morris2010-11-061-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-get-beg-of-line) (verilog-get-end-of-line): Remove. (verilog-within-string, verilog-re-search-forward-substr) (verilog-re-search-backward-substr, verilog-set-auto-endcomments) (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region): Use point-at-bol, point-at-eol. * lisp/progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line): Remove. (pascal-declaration-end, pascal-declaration-beg, pascal-within-string) (electric-pascal-terminate-line, pascal-set-auto-comments) (pascal-indent-paramlist, pascal-indent-declaration) (pascal-get-lineup-indent, pascal-func-completion) (pascal-get-completion-decl, pascal-var-completion, pascal-completion): Use point-at-bol, point-at-eol. * lisp/progmodes/flymake.el (flymake-line-beginning-position) (flymake-line-end-position): Remove. (flymake-highlight-line): Use point-at-bol, point-at-eol. * lisp/eshell/esh-util.el (line-end-position, line-beginning-position): Remove compat definitions. * net/tramp/tramp-compat.el: Comment.
* | Use recursive-trash feature for eshell deletion (Bug#7011).Leo Liu2010-10-241-9/+3
| | | | | | | | | | * lisp/eshell/em-unix.el (eshell-remove-entries): Use the TRASH argument of delete-file and delete-directory (Bug#7011).
* | Cosmetic doc fixes for eshell.Glenn Morris2010-09-2523-196/+196
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Add more xz compression support.Ulrich Mueller2010-09-252-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Remove cut buffer from documentation.Jan Djärv2010-09-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text. * doc/lispref/text.texi (Low-Level Kill Ring): * doc/lispref/frames.texi (Window System Selections): Remove cut buffer documentation. * doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer. * lisp/term/x-win.el (x-select-text): * lisp/term/pc-win.el (x-selection-value): * lisp/term/ns-win.el (x-selection-value): * lisp/eshell/em-term.el: * lisp/w32-fns.el (x-get-selection-value): * lisp/mouse-sel.el (mouse-sel-set-selection-function): * lisp/frame.el (display-selections-p): Remove cut-buffer in documentation. * lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer. Remove cut buffer from error message.
* | Merge changes from emacs-23 branchChong Yidong2010-08-081-1/+2
|\ \ | |/
| * * lisp/eshell/esh-io.el (eshell-get-target): Better detection of read-only ↵Leo Liu2010-07-301-1/+2
| | | | | | | | file (Bug#6762).
* | Replace Lisp calls to delete-backward-char by delete-char.Stefan Monnier2010-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el, skeleton.el, term.el, time.el, wid-edit.el, woman.el, calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el, calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el, emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el, eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el, gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el, language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el, net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el, progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el, progmodes/ps-mode.el, progmodes/verilog-mode.el, progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el, textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el, textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to delete-backward-char by calls to delete-char.
* | Remove the Arch metafiles.Stefan Monnier2010-04-121-4/+0
|/
* Fix typos in docstrings.Juanma Barranquero2010-03-222-5/+5
| | | | | | | | | | | | | | | | | | | | | | * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. (image-dired-read-comment): Doc fix. * json.el (json-object-type, json-array-type, json-key-type, json-false) (json-null, json-read-number): * minibuffer.el (completion-in-region-functions): * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks) (cal-tex-cursor-week): * emacs-lisp/trace.el (trace-function): * eshell/em-basic.el (eshell/printnl): * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter) (eshell-read-last-dir-ring, eshell-write-last-dir-ring): * obsolete/levents.el (allocate-event, event-key, event-object) (event-point, event-process, event-timestamp, event-to-character) (event-window, event-x, event-x-pixel, event-y, event-y-pixel): * textmodes/reftex-vars.el (reftex-index-macros-builtin) (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook) (reftex-cite-punctuation, reftex-search-unrecursed-path-first) (reftex-highlight-selection): Fix typos in docstrings.
* Minor doc fixes.Chong Yidong2010-02-211-5/+4
| | | | | * htmlfontify.el (htmlfontify): Doc fix. * eshell/eshell.el (eshell): Doc fix.
* * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes correctly ↵Chong Yidong2010-02-081-12/+22
| | | | (Bug#5548).
* Fix to uid/gid format in eshell's ls (Bug#5528).Chong Yidong2010-02-072-11/+14
| | | | | | | * eshell/esh-util.el (eshell-file-attributes): New optional arg ID-FORMAT. Pass it to `file-attributes'. * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
* Add 2010 to copyright years.Glenn Morris2010-01-1328-28/+28
|
* Cleanup.Michael Albinus2009-12-031-14/+30
| | | | | | | | | | * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete. (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading arguments. Expand `default-directory'. * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for the benefit of returning an expanded localname. (tramp-tramp-file-p): Handle the case NAME is not a string.
* * eshell/esh-util.el (top): Require also Tramp when compiling.Michael Albinus2009-11-291-17/+26
| | | | | | | | (eshell-directory-files-and-attributes): Check for FTP remote connection. (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format', `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'. (eshell-file-attributes): Handle ".". Return `entry'.
* * eshell/em-unix (eshell/whoami): Make it a defun but a defalias.Michael Albinus2009-11-291-9/+13
| | | | | (eshell/su): Flatten args. Apply better args parsing. Use "cd". (eshell/sudo): Flatten args. Let-bind `default-directory'.
* * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, sinceStefan Monnier2009-11-281-2/+2
| | | | | | `cd' doesn't always do it for us (bug#5067). * pcomplete.el (pcomplete-entries): Revert change installed mistakenly on 2009-10-25 as part of some other change (bug#5067).
* * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,Michael Albinus2009-11-271-1/+61
| | | | | providing a Tramp related implementation of "su" and "sudo". (eshell-unix-initialize): Add "su" and "sudo".
* (eshell/cd): Don't throw to a tag outside the scope.Glenn Morris2009-11-261-2/+2
| | | | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572
* Improve handling of processes on remote hosts.Michael Albinus2009-11-245-52/+53
| | | | | | | | | | | | | | | | | | | | | | | | * eshell/esh-util.el (eshell-path-env): New defvar. (eshell-parse-colon-path): New defun. (eshell-file-attributes): Use `eshell-parse-colon-path'. * eshell/esh-ext.el (eshell-search-path): Use `eshell-parse-colon-path'. (eshell-remote-command): Remove argument HANDLER. (eshell-external-command): Check for FTP remote connection. * eshell/esh-proc.el (eshell-gather-process-output): Use `file-truename', in order to start also symlinked files. Apply `start-file-process' instead of `start-process'. Shorten `command' to the local file name part. * eshell/em-cmpl.el (eshell-complete-commands-list): Use `eshell-parse-colon-path'. * eshell/em-unix.el (eshell/du): Check for FTP remote connection. * net/tramp.el (tramp-eshell-directory-change): New defun. Add it to `eshell-directory-change-hook'.
* * calendar/calendar.el (cal-loaddefs):Juanma Barranquero2009-11-041-1/+1
| | | | | | | * calendar/diary-lib.el (diary-loaddefs): * calendar/holidays.el (hol-loaddefs): * eshell/esh-module.el (esh-groups): * mh/mh-e.el (mh-loaddefs): Load rather than require.