Commit graph

509 commits

Author SHA1 Message Date
Michael Albinus
d037d50168 * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
(rfn-eshadow-update-overlay-hook): New defvars.
(rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay): Run
the hooks.

* net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay): New defuns.  Hook into
rfn-eshadow.el.

* net/tramp-smb.el (tramp-smb-errors): Add error message for call
timeout.
2007-09-21 05:24:06 +00:00
Stefan Monnier
ab8e678c8c Remove spurious * in docstrings.
(snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
(snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
(snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
that completion accepts lists of strings.
(snmp-mode-syntax-table): Move initialization into declaration.
(snmp-mode-map): Likewise and remove \t binding.
(snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
(snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
(snmp-indent-command): Remove.
2007-09-19 14:20:54 +00:00
Michaël Cadilhac
a38de16e85 (browse-url-elinks-new-window): New function.
(browse-url-elinks): Use browse-url-elinks-new-window.  Accept
optional second argument `new-window'.  Fix typo in doc-string.
(browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
Improve error message.
2007-09-19 11:26:57 +00:00
Michaël Cadilhac
59c4e1dad9 (browse-url-url-encode-chars): Use the right parameter name in the function body.
Reported by Johannes Weiner.
2007-09-19 11:22:03 +00:00
Glenn Morris
b87474fca5 (socks-open-network-stream): Standardize error message from previous
change.
2007-09-19 07:57:47 +00:00
Glenn Morris
15bd294df1 (socks-open-network-stream): Signal an explicit error if the port
associated with a service string can't be found.
2007-09-19 07:52:30 +00:00
Michaël Cadilhac
6eddc3bb42 (browse-url-url-encode-chars): New function.
URL-encode some chars in a string.
(browse-url-encode-url): Rewrite using the previous function.
(browse-url-file-url): Use `browse-url-url-encode-chars'.
(browse-url-elinks-sentinel): Fix typo.
(browse-url-new-window-flag): Doc change.
2007-09-17 15:59:55 +00:00
Michaël Cadilhac
ad56e18b1f (browse-url-encode-url): Fix an infinite loop.
New argument `filename-p' to use one set of confusing chars or another.
(browse-url-file-url): Use the argument.
Suggested by Johannes Weiner.
2007-09-12 11:48:34 +00:00
Thien-Thi Nguyen
2842194587 (browse-url-encode-url): Use copy-sequence. 2007-09-10 18:24:38 +00:00
Michael Albinus
8a4438b672 * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
they are useless with the byte compiler.
(tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
(tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
(tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
(tramp-file-name-real-host, tramp-file-name-port)
(tramp-find-method, tramp-find-user, tramp-find-host): Make them
defuns.

* net/tramp-cache.el (top): Improve error message when
`tramp-persistency-file-name' is corrupted.
2007-09-09 08:31:27 +00:00
Eli Zaretskii
5edcabcbc6 (browse-url-galeon): Fix last change.
(top-level): Require cl when compiling.
2007-09-08 09:53:34 +00:00
Glenn Morris
8c22c51a1b Johannes Weiner <hannes at saeurebad.de>
(browse-url-browser-function): Add elinks.
(browse-url-elinks-wrapper): New option.
(browse-url-encode-url, browse-url-elinks)
(browse-url-elinks-sentinel): New functions.
(browse-url-file-url, browse-url-netscape, browse-url-mozilla)
(browse-url-firefox, browse-url-galeon, browse-url-epiphany): Use
new function browse-url-encode-url.
2007-09-07 04:37:01 +00:00
Michael Albinus
b83483d541 * net/ange-ftp.el: Add ange-ftp property to 'set-file-modes and
'set-file-times.
2007-08-30 19:58:28 +00:00
Michael Albinus
8d60099b80 * net/tramp.el (tramp-handle-set-file-times): Flush the file
properties.
(tramp-set-file-uid-gid, tramp-get-local-uid)
(tramp-get-local-gid): New defuns.
(tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
(tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
Improve fast track.
(tramp-do-copy-or-rename-file-directly): Sync parameter list with
the other tramp-do-copy-or-rename-file-* functions.  Major
rewrite.
(tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
(tramp-handle-write-region): Improve fast track.
(tramp-handle-file-remote-p): IDENTIFICATION can also be
'localname.
(tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
be nil.
2007-08-28 20:09:58 +00:00
Miles Bader
7f22a76506 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 97-100)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 246-247)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-860
2007-08-27 04:00:19 +00:00
Michael Albinus
0f205eeefa * net/tramp.el (tramp-local-host-p): New defun.
(tramp-handle-file-local-copy, tramp-handle-write-region):
Implement fast track when being on the local host.
(tramp-file-name-handler): Don't set "started" property.  It shall
be reserved for the "ftp" method.
(tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.

* net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
(tramp-ftp-file-name-handler):  Set "started" property.
2007-08-24 05:27:22 +00:00
Stefan Monnier
5e835c9f55 Remove spurious * in custom docstrings.
(browse-url-filename-alist): Use new-style backquote.
2007-08-23 18:41:14 +00:00
Stefan Monnier
8d559559ce (socks-username/password-auth-filter):
Remove unused vars `state' and `desired-len'.
(socks-parse-services, socks-nslookup-host): Use with-current-buffer.
(socks-wait-for-state-change): Use new-style backquotes.
2007-08-23 18:36:07 +00:00
Stefan Monnier
378f9937f1 (browse-url-emacs): New function. 2007-08-22 18:52:59 +00:00
Michael Albinus
f84638eb6b * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
otherwise.
(tramp-get-remote-path): New defun.  Replace occurences of
`tramp-default-remote-path' by this function.
(tramp-set-remote-path): Move most of the code to
`tramp-get-remote-path'.
(tramp-get-ls-command, tramp-get-remote-id): Don't check for not
existing directories, this is done already in
`tramp-get-remote-path'.
2007-08-22 05:47:42 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e7f767c25e Replace `iff' in doc-strings and comments. 2007-08-08 07:34:30 +00:00
Michael Albinus
27e813fe4b * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
global matching.
(tramp-handle-process-file): Fix bug inserting
resulting output.
(tramp-handle-shell-command): Handle OUTPUT-BUFFER and
ERROR-BUFFER more robust.  Display output.
(tramp-file-name-handler): Add a connection property when we found
a foreign file name handler.  This allows backends like ftp to
profit also from usr/host name completion based on connection
cache.
(tramp-send-command-and-read): Search for trash after the regexp
until eol only.  In XEmacs, there is a problem with \n.

* net/tramp-cache.el (top): Read persistent connection history
when cache is empty.
2007-08-07 20:30:20 +00:00
Michael Albinus
d62c9a33c4 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
parameters IDENTIFICATION and CONNECTED.
(tramp-handle-insert-file-contents): VISIT must be handled after
insertion of the local copy.  Reported by Peter Gordon
<peter@pg-consultants.com>.
(tramp-file-name-handler): No special handling for
`expand-file-name'.  But for `file-name-as-directory'.
(tramp-find-shell, tramp-open-connection-telnet)
(tramp-open-connection-rsh, tramp-open-connection-su)
(tramp-open-connection-multi)
(tramp-open-connection-setup-interactive-shell): Guard against
$PROMPT_COMMAND shell var.  Reported by Steve Youngs
<steve@sxemacs.org>.
(tramp-append-tramp-buffers): Replace "sensible" by "sensitive" in
the hint.

* net/trampver.el: Update release number.
2007-08-07 20:04:27 +00:00
Michael Albinus
1f3d1bea39 *** empty log message *** 2007-08-06 07:23:39 +00:00
Michael Albinus
75c23f5f85 *** empty log message *** 2007-08-06 07:22:20 +00:00
Michael Albinus
5bc880a47d * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:57:31 +00:00
Michael Albinus
227eb74497 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:50:09 +00:00
Michael Albinus
6435918d3d * net/tramp.el (tramp-handle-file-remote-p): Return a string as
remote identification.
2007-08-05 12:43:06 +00:00
Glenn Morris
14f7b89dd3 (telnet-mode): Fix previous change. 2007-08-03 17:09:43 +00:00
Glenn Morris
866c361431 (telnet-mode): Fix previous change. 2007-08-03 17:09:01 +00:00
Glenn Morris
3ff6796841 (telnet-mode): Set comint-use-prompt-regexp to t. 2007-08-03 03:21:13 +00:00
Glenn Morris
3b7a686f54 (telnet-mode): Set comint-use-prompt-regexp to t. 2007-08-03 03:20:00 +00:00
Miles Bader
2f12b71311 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 75-83)

   - Update from CVS
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Indicate that emacs--devo--0--patch-834 does not need to be applied
   - Merge from gnus--rel--5.10
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * gnus--rel--5.10  (patch 239-241)

   - Merge from emacs--devo--0
   - Update from CVS

2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)

   * lisp/emacs-lisp/copyright.el (copyright-update-year, copyright-update)
   (copyright-fix-years, copyright): Correctly handle the case where
   copyright-limit is nil.

2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)

   * lisp/progmodes/python.el (run-python): Fix path separator under w32.

2007-07-24  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-msg.el (gnus-summary-supersede-article)
   (gnus-summary-resend-message-edit): Add Gcc header.
   (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent
   article's Message-ID; refer parent article in summary buffer.

   * lisp/gnus/message.el (message-bounce): Call mime-to-mml.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-838
2007-07-31 05:02:54 +00:00
Michael Albinus
bce04feefd * net/tramp.el:
* net/tramp-uu.el:
* net/trampver.el: Use utf-8 encoding with coding cookie.

* net/tramp-cache.el:
* net/tramp-fish.el:
* net/tramp-ftp.el:
* net/tramp-gw.el:
* net/tramp-smb.el: Remove coding cookie.

* net/tramp.el (tramp-handle-verify-visited-file-modtime): Flush
buffer file-name's file property.
(tramp-handle-file-remote-p): The first parameter is FILENAME.

* net/trampver.el: Update release number.
2007-07-29 15:32:56 +00:00
Eli Zaretskii
fabbdc2f84 Fix the `coding' cookie. 2007-07-28 08:09:08 +00:00
Eli Zaretskii
59b65f0076 Fix the `coding' cookie. 2007-07-28 07:47:37 +00:00
Michael Albinus
f4d70220be *** empty log message *** 2007-07-26 05:31:30 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Michael Albinus
26d5acdf99 *** empty log message *** 2007-07-26 05:23:51 +00:00
Glenn Morris
ceaeecb0c9 Switch license to GPLv3 or later. 2007-07-25 04:27:24 +00:00
Glenn Morris
86cd4e1c16 Standardize license wording, and switch license to GPLv3 or later. 2007-07-25 04:25:23 +00:00
Kenichi Handa
80f462b754 (webjump-url-encode): Fix for non-ASCII characters. 2007-07-25 00:54:44 +00:00
Michael Albinus
d4443a0d7d * net/tramp.el (tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes)
(tramp-handle-file-attributes-with-stat)
(tramp-handle-directory-files-and-attributes-with-stat(
(tramp-convert-file-attributes): Handle huge file sizes.
2007-07-23 20:37:33 +00:00
Michael Albinus
31c7000226 Sync with Tramp 2.1.10. 2007-07-22 16:50:21 +00:00
Michael Albinus
bbd281458d *** empty log message *** 2007-07-22 16:44:07 +00:00
Michael Albinus
ce3f516fed * net/tramp.el (tramp-handle-file-remote-p): Handle optional
parameter IDENTIFICATION.
(tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
(tramp-file-name-handler-alist, tramp-file-name-for-operation):
Add entry for `set-file-times'.
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
(tramp-handle-unhandled-file-name-directory): Rewrite.
(tramp-convert-file-attributes): Add error handling when inode is
extraordinary big.
(tramp-get-inode): Change parameter from FILE to VEC.
(tramp-handle-start-file-process ): Use (current-buffer) if BUFFER
is NIL.  This is according to the specification.  Goto (point-max)
when ready.
(tramp-handle-shell-command): Rewrite completely, using
`process-file' and `start-file-process'.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
var.  Reported by Steve Youngs <steve@sxemacs.org>.

* net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
entry for `set-file-times'.  Rename `start-process' into
`start-file-process'.  Remove `call-process' entry.
(tramp-fish-handle-set-file-times): New defun.
(tramp-fish-handle-executable-find): Use `process-file'.
(tramp-fish-handle-process-file): New defun.  Replaces
`tramp-fish-handle-call-process'.
(tramp-fish-do-copy-or-rename-file-directly): Use
`set-file-times'.
(tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.

* net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
`tramp-get-inode' parameter.
2007-07-17 21:10:07 +00:00
Michael Albinus
3bd84a2269 * net/ange-ftp.el: (ange-ftp-file-remote-p): Handle optional
parameter IDENTIFICATION.
2007-07-17 21:09:12 +00:00
Miles Bader
5d27646d21 Changes from arch/CVS synchronization 2007-07-10 02:03:14 +00:00
Miles Bader
69e4c7c4ba Add arch tagline 2007-07-09 06:48:40 +00:00