1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

1033 Commits

Author SHA1 Message Date
Michael Albinus
c35fcd5222 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
messages.
2010-02-02 12:19:36 +01:00
Michael Albinus
e5c70c4117 * net/tramp.el (tramp-handle-insert-directory): Handle also
symlinks, when FILENAME is not in `default-directory'.
2010-01-29 17:23:25 +01:00
Stefan Monnier
15ad855107 Fix up spurious execute-bit on net/tramp.el 2010-01-28 16:55:43 -05:00
Michael Albinus
0c0b61f1ea * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
FILENAME is not in `default-directory'.  (Bug#5478)

* net/tramp.el (tramp-handle-insert-directory): Simplify handling
of SWITCHES.  Handle the case, FILENAME is not in
`default-directory'.  (Bug#5478)
(tramp-register-file-name-handlers): Add safe-magic property.
2010-01-28 22:13:01 +01:00
Michael Albinus
7e5686f0e5 Fix some busybox annoyances.
* net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
not responding." string.
(tramp-open-connection-setup-interactive-shell): Dump stty
settings.  Enable "neveropen" arg for all `tramp-send-command'
calls.  Handle "=" in variable values properly.
(tramp-find-inline-encoding): Raise an error, when no encoding is
found.
(tramp-wait-for-output): Check, whether PROC buffer is available.
Remove spurious " ^H" sequences, sent by busybox.
(tramp-get-ls-command): Suppress coloring, if possible.
2010-01-28 07:06:41 +01:00
Michael Albinus
0536254eb9 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
(tramp-smb-maybe-open-connection): Use it.
2010-01-23 12:02:28 +01:00
Michael Albinus
411d06c27c * net/tramp-imap.el (top): Autoload needed packages. 2010-01-22 22:19:50 +01:00
Juanma Barranquero
db9e401b3b Fix typos in docstrings, error messages, etc. 2010-01-18 05:39:40 +01:00
Chong Yidong
6554a5df3a * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
to mairix-search to suppress threading (Bug#5342).
2010-01-15 11:55:43 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Chong Yidong
da76998b68 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
They are valid characters in URL paths (rfc3986), and at least
Firefox does not understand the encoded version (Bug#3166).
2010-01-02 15:14:54 -05:00
Chong Yidong
f2ec0e5e49 * lisp/net/rcirc.el: Add follow-link binding (Bug#4738). 2010-01-02 11:13:22 -05:00
Juanma Barranquero
0472835ff2 lisp/*: Fix typos in docstrings and messages. 2010-01-02 02:05:44 +01:00
Michael Albinus
7f4d4a978d * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
switches.  Check also for //SUBDIRED// line.
2009-12-26 20:04:43 +00:00
Michael Albinus
1f3611c61a * files.el (file-expand-wildcards): In case of remote files, check
only local file name part for wildcards.  Provide feature 'files
and subfeature 'remote-wildcards.  (Bug#5198)

* net/tramp.el (tramp-handle-file-remote-p): Expand file name only
if there is already an established connection.
(tramp-advice-file-expand-wildcards): Remove it.

* net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
(tramp-advice-file-expand-wildcards): Moved from tramp.el.
Activate advice for older GNU Emacs versions.  (Bug#5237)
2009-12-17 13:18:03 +00:00
Michael Albinus
68712eb605 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
(tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
(tramp-check-for-regexp): Check also, when an echoing shell stops
to echo sent commands.
2009-12-15 21:11:39 +00:00
Michael Albinus
31bb373f92 * net/dbus.el (dbus-property-handler): Filter lambda forms out
when responding to "GetAll" properties.
2009-12-12 19:18:33 +00:00
Michael Albinus
fe5facd3c0 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. 2009-12-09 10:23:00 +00:00
Michael Albinus
dab816a917 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
Berbain <raphael.berbain@gmail.com>.

* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
characters.
(tramp-initial-end-of-output): New defconst.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Use it.
(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
existence of `#' and `$'.

* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-initial-end-of-output'.
2009-12-07 06:38:06 +00:00
Ulf Jasper
8e39154d85 Fixed Bug#5096. 2009-12-06 19:49:04 +00:00
Ulf Jasper
571855b631 Fixed Bug#5008. 2009-12-06 18:13:19 +00:00
Ulf Jasper
0c74a3010d Newsticker fixes/changes. 2009-12-04 19:27:42 +00:00
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
e2a421af39 * net/tramp.el (tramp-maybe-open-connection): Open the remote
shell with "exec" when possible.  This prevents trailing prompts
in `start-file-process'.
2009-11-29 20:05:23 +00:00
Michael Albinus
f06dbf7ea9 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
(ange-ftp-directory-files-and-attributes)
(ange-ftp-real-directory-files-and-attributes): New defuns.
2009-11-29 20:04:08 +00:00
Daiki Ueno
6c6f788d8a (socks-send-command): Convert binary request to
unibyte before sending.  This fixes mishandling of some port
numbers such as 129.
2009-11-27 07:35:14 +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
Chong Yidong
5241b291dd * net/browse-url.el (browse-url-filename-alist): On Windows, add
two slashes to the "file:" prefix.
(browse-url-file-url): De-munge Cygwin filenames before passing
them to Windows browser.
(browse-url-default-windows-browser): Use call-process.
2009-11-23 20:58:55 +00:00
Michael Albinus
b593f1055a * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
return.
(tramp-handle-make-symbolic-link)
(tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
Quote file names.
(tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
(tramp-handle-process-file): Use it.
2009-11-23 15:59:07 +00:00
Chong Yidong
e572025ff1 * net/browse-url.el (browse-url-default-windows-browser): Use
cygstart for cygwin.
2009-11-20 21:49:46 +00:00
Michael Albinus
4265deabcb * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set
variables for computing the prompt for reading password.
2009-11-19 09:25:40 +00:00
Glenn Morris
27cacd2d42 (newsticker-treeview-treewindow-width)
(newsticker-treeview-listwindow-height): Fix custom type.
2009-11-19 07:13:29 +00:00
Michael Albinus
303ffde825 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
2009-11-17 14:58:08 +00:00
Michael Albinus
e268e987dc * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
Don't set `ad-return-value' if `ad-do-it' doesn't.
2009-11-17 10:38:44 +00:00
Glenn Morris
2d84f8043a (newsticker--treeview-list-update-faces):
Preserve point in the list buffer.  (Bug#4939)
Use point-at-eol.
(newsticker--treeview-list-update-highlight)
(newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2009-11-17 04:41:15 +00:00
Michael Albinus
d3e971853d * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
error when `tramp-gvfs-dbus-event-vector' is set.
(tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2009-11-16 20:10:39 +00:00
Michael Albinus
c0a3970225 * net/dbus.el (dbus-unregister-service): New defun.
(dbus-register-property): Register the handlers for
"org.freedesktop.DBus.Properties" for SERVICE.
(dbus-property-handler): Fix docstring.
2009-11-16 14:25:43 +00:00
Michael Albinus
b172ed20e0 * net/dbus.el (dbus-registered-objects-table): Renamed from
`dbus-registered-functions-table', because it contains also
properties.
(dbus-unregister-object): Unregister also properties.
(dbus-get-property, dbus-set-property, dbus-get-all-properties):
Use a timeout of 500 msec, in order to not block.
(dbus-register-property, dbus-property-handler): New defuns.
2009-11-13 16:05:24 +00:00
Michael Albinus
d7ec1df722 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
(tramp-advice-minibuffer-electric-tilde): Unload advices via
`tramp-unload'.
(tramp-advice-make-auto-save-file-name)
(tramp-advice-file-expand-wildcards): Apply also `ad-activate'
after removing the advice.
2009-11-11 14:40:18 +00:00
Dan Nicolaescu
04991a1c0d * net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (set-coding-system-map)
(mule-menu-keymap):
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* vc-hooks.el (vc-menu-map): Use menu-bar-separator.
2009-11-11 06:06:43 +00:00
Dan Nicolaescu
6bdad9ae02 * term/x-win.el (x-gtk-stock-map):
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Michael Albinus
3f3241732d *** empty log message *** 2009-11-09 22:15:41 +00:00
Michael Albinus
8fb1629fa3 * net/dbus.el (dbus-unregister-object): Release service, if no
other method is registered for it.
2009-11-09 22:05:25 +00:00
Michael Albinus
e824431077 * net/trampver.el: Update release number. 2009-11-08 10:45:22 +00:00
Michael Albinus
191bb792fb * net/tramp.el (tramp-advice-make-auto-save-file-name)
(tramp-advice-file-expand-wildcards): Unload via
`ad-remove-advice'.

* net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
`ad-do-it'.

* net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
in order to keep context in SELinux.
2009-11-08 10:44:22 +00:00
Michael Albinus
7e6591a1f5 * net/trampver.el: Update release number. 2009-11-07 23:56:24 +00:00
Michael Albinus
ede9503b68 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-delete-directory ): Use
`tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2009-11-07 23:55:30 +00:00
Michael Albinus
55a57586c6 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
* net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
`tramp-compat-delete-directory'.
2009-11-07 23:54:29 +00:00
Michael Albinus
3426871b16 * net/tramp-compat.el (tramp-compat-copy-directory)
(tramp-compat-delete-directory): New defuns.
2009-11-07 23:53:29 +00:00
Michael Albinus
b000a6e24e * net/tramp.el (tramp-handle-copy-directory): Don't use
`file-remote-p' (due to compatibility).
2009-11-07 23:52:48 +00:00