Commit graph

426 commits

Author SHA1 Message Date
Glenn Morris
cbd12ed70a (tramp-perl-encode, tramp-perl-decode): Update copyrights. 2007-01-21 20:38:00 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Michael Albinus
d8bba37c56 * net/tramp.el (tramp-handle-file-local-copy): Set
`enable-multibyte-characters' to nil.  Reported by Chris Moore
<christopher.ian.moore@gmail.com>.
2007-01-11 20:08:04 +00:00
Michael Albinus
e64666972e * net/tramp.el: (tramp-process-one-action): Remove `with-timeout'.
(tramp-process-actions): Add optional parameter TIMEOUT.
(tramp-open-connection-telnet, tramp-open-connection-rsh)
(tramp-open-connection-su): Add timeout of 60".
2007-01-09 05:04:15 +00:00
Michael Albinus
496f830892 * net/tramp.el (tramp-default-method): Don't call `symbol-function'.
Apply `funcall' directly on 'executable-find.
2006-12-31 15:03:51 +00:00
Michael Albinus
658052a2ce Sync with Tramp 2.0.55. 2006-12-30 16:17:10 +00:00
Michael Albinus
83e20b5c89 * net/tramp.el (tramp-default-method): We still need to check for
`executable-find', because it is not bound under Emacs 20.
2006-12-20 21:29:46 +00:00
Michael Albinus
e1e17cae49 * net/ange-ftp.el (ange-ftp-file-name-completion): Handle optional
parameter PREDICATE.

* lisp/tramp.el (tramp-handle-file-name-completion)
(tramp-completion-handle-file-name-completion): Handle optional
parameter PREDICATE.
(tramp-find-default-method): Add code for default values.
2006-12-20 05:57:41 +00:00
Michael Albinus
bb8792de32 *** empty log message *** 2006-12-19 07:26:25 +00:00
Michael Albinus
572b79d819 * net/tramp.el (tramp-methods): Introduce new method `scpc'.
Remove "ControlMaster" option from the other `scp*' methods.
(tramp-default-method): Check for ssh-agent before setting to
`scp'.
2006-12-19 06:56:27 +00:00
Michael Albinus
210a7c2c92 * net/tramp.el (tramp-default-method): Before setting to "pscp",
check whether package password.el is loaded, or Pageant is running.
2006-12-17 12:58:04 +00:00
Richard M. Stallman
216f14d30e No maintainer. 2006-12-15 02:13:51 +00:00
Glenn Morris
f2e3589a33 Update copyright years. 2006-12-09 04:06:06 +00:00
Stefan Monnier
addc252e94 (browse-url): Set DISPLAY to the one of the
current frame, in case we're connected to several displays.
2006-12-08 03:17:10 +00:00
Michael Albinus
5717642238 * net/tramp.el (tramp-methods): Add "ControlPath" and
"ControlMaster" to scp, scp1 and scp2 methods.  Suggested by
Andreas Schwab <schwab@suse.de>.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-open-connection-rsh): Compute format spec for ?t.
(tramp-process-actions): Trace command parameters.
2006-12-04 06:51:21 +00:00
Lars Hansen
6b2633cced (tramp-default-method): Under Windows, change from plink to pscp.
(tramp-copy-failed-regexp, tramp-action-copy-failed): Add.
(tramp-actions-copy-out-of-band): Add pair (tramp-copy-failed-regexp tramp-action-copy-failed).
(tramp-action-out-of-band): Move "Permission denied" handling to tramp-action-copy-failed.
(tramp-do-copy-or-rename-file-out-of-band): unwind-protect killing of process buffer.
2006-11-24 19:14:46 +00:00
Juanma Barranquero
92c4adc1e2 (rcirc-buffer-maximum-lines): Fix space/tab mixup in docstring. 2006-11-24 10:33:22 +00:00
Michael Albinus
d8d555f293 * net/tramp.el (top): cl and custom are always required. 2006-11-18 17:42:32 +00:00
Glenn Morris
95bb178f0c (tramp-unified-filenames): Improve previos doc fix. 2006-11-11 04:01:02 +00:00
Glenn Morris
3b004a2d9e (tramp-unified-filenames): Doc fix (Nil -> nil). 2006-11-10 09:10:07 +00:00
Michael Albinus
1d1c19ca25 * lisp/net/tramp.el (tramp-default-method): scp is the default method.
* man/tramp.texi (Configuration): scp is the default method.
(Default Method): Use ssh as example for another method.
2006-11-07 10:58:19 +00:00
Juanma Barranquero
bac964bb85 (eudc-expansion-overwrites-query): Use "non-nil" in docstrings. 2006-11-03 15:10:41 +00:00
Lars Hansen
8e7225a262 (with-parsed-tramp-file-name): Correct debug spec. Highlight as keyword.
(tramp-do-copy-or-rename-file): Correct data for 'file-already-exists.
Don't call tramp-method-out-of-band-p for local files.
(tramp-touch): Quote file name.
2006-10-29 12:55:35 +00:00
Chong Yidong
b96572ff12 * net/rcirc.el (rcirc-print): Fix last change. 2006-09-12 22:05:57 +00:00
Chong Yidong
d40ac716c0 * net/rcirc.el (rcirc-scroll-show-maximum-output): Rename from
rcirc-show-maximum-output.
	(rcirc-mode): Remove window-scroll-function hook.
	(rcirc-scroll-to-bottom): Remove function.
	(rcirc-print): Recenter so point stays at the bottom of the window
	if point was already there.
2006-09-12 16:48:55 +00:00
Eli Zaretskii
4fda7cef4e (ldap-search-internal): Doc fix. 2006-09-09 11:06:19 +00:00
Chong Yidong
325537113d * net/ldap.el (ldap-search-internal): Handle `auth' key. 2006-09-07 21:16:16 +00:00
Chong Yidong
82741a5eca * net/rcirc.el (rcirc-activity-string): Don't quote value in case
clause.
2006-09-07 20:56:24 +00:00
Eli Zaretskii
f8db61b2de (rcirc-keywords): New variable.
(rcirc-bright-nicks, rcirc-dim-nicks): New variables.
(rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Remove variables.
(rcirc-responses-no-activity): New function.
(rcirc-handler-generic): Check for responses in above.
(rcirc-process-command): Add ?: character to arguments of raw server commands.
(rcirc-format-response-string): Use `rcirc-bright-nicks' and `rcirc-dim-nicks'.
(rcirc-gray-toggle): Remove unused variable.
(rcirc-print): Remove some tracking logic, which is moved into markup functions.
(rcirc-activity-types): Was `rcirc-activity-type', now a list of types.
(rcirc-activity-string): Look for 'keyword in activity-types.
(rcirc-window-configuration-change): Don't erase overlay-arrow unnecessarily.
(rcirc-add-or-remove): New function.
(rcirc-cmd-ignore): Use it.
(rcirc-message-leader): Remove unused function.
(rcicr-cmd-bright, rcirc-cmd-dim, rcirc-cmd-keyword): New commands.
(rcirc-add-face): New function.
(rcirc-facify): Use rcirc-add-face.
(rcirc-url-regexp): Add parens.
(rcirc-map-regexp): Remove function.
(rcirc-mangle-regexp): Remove function.
(rcirc-markup-text-functions): New variable.
(rcirc-markup-text): New function (replaces `rcirc-mangle-text').
(rcirc-markup-body-text, rcirc-markup-attributes)
(rcirc-markup-my-nick, rcirc-markup-urls, rcirc-markup-keywords)
(rcirc-markup-bright-nicks): New markup handler functions.
(rcirc-nick-in-message-full-line): New face.
(rcirc-track-nick): Rename from `rcirc-mode-line-nick'.
(rcirc-track-keyword, rcirc-url, rcirc-keyword): New faces.
2006-09-02 21:25:11 +00:00
Michael Albinus
1a762140f1 Sync with Tramp 2.0.54. 2006-08-29 05:48:40 +00:00
Miles Bader
7faa3f8c0b Rcirc update from Ryan Yeske
2006-08-20  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc-show-maximum-output): New var.
   (rcirc-buffer-process): If no buffer argument is supplied, use
   current-buffer.
   (rcirc-complete-nick): Complete to the last completed nick first.
   (rcirc-mode): Preserve the value of `rcirc-urls' across
   connections.  Setup scroll function.
   (rcirc-scroll-to-bottom): New function.
   (rcirc-print): Use nick syntax around regexp work.  Notice
   dim-nicks speaking only if they say our nick.
   (rcirc-update-activity-string): Do not show the modeline indicator
   if there are no live rcirc processes.
   (rcirc-cmd-ignore): Ignore case.
   (rcirc-browse-url-at-point): Fix off-by-one error.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-403
2006-08-21 05:37:27 +00:00
Romain Francoise
c40408fbe7 * textmodes/dns-mode.el: Alias zone-mode' to dns-mode'.
(dns-mode-soa-auto-increment-serial): New user option.
(dns-mode-soa-maybe-increment-serial): New function.
(dns-mode): Add the latter to `write-contents-functions'.

* obsolete/zone-mode.el: Move to obsolete/ from net/.
Delete autoload cookies.
2006-08-10 20:06:19 +00:00
Chong Yidong
0d61de903d * net/goto-addr.el (goto-address): Mark as safe for local evals. 2006-07-05 12:35:22 +00:00
Michael Albinus
d163f71e86 * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. 2006-07-02 20:29:20 +00:00
Michael Albinus
08b1eb21d5 * net/rcompile.el (remote-compile): Replace ange-ftp based
implementation by Tramp functions.  Based on a patch published by
Marc Abramowitz <msabramo@gmail.com>.

* net/tramp.el (tramp-unload-tramp): Provide a doc string.
2006-06-25 21:05:03 +00:00
Eli Zaretskii
18aa2c90a0 (rcirc-default-user-full-name): Default to `rcirc-default-user-name' instead
of `rcirc-user-name' (which no longer exists).
(rcirc-process-list): Check `buffer-live-p' before attempting to switch to a
buffer.
2006-06-23 13:33:47 +00:00
Eli Zaretskii
aac5d1fdce (rcirc-mode): Fix initialization of coding systems based on
rcirc-coding-system-alist.
2006-06-23 13:23:39 +00:00
Michael Albinus
8a7269eb1b * net/tramp.el (tramp-touch): Use UTC to express time. 2006-06-15 21:55:39 +00:00
Chong Yidong
905575123f 2006-06-13 Martin J. Reed <mjreed@essex.ac.uk> (tiny change)
* net/ldap.el (ldap-ldapsearch-args): Default to SASL search.
	(ldap-search-internal): Keep error messages, and a regexp fix.
2006-06-13 20:31:32 +00:00
YAMAMOTO Mitsuharu
59b715013e (browse-url-file-url): Encode file name on conversion to URL. 2006-05-20 04:29:38 +00:00
Michael Albinus
b5bbf8f27d * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp
completion also when ido is loaded.
2006-05-09 04:26:23 +00:00
Michael Albinus
a01b1e220c * net/tramp.el (tramp-completion-file-name-handler-alist)
(tramp-run-real-handler, tramp-completion-run-real-handler)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Autoload them.
(tramp-completion-handle-file-exists-p)
(tramp-completion-handle-file-name-directory)
(tramp-completion-handle-file-name-nondirectory)
(tramp-completion-handle-expand-file-name): Remove them.
(tramp-handle-file-name-directory): Return the real directory
name.  Returning "/" only doesn't need to be necessary any longer.
(tramp-file-name-handler): Make special attention when in hostname
completion mode.
(tramp-completion-file-name-handler): Revert patch from
2006-04-28.
(tramp-register-file-name-handlers): Register
`tramp-completion-file-name-handler' only when
`partial-completion-mode� is enabled.
(tramp-completion-handle-file-name-all-completions): Delete
directory part from results.
(tramp-get-completion-methods, tramp-get-completion-user-host):
Discard deleting "/", it doesn't work after the change of
`tramp-handle-file-name-directory' above.
2006-05-01 13:22:15 +00:00
Richard M. Stallman
41c8e348f2 tramp-file-name-handler-alist): Delete expand-file-name and other
operations that can cause spurious loading.
2006-04-29 15:58:42 +00:00
Michael Albinus
1ecc6145d8 * net/tramp.el (tramp-completion-file-name-handler): Disable
Tramp's functionality while loading Tramp itself.
(tramp-register-file-name-handlers): That's a defsubst now.  Code
from `tramp-repair-jka-compr' moved here.  Apply it via
`after-init-hook'.
(tramp-repair-jka-compr): Removed.
2006-04-28 04:06:16 +00:00
Miles Bader
02f47e8630 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-247
Rcirc patch from Ryan Yeske

2006-04-25  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc-print): Revert last change with ignored nicks.
   (rcirc-toggle-low-priority): Doc fix.
   (rcirc-handler-NOTICE): Remove beginning of line anchor in
   ChanServ regexp.
   (rcirc-startup-channels-alist): Connect to #rcirc by default, not
   #emacs.
   (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Add variables.
   (rcirc-decode-coding-system): Use utf-8 as the default.
   (rcirc-multiline-minor-mode): Set the fill-column.
   (rcirc-format-response-string): Display bright and dim nicks.
   (rcirc-browse-url): Update interactive spec to fill ARG.
   (rcirc-bright-nick, rcirc-dim-nick): Add faces.
   (rcirc-print): Ignore dim-nick messages wrt modeline-activity.
2006-04-26 03:09:31 +00:00
Michael Albinus
8c04e197f2 * net/tramp.el (tramp-register-file-name-handlers): New defun.
Added with autoload cookie.
(tramp-unload-file-name-handlers): Renamed from
`tramp-unload-file-name-handler-alist'.
2006-04-23 21:45:28 +00:00
Juanma Barranquero
aa04257e45 (tramp-completion-file-name-handler): Revert change of 2006-04-17. 2006-04-18 10:02:40 +00:00
Michael Albinus
8580639069 Sync with Tramp 2.0.53. 2006-04-17 12:56:56 +00:00
Michael Albinus
32f9593c7c * net/tramp.el (tramp-display-shell-command-buffer): New defvar.
(tramp-handle-shell-command): Display output buffer only when
`tramp-display-shell-command-buffer' is true.
(tramp-handle-process-file): Set `tramp-display-shell-command-buffer'.
2006-04-13 19:51:04 +00:00
Eli Zaretskii
a2524d2695 (rcirc-default-server): Rename from rcirc-server.
(rcirc-default-port): Rename from rcirc-port.
(rcirc-default-nick): Rename from rcirc-nick.
(rcirc-default-user-name): Rename from rcirc-user-name.
(rcirc-default-user-full-name): Rename from rcirc-user-full-name.
(rcirc-low-priority-flag): New variable.
(rcirc-decode-coding-system): New defcustom.
(rcirc-encode-coding-system): New defcustom.
(rcirc-coding-system-alist): New defcustom.
(rcirc-multiline-major-mode): New defcustom.
(rcirc-nick): New internal variable.
(rcirc-process): Remove variable.
(rcirc-server-buffer): New variable.
(rcirc): Update to use rcirc-default-* variables above.
(rcirc-connect): Do not add window-configuration-hook-here.
(rcirc-server): New internal variable.
(rcirc-connect): Do not send keepalive pings if rcirc-keepalive-seconds is nil.
(with-rcirc-server-buffer): New macro.
(rcirc-send-string): Encode with rcirc-encode-coding-system.
(rcirc-server-name): Rename from rcirc-server.
(rcirc-buffer-process): New function.
(rcirc-buffer-nick): New function.
(rcirc-buffer-target): Remove function.
(set-rcirc-decode-coding-system, set-rcirc-encode-coding-system): New commands.
(rcirc-mode-map): Change binding of C-c C-l to rcirc-toggle-low-priority.
(rcirc-mode): Initialize coding system based on rcirc-coding-system-alist.
New change-major-mode-hook to part the channel on a mode change.
Make kill-buffer-hook buffer-local.
(rcirc-change-major-mode-hook): New function.
(rcirc-clean-up-buffer): Rename from rcirc-kill-buffer-hook-1.
(rcirc-last-post-time): New variable.
(rcirc-process-message): Store the last time user posted a message to this
target.
(rcirc-multiline-minor-mode): New mode.
(rcirc-multiline-minor-mode-map): New mode map.
(rcirc-edit-multiline): Put multiline-edit buffer in
rcirc-multiline-major-mode along with rcirc-multiline-minor-mode.
(rcirc-print): Any line starting with an ignored nick will be ignored.
(rcirc-print): Decode using rcirc-decode-coding-system.
(rcirc-track-minor-mode): Update global-mode-string when disabling this mode.
(minor-mode-alist): add LowPri indicator.
(rcirc-toggle-low-priority): New function.
(rcirc-last-non-irc-buffer): Prefix arg now no means switch to next low priority
buffer with activity.
(rcirc-record-activity): Sort buffers in rcirc-activity by the last time the
user posted a message in to the target.
(rcirc-update-activity-string): New formatting for low priority buffers.
(rcirc-split-activity): New function.
(rcirc-handler-PART, rcirc-handler-KICK)
(rcirc-handler-PART-or-KICK): Kick responses are printed properly.
(rcirc-nick-away-alist): New variable.
(rcirc-handler-301): New handler.  Away messages are printed once per change.
2006-04-08 10:23:53 +00:00