Michael Albinus
a09dc9bf9c
Cleanup.
...
* 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.
2009-12-03 11:34:11 +00:00
Michael Albinus
61eef560b9
* eshell/esh-util.el (top): Require also Tramp when compiling.
...
(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'.
2009-11-29 20:19:48 +00:00
Michael Albinus
e7b538cd65
* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
...
(eshell/su): Flatten args. Apply better args parsing. Use "cd".
(eshell/sudo): Flatten args. Let-bind `default-directory'.
2009-11-29 20:10:29 +00:00
Stefan Monnier
f5467d3f9e
* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
...
`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).
2009-11-28 17:06:30 +00:00
Michael Albinus
3ba30eb837
* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
...
providing a Tramp related implementation of "su" and "sudo".
(eshell-unix-initialize): Add "su" and "sudo".
2009-11-27 16:29:03 +00:00
Glenn Morris
7629c4e745
(eshell/cd): Don't throw to a tag outside the scope.
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572
2009-11-26 03:09:58 +00:00
Michael Albinus
605a20a988
Improve handling of processes on remote hosts.
...
* 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'.
2009-11-24 10:25:54 +00:00
Juanma Barranquero
d3d5f4f504
* calendar/calendar.el (cal-loaddefs):
...
* 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.
2009-11-04 00:27:34 +00:00
Glenn Morris
db04f33fd1
(ansi-color-apply-on-region): Autoload it...
...
(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2009-11-03 03:14:47 +00:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* 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.
2009-11-03 02:04:29 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Chong Yidong
42c3a9e31d
* eshell/em-hist.el:
...
* 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).
2009-09-13 02:16:25 +00:00
Glenn Morris
2fb1ec93ce
Mark face aliases with "-face" suffix as obsolete.
2009-09-01 16:17:53 +00:00
Johan Bockgård
6ee21b07ac
(eshell-parse-argument-hook): Put `number' property on entire argument
...
since this is what eshell-lisp-command expects.
2009-07-04 13:20:09 +00:00
Eli Zaretskii
ce343c43c8
(eshell-ls-dir): Call eshell-directory-files-and-attributes with additional
...
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.
2009-03-21 14:03:06 +00:00
Eli Zaretskii
8e9b25831f
(directory-files-and-attributes): Accept and ignore additional optional
...
argument id-format.
(eshell-directory-files-and-attributes): Call directory-files-and-attributes
with additional argument id-format.
2009-03-21 14:00:26 +00:00
Eli Zaretskii
7ed8839808
(eshell-ls-file): Enlarge default size-width to 8.
...
(eshell-ls-dir): Under -l, call eshell-ls-printable-size with last
argument nil.
2009-03-21 13:01:20 +00:00
Glenn Morris
a8b5bb5f32
(eshell-parse-ange-ls): Define `name' before potential use.
2009-02-24 03:30:46 +00:00
Miles Bader
c5b83faf47
Add .gitignore files
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1533
2009-02-03 23:32:38 +00:00
Glenn Morris
8c7309fe0b
Comment (header format fix).
2009-01-22 06:33:06 +00:00
John Wiegley
c2b2a6cabf
Patch to change the default binding of C-a to eshell-bol. I don't think it's
...
actually bound at all by default in eshell; it just falls back to the default
binding of C-a.
2009-01-22 01:11:49 +00:00
John Wiegley
fd94644feb
Add eshell-handle-ansi-color to the default list of output filters.
2009-01-22 01:11:30 +00:00
Glenn Morris
cfa2928107
Comment (replace last-input-char with last-input-event).
2009-01-09 04:57:03 +00:00
Glenn Morris
1ba983e8d9
Replace last-command-char with last-command-event.
2009-01-09 04:23:38 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
1e262c4566
(eshell-needs-pipe): New variable.
...
(eshell-needs-pipe-p): New function.
(eshell-gather-process-output): Set process-connection-type according to
eshell-needs-pipe-p. (Bug#1388)
2008-11-30 01:28:01 +00:00
Glenn Morris
975c500dac
(eshell-gather-process-output): Revert previous change. (re-opens Bug#1388)
2008-11-25 04:26:22 +00:00
Glenn Morris
403e4dc989
(eshell-gather-process-output):
...
Set process-connection-type nil for all but the first element of a
pipeline. (Bug#1388)
2008-11-23 03:05:51 +00:00
Glenn Morris
5101a9dc47
(eshell-in-pipeline-p): Add doc-string.
...
(eshell-do-pipelines): Add optional argument to distinguish recursive
calls. Use to set eshell-in-pipeline-p to 'first for the first command
in a pipeline.
2008-11-23 03:02:48 +00:00
Glenn Morris
c108d549d4
Remove unused file.
2008-11-06 03:56:27 +00:00
Chong Yidong
2f29fae31b
(eshell-save-history-on-exit): Change default to t.
2008-11-03 03:02:56 +00:00
Glenn Morris
fc17acd1f1
Sven Joachim <svenjoac at gmx.de>
...
For clarity, explicitly require cl.
2008-10-08 07:42:58 +00:00
Glenn Morris
b7e9b5b0c8
(eshell-ls-files): List one per line in a pipeline, unless at the end
...
of the pipeline. (Bug#699).
2008-08-15 06:55:43 +00:00
Glenn Morris
3fe3fd2c6d
(eshell-do-pipelines): Indicate the last command in a pipeline.
2008-08-15 06:55:11 +00:00
Glenn Morris
c1043701f6
(eshell/which): Handle the case where no description is found.
2008-08-13 03:12:49 +00:00
Glenn Morris
ec04db35d0
(eshell-quote-backslash): Restrict previous change to XEmacs, since it
...
does nothing for Emacs.
2008-07-18 06:56:05 +00:00
John Wiegley
70357d0723
2008-07-17 Fan Kai <fktpp@xemacs.org>
...
* esh-arg.el (eshell-quote-backslash): Fix eshell path completion
for Windows.
2008-07-17 08:44:20 +00:00
Juanma Barranquero
92439579f3
Typos, doc fixes, etc.
...
* eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring.
(eshell-parse-argument-hook, eshell-special-chars-inside-quoting)
(eshell-arg-load-hook, eshell-special-chars-outside-quoting):
Remove spurious * in defcustom docstrings.
* textmodes/fill.el (fill-paragraph): Fix typo in docstring.
(fill-individual-varying-indent, colon-double-space, enable-kinsoku)
(adaptive-fill-mode, adaptive-fill-first-line-regexp)
(default-justification): Remove spurious * in defcustom docstrings.
* textmodes/rst.el (rst, rst-line-homogeneous-p, rst-mode-abbrev-table)
(rst-font-lock-keywords-function, rst-mode, rst-minor-mode)
(rst-compare-decorations, rst-default-indent, rst-update-section)
(rst-decoration-complete-p, rst-section-tree, rst-toc-insert-node)
(rst-toc-insert-find-delete-contents, rst-toc-count-lines)
(rst-toc-mode-goto-section, rst-faces, rst-level-face-base-color):
Fix typos in docstrings.
(rst-mode-lazy): Fix typo in docstring. Remove spurious *.
(rst-adjust, rst-line-homogeneous-p, rst-suggest-new-decoration)
(rst-get-decorations-around, rst-section-tree-point)
(rst-font-lock-adornment-point): Reflow docstrings.
(rst-get-decoration, rst-get-decoration-match, rst-adjust-decoration):
Doc fixes.
(rst-re-enumerations): Comment out.
2008-07-03 15:18:32 +00:00
Stefan Monnier
ee5b7365d5
(eshell-manipulate): Check eshell-debug-command is bound before using it.
2008-06-25 15:05:33 +00:00
Glenn Morris
1a32899de3
Remove unnecessary eval-when-compiles and eval-and-compiles.
2008-06-07 02:37:13 +00:00
Glenn Morris
3146b07069
Use eshell-defgroup rather than defgroup.
...
Autoload the custom group.
Set generated-autoload-file.
2008-05-21 03:51:08 +00:00
Glenn Morris
b5583b154b
(eshell-defgroup): New alias.
2008-05-21 03:50:42 +00:00
Glenn Morris
5bbed4274d
Require eshell, for eshell-defgroup.
...
Use eshell-defgroup rather than defgroup.
Autoload the custom group.
Set generated-autoload-file.
2008-05-21 03:50:25 +00:00
Glenn Morris
4184766e50
No need for cl when compiling.
...
Require eshell, for eshell-defgroup.
(eshell-load-defgroups): Remove.
Require esh-groups rather than loading it.
2008-05-21 03:49:48 +00:00
Juanma Barranquero
bbd4400609
(eshell-review-quick-commands): Don't use `iff' in docstring.
2008-05-08 03:39:26 +00:00
Glenn Morris
4ee57b2a2d
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:36:21 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Miles Bader
b03f96dc5a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Juanma Barranquero
0138efd4b3
*** empty log message ***
2008-02-05 12:07:11 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00