aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* (ansi-color-apply-on-region): Autoload it...Glenn Morris2009-11-031-1/+2
| | | | (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
* * url-util.el (url-insert-entities-in-string):Stefan Monnier2009-11-032-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * url-nfs.el (url-nfs-unescape): * url-ldap.el (url-ldap): * url-imap.el (url-imap): * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer. * erc.el (erc-display-line-1, erc-process-away): * erc-truncate.el (erc-truncate-buffer-to-size): Use with-current-buffer. * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos): * play/mpuz.el (mpuz-create-buffer): * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell) (lm-print-y,s,noise, lm-print-w0, lm-init): * play/gomoku.el (gomoku-prompt-for-move): * play/fortune.el (fortune-in-buffer): * play/dissociate.el (dissociated-press): * play/decipher.el (decipher-adjacency-list, decipher-display-regexp) (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer): * mail/supercite.el (sc-eref-show): * mail/smtpmail.el (smtpmail-send-it): * mail/rmailsum.el (rmail-summary-next-labeled-message) (rmail-summary-previous-labeled-message, rmail-summary-wipe) (rmail-summary-undelete-many, rmail-summary-rmail-update) (rmail-summary-goto-msg, rmail-summary-expunge) (rmail-summary-get-new-mail, rmail-summary-search-backward) (rmail-summary-add-label, rmail-summary-output-menu) (rmail-summary-output-body): * mail/rfc822.el (rfc822-addresses): * mail/reporter.el (reporter-dump-variable, reporter-dump-state): * mail/mailpost.el (post-mail-send-it): * mail/hashcash.el (hashcash-generate-payment): * mail/feedmail.el (feedmail-run-the-queue) (feedmail-queue-send-edit-prompt-help-first) (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater) (feedmail-deduce-address-list): * eshell/esh-ext.el (eshell-remote-command): * eshell/em-unix.el (eshell-occur-mode-mouse-goto): * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting) (viper-wildcard-to-regexp, viper-glob-mswindows-files) (viper-save-string-in-file, viper-valid-marker): * emulation/viper-keym.el (viper-toggle-key): * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file) (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit) (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile): * emulation/viper-cmd.el (viper-exec-form-in-vi) (viper-exec-form-in-emacs, viper-brac-function): * emulation/viper.el (viper-delocalize-var): * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat) (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer) (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark) (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command): * emulation/vi.el (vi-switch-mode, vi-ex-cmd): * emulation/edt.el (edt-electric-helpify): * emulation/cua-rect.el (cua--rectangle-aux-replace): * emulation/cua-gmrk.el (cua--insert-at-global-mark) (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark) (cua-indent-to-global-mark-column): * calendar/diary-lib.el (calendar-mark-1): * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern): Use with-current-buffer. * emulation/viper.el (viper-delocalize-var): Use dolist.
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-2/+2
|
* * eshell/em-hist.el:Chong Yidong2009-09-134-5/+14
| | | | | | | | | | | * eshell/em-dirs.el (eshell-complete-user-reference): Declare pcomplete functions and variables to avoid compiler warnings. * eshell/em-script.el (eshell-login-script, eshell-rc-script): * eshell/em-dirs.el (eshell-last-dir-ring-file-name): * eshell/em-alias.el (eshell-aliases-file): * eshell/em-hist.el (eshell-history-file-name): Use expand-file-name instead of concat to make file names (Bug#4308).
* Mark face aliases with "-face" suffix as obsolete.Glenn Morris2009-09-013-28/+17
|
* (eshell-parse-argument-hook): Put `number' property on entire argumentJohan Bockgård2009-07-041-1/+1
| | | | since this is what eshell-lisp-command expects.
* (eshell-ls-dir): Call eshell-directory-files-and-attributes with additionalEli Zaretskii2009-03-211-15/+14
| | | | | | | | | | argument 'integer or 'string, according to numeric-uid-gid. (eshell-ls-file): Don't convert UID and GID to strings, as eshell-ls-dir already did. Enlarge max user-name string length to 14 characters. (eshell-do-ls): Fix the long name of the -L option. (eshell-ls-file): Enlarge default size-width to 8. (eshell-ls-dir): Under -l, call eshell-ls-printable-size with last argument nil.
* (directory-files-and-attributes): Accept and ignore additional optionalEli Zaretskii2009-03-211-3/+3
| | | | | | argument id-format. (eshell-directory-files-and-attributes): Call directory-files-and-attributes with additional argument id-format.
* (eshell-ls-file): Enlarge default size-width to 8.Eli Zaretskii2009-03-211-3/+8
| | | | | (eshell-ls-dir): Under -l, call eshell-ls-printable-size with last argument nil.
* (eshell-parse-ange-ls): Define `name' before potential use.Glenn Morris2009-02-241-1/+2
|
* Add .gitignore filesMiles Bader2009-02-031-13/+2
| | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1533
* Comment (header format fix).Glenn Morris2009-01-226-12/+12
|
* Patch to change the default binding of C-a to eshell-bol. I don't think it'sJohn Wiegley2009-01-221-0/+1
| | | | | actually bound at all by default in eshell; it just falls back to the default binding of C-a.