aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update Ehsell visual-commands documentationAidan Gauland2013-06-101-4/+14
| | | | | | | | | | * eshell.texi (Input/Output): Expand to cover new visual-command options, eshell-visual-subcommands and eshell-visual-options. Divide into separate Visual Commands and Redirection sections. * eshell/em-term.el (eshell-visual-commands) (eshell-visual-subcommands) (eshell-visual-options): Add summary line to docstrings. Add cross-references.
* Fix Eshell bugAidan Gauland2013-06-091-6/+7
| | | | | * eshell/em-term.el (eshell-visual-command-p): Fix bug that causedoutput redirection to be ignored with visual commands.
* Tidy module initialisation functionsAidan Gauland2013-06-093-14/+19
| | | | | | | * eshell/em-term.el (eshell-visual-command-p): New function. (eshell-term-initialize): Move long lambda to separate function eshell-visual-command-p. * eshell/em-dirs.el (eshell-dirs-initialise): Add missing #' to lambda. * eshell/em-script.el (eshell-script-initialize): Add missing #' to lambda.
* * eshell/esh-mode.el (eshell-mode): Fix key bindings.Leo Liu2013-06-051-5/+2
|
* * eshell/em-term.el (cl-lib): Require `cl-lib'.Tassilo Horn2013-06-031-0/+1
|
* * NEWS: Document eshell visual subcommands and options.Tassilo Horn2013-06-031-3/+3
| | | | | * eshell/em-term.el (eshell-term-initialize): Use `cl-intersection' rather than `intersection'.
* * lisp/eshell/em-term.el: New defcustoms need :version tags.Glenn Morris2013-06-021-2/+6
|
* * eshell/esh-ext.el (eshell-external-command): Pass args toTassilo Horn2013-06-024-15/+59
| | | | | | | | | | | | | | | | | | `eshell-find-interpreter'. (eshell-find-interpreter): Add new second parameter ARGS. * eshell/em-script.el (eshell-script-initialize): Add second arg to the function added as MATCH to `eshell-interpreter-alist' * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to the function added as MATCH to `eshell-interpreter-alist' * eshell/em-term.el (eshell-visual-subcommands): New defcustom. (eshell-visual-options): New defcustom. (eshell-escape-control-x): Adapt docstring. (eshell-term-initialize): Test `eshell-visual-subcommands' and `eshell-visual-options' in addition to `eshell-visual-commands'. (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
* * eshell/em-cmpl.el (eshell-cmpl-initialize): Replace obsolete aliasGlenn Morris2013-06-011-2/+2
|
* In Eshell, replace obsolete lisp-complete-symbolGlenn Morris2013-05-291-3/+9
| | | | | | * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function. (eshell-cmpl-initialize, eshell-complete-parse-arguments): Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
* Added -r option to eshell/cpAidan Gauland2013-05-281-1/+3
|
* Silence em-ls compilationGlenn Morris2013-05-231-1/+3
| | | | | * lisp/eshell/em-ls.el: Adjust requires. (eshell-glob-regexp): Declare.
* Silence many eshell compilation warningsGlenn Morris2013-05-2221-30/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/em-tramp.el: Adjust requires. (eshell-parse-command): Autoload. * lisp/eshell/em-xtra.el: Adjust requires. (eshell-parse-command): Autoload. * lisp/eshell/esh-ext.el: Adjust requires. (eshell-parse-command, eshell-close-handles): Autoload. * lisp/eshell/esh-io.el: Adjust requires. (eshell-output-filter): Autoload. * lisp/eshell/esh-util.el: No need to load tramp when compiling. (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime): Declare. (eshell-parse-ange-ls): Require ange-ftp and tramp. * lisp/eshell/em-alias.el, lisp/eshell/em-banner.el, lisp/eshell/em-basic.el: * lisp/eshell/em-cmpl.el, lisp/eshell/em-glob.el, lisp/eshell/em-pred.el: * lisp/eshell/em-prompt.el, lisp/eshell/em-rebind.el, lisp/eshell/em-smart.el: * lisp/eshell/em-term.el, lisp/eshell/esh-arg.el, lisp/eshell/esh-mode.el: * lisp/eshell/esh-opt.el, lisp/eshell/esh-proc.el: * lisp/eshell/esh-var.el: Adjust requires. * lisp/eshell/eshell.el: Do not require esh-util twice. (eshell-add-input-to-history): Declare. (eshell-command): Check history module is active before using it.
* * lisp/eshell/em-ls.el (eshell-ls-dir): Fix -A handling.Glenn Morris2013-05-221-3/+3
|
* Misc custom group fixesGlenn Morris2013-05-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-start.el (show-trailing-whitespace): Move to editing basics. * faces.el (trailing-whitespace): Don't use whitespace-faces group. * obsolete/old-whitespace.el (whitespace-faces): Remove group. (whitespace-highlight): Move to whitespace group. * comint.el (comint-source): * pcmpl-linux.el (pcmpl-linux): * shell.el (shell-faces): * eshell/esh-opt.el (eshell-opt): * international/ccl.el (ccl): Remove empty custom groups. * completion.el (dynamic-completion-mode): * jit-lock.el (jit-lock-debug-mode): * minibuffer.el (completion-in-region-mode): * type-break.el (type-break-mode-line-message-mode) (type-break-query-mode): * emulation/tpu-edt.el (tpu-edt-mode): * progmodes/subword.el (global-subword-mode, global-superword-mode): * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): * term/vt100.el (vt100-wide-mode): Specify explicit :group. * term/xterm.el (xterm): Change parent group to terminals. * master.el (master): Remove empty custom group. (master-mode): Remove unused :group argument. * textmodes/refill.el (refill): Remove empty custom group. (refill-mode): Remove unused :group argument. * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group. * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results) (semantic-symref-results-mode-hook) (semantic-symref-results-summary-function): Fix :group. * erc/erc-list.el (erc-list): * erc/erc-menu.el (erc-menu): * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module. * gnus/shr-color.el (shr-color-visible-luminance-min) (shr-color-visible-distance-min): Use shr-color group. * url/url-news.el (url-news): Remove empty custom group.
* Fix a bunch of custom types (thank you cus-test.el)Glenn Morris2013-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-search-delay): * lisp/cus-start.el (vertical-centering-font-regexp): * lisp/ps-mule.el (ps-mule-font-info-database-default): * lisp/ps-print.el (ps-default-fg, ps-default-bg): * lisp/type-break.el (type-break-good-break-interval): * lisp/whitespace.el (whitespace-indentation-regexp) (whitespace-space-after-tab-regexp): * lisp/emacs-lisp/testcover.el (testcover-1value-functions) (testcover-noreturn-functions, testcover-progn-functions) (testcover-prog1-functions): * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color): * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon): * lisp/eshell/em-glob.el (eshell-glob-translate-alist): * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images): * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function): * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties): * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout): * lisp/gnus/gnus-picon.el (gnus-picon-properties): * lisp/gnus/gnus-util.el (gnus-completion-styles): * lisp/gnus/gnus.el (gnus-other-frame-resume-function): * lisp/gnus/message.el (message-user-organization-file) (message-cite-reply-position): * lisp/gnus/nnir.el (nnir-summary-line-format) (nnir-retrieve-headers-override-function): * lisp/gnus/shr-color.el (shr-color-visible-luminance-min): * lisp/gnus/shr.el (shr-blocked-images): * lisp/gnus/spam-report.el (spam-report-resend-to): * lisp/gnus/spam.el (spam-summary-exit-behavior): * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function): * lisp/play/tetris.el (tetris-tty-colors): * lisp/progmodes/cpp.el (cpp-face-default-list): * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks): * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program) (idlwave-help-browser-generic-args): * lisp/progmodes/make-mode.el (makefile-special-targets-list): * lisp/progmodes/python.el (python-shell-virtualenv-path): * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp) (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp) (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp) (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp): * lisp/textmodes/reftex-vars.el (reftex-format-label-function): * lisp/textmodes/remember.el (remember-diary-file): Fix custom types. * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list): Fix value. * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
* * lisp/eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.Glenn Morris2013-05-071-15/+12
| | | | Remove explicit eshell-isearch-cancel-map.
* * lisp/eshell/em-cmpl.el: Simply require pcomplete;Glenn Morris2013-05-061-2/+1
| | | | | eg we use a bunch of its defcustom properties. (eshell-cmpl-initialize): No need to load pcomplete.
* Added eshell-tramp moduleAidan Gauland2013-03-272-80/+144
| | | | | | | | | | * lisp/eshell/em-unix.el: Moved su and sudo to... * lisp/eshell/em-tramp.el: ...Eshell tramp module * doc/misc/eshell.texi: Updated manual to reflect changes. External su and sudo commands are now the default; the internal, TRAMP-using variants can still be used by enabling the eshell-tramp module.
* * lisp/eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insertStefan Monnier2013-03-251-0/+1
| | | | | | into the prompt either. Fixes: debbugs:13963
* * lisp/eshell/em-cmpl.el: Corrected "context-related help"Aidan Gauland2013-02-241-1/+1
| | | | keybinding in commentary.
* Merge from emacs-24; up to 2012-12-20T16:09:05Z!dmantipov@yandex.ruGlenn Morris2013-02-181-2/+2
|\
| * * eshell/em-unix.el (eshell/su): Require tramp.Michael Albinus2013-02-181-2/+2
| | | | | | | | | | | | | | | | (eshell/sudo): Require tramp. Remove now unnecessary check. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind `tramp-current-connection' in order to avoid an error when several commands are invoked in a short time in eshell and friends.
* | * lisp/eshell/esh-proc.el (eshell/kill): Fix last change.Stefan Monnier2013-02-082-34/+30
| | | | | | | | * lisp/eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
* | * lisp/eshell: Minor fixes.Aidan Gauland2013-02-082-40/+49
| | | | | | | | | | | | * lisp/eshell/em-ls.el (show-almost-all): Declare. (eshell-do-ls): Add support for -A argument. * lisp/eshell/esh-proc.el (eshell/kill): Rewrite.
* | * eshell/esh-util.el (eshell-path-env): Make it buffer local, inJürgen Hötzel2013-01-171-0/+1
| | | | | | | | order to support several eshell buffers in parallel.
* | Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-0227-30/+34
|\ \ | |/
| * Update copyright notices for 2013.Paul Eggert2013-01-0127-27/+27
| |
| * * eshell/em-cmpl.el (eshell-pcomplete): More thoroughly imitate pcomplete.Glenn Morris2012-12-311-3/+7
| | | | | | | | Fixes: debbugs:13293
* | Merge from emacs-24; up to 2012-11-17T22:12:47Z!eggert@cs.ucla.eduGlenn Morris2012-11-201-3/+5
|\ \ | |/
| * * lisp/eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:Stefan Monnier2012-11-191-3/+5
| | | | | | | | | | | | | | Fallback on completion-at-point rather than pcomplete-expand-and-complete, and only if pcomplete actually failed. (eshell-cmpl-initialize): Setup completion-at-point. * lisp/pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
* | * lisp/eshell/em-unix.el (eshell/mkdir): Handle "--parents".Jürgen Hötzel2012-11-161-1/+2
|/ | | | Fixes: debbugs:12897
* * lisp/eshell/em-cmpl.el (eshell-pcomplete): New command. Glenn Morris2012-11-141-2/+9
| | | | | | (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i. Fixes: debbugs:12838
* Fix for Eshell's for loop.Chong Yidong2012-10-201-13/+15
| | | | | | | * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body list explicitly. Fixes: debbugs:12571
* Aliases to defcustoms must come before the defcustom.Glenn Morris2012-10-061-3/+3
| | | | | | | * strokes.el (strokes-modeline-string): * emulation/crisp.el (crisp-mode-modeline-string): * eshell/esh-mode.el (eshell-status-in-modeline): Aliases to defcustoms must come before the defcustom.
* Use declare forms, where possible, to mark obsolete functions.Chong Yidong2012-09-252-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-passphrase-hint-string): Likewise. (allout-init): Use a declare form to mark obsolete. * lisp/calendar/calendar.el (calendar-version): * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer) (icalendar-convert-diary-to-ical): * lisp/cus-edit.el (custom-mode): * lisp/ansi-color.el (ansi-color-unfontify-region): * lisp/international/latin1-disp.el (latin1-char-displayable-p): * lisp/progmodes/cwarn.el (turn-on-cwarn-mode): * lisp/progmodes/which-func.el (which-func-update-1): Use define-obsolete-function-alias. * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark this function obsolete. * lisp/calendar/cal-x.el (calendar-two-frame-setup) (calendar-only-one-frame-setup, calendar-one-frame-setup): * lisp/calendar/calendar.el (american-calendar, european-calendar) (calendar-for-loop): * lisp/comint.el (comint-dynamic-simple-complete) (comint-dynamic-complete-as-filename, comint-unquote-filename): * lisp/desktop.el (desktop-load-default): * lisp/dired-x.el (dired-omit-here-always) (dired-hack-local-variables, dired-default-directory): * lisp/emacs-lisp/derived.el (derived-mode-class): * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs): * lisp/emacs-lock.el (toggle-emacs-lock): * lisp/epa.el (epa-display-verify-result): * lisp/epg.el (epg-sign-keys, epg-start-sign-keys) (epg-passphrase-callback-function): * lisp/eshell/esh-util.el (eshell-for): * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names) (eshell-add-to-window-buffer-names): * lisp/files.el (locate-file-completion): * lisp/imenu.el (imenu-example--create-c-index) (imenu-example--create-lisp-index) (imenu-example--lisp-extract-index-name) (imenu-example--name-and-position): * lisp/international/mule-cmds.el (princ-list): * lisp/international/mule-diag.el (decode-codepage-char): * lisp/international/mule-util.el (detect-coding-with-priority): * lisp/iswitchb.el (iswitchb-read-buffer): * lisp/mail/mailalias.el (mail-complete): * lisp/mail/sendmail.el (mail-sent-via): * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar) (mouse-major-mode-menu): * lisp/password-cache.el (password-read-and-add): * lisp/pcomplete.el (pcomplete-parse-comint-arguments): * lisp/progmodes/sh-script.el (sh-maybe-here-document): * lisp/replace.el (query-replace-regexp-eval): * lisp/savehist.el (savehist-load): * lisp/simple.el (choose-completion-delete-max-match): * lisp/term.el (term-dynamic-simple-complete): * lisp/vc/ediff-init.el (ediff-check-version): * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically): * lisp/vc/vc.el (vc-diff-switches-list): * lisp/view.el (view-return-to-alist-update): Likewise. * lisp/iswitchb.el (iswitchb-read-buffer): Move code of iswitchb-define-mode-map here, and delete that obsolete function. * lisp/subr.el (eval-next-after-load, makehash, insert-string) (assoc-ignore-representation, assoc-ignore-case): Use declare to mark obsolete. (mode-line-inverse-video): Variable deleted. * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that this applies to functions. * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias. * lisp/international/mule-util.el (string-to-sequence): Remove. * lisp/net/newst-backend.el (newsticker-cache-filename): * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix incorrect obsolescence declaration. * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete font-lock-reference-face. * lisp/url/url-parse.el (url-recreate-url-attributes): * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark obsolete. * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
* * em-term.el (eshell-term-name): Default to term-term-name. (Bug#12485)Glenn Morris2012-09-241-1/+4
|
* Improve previous eshell changeGlenn Morris2012-09-241-4/+4
|
* * eshell/esh-cmd.el (eshell-find-alias-function): Tighten up file-name regexp.Glenn Morris2012-09-241-1/+2
|
* Update docstrings and comments to use "init file" terminology.Chong Yidong2012-09-172-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes. * comint.el (comint-prompt-read-only): * custom.el (defcustom): * hi-lock.el (hi-lock-mode): * ibuffer.el (ibuffer-formats): * ielm.el (ielm-prompt-read-only): * novice.el (disable-command): * saveplace.el (toggle-save-place): * speedbar.el (speedbar-supported-extension-expressions): * startup.el (auto-save-list-file-prefix, init-file-user) (after-init-hook, inhibit-startup-echo-area-message): * strokes.el (strokes-help): * time-stamp.el (time-stamp): * calendar/calendar.el (calendar, diary-file): * calendar/diary-lib.el (diary-mail-entries, diary) (diary-list-entries-hook): * calendar/holidays.el (holidays, calendar-holidays): * calendar/lunar.el (lunar-phases): * calendar/solar.el (sunrise-sunset): * emulation/edt.el (edt-load-keys): * emulation/viper.el (viper-mode): * eshell/em-alias.el (eshell-command-aliases-list): * eshell/esh-util.el (eshell-convert-numeric-arguments): * international/ogonek.el (ogonek-information): * net/tramp-cmds.el (tramp-bug): * net/quickurl.el (quickurl-reread-hook-postfix): * play/decipher.el (decipher-font-lock-keywords): * progmodes/cc-styles.el (c-set-style): * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern): * progmodes/inf-lisp.el (inferior-lisp-prompt): * progmodes/octave-mod.el (octave-mode): * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password): * progmodes/verilog-mode.el (verilog-read-defines): * textmodes/two-column.el (2C-mode): Likewise.
* * lisp/eshell/em-unix.el (eshell/sudo): Explicitly drop return value.Stefan Monnier2012-09-091-1/+1
|
* * eshell/em-unix.el (eshell/sudo): When we have an ad-hocMichael Albinus2012-09-021-0/+2
| | | | remote definition of `default-directory', ensure we can connect.
* * eshell/esh-ext.el: Explain, why we suppress the check inMichael Albinus2012-08-311-3/+4
| | | | `eshell-external-command'.
* * eshell/esh-ext.el (eshell-external-command): Do not examineMichael Albinus2012-08-291-1/+5
| | | | | | | | remote shell scripts. See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>. * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and "/usr/local/sbin".
* Replace version 24.2 with 24.3 where appropriate (hopefully)Glenn Morris2012-08-152-3/+3
|
* Remove some unnecessary bindings of same-window-* variables.Chong Yidong2012-08-111-19/+8
| | | | | | | | | | * lisp/progmodes/python.el (python-shell-get-process-name): Don't mess with same-window-buffer-names. * lisp/eshell/eshell.el (eshell-add-to-window-buffer-names) (eshell-remove-from-window-buffer-names): Make obsolete. (eshell-buffer-name, eshell-unload-hook): Don't use them. (eshell): Just use pop-to-buffer-same-window instead.
* * lisp/eshell/esh-ext.el (eshell/addpath): Use mapconcat.Glenn Morris2012-08-061-6/+6
|
* Tweak previous esh-ext.el changeGlenn Morris2012-08-051-15/+9
| | | | | * lisp/eshell/esh-ext.el (eshell/addpath): Use dolist. Do less getting and setting of environment variables.
* * lisp/eshell/esh-ext.el (eshell/addpath): Also update eshell-path-env.Glenn Morris2012-08-041-1/+2
| | | | Fixes: debbugs:12013
* * eshell/em-ls.el (eshell/ls): Use `apply'.Michael Albinus2012-07-162-24/+25
| | | | | * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc multi-hops, instead of Tramp internals.