1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 04:10:18 -08:00
Commit graph

387 commits

Author SHA1 Message Date
Kai Großjohann
97e810ff41 (ange-ftp-remote-shell): Remove variable.
(ange-ftp-call-chmod): Reference remote-shell-program instead of
ange-ftp-remote-shell.
2004-10-10 19:53:24 +00:00
Richard M. Stallman
350ca08dfb Comment change. 2004-09-20 15:47:41 +00:00
Miles Bader
23f87bede0 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Merge from emacs--gnus--5.10, gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--base-0
   tag of miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-464

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-1
   Import from CVS branch gnus-5_10-branch

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-2
   Merge from lorentey@elte.hu--2004/emacs--multi-tty--0, emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-3
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-4
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-18
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-19
   Remove autoconf-generated files from archive

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-20
   Update from CVS
2004-09-04 13:13:48 +00:00
Richard M. Stallman
260763dbb0 (ange-ftp-gwp-start, ange-ftp-nslookup-host)
(ange-ftp-start-process): Use set-process-query-on-exit-flag.
2004-08-22 17:11:34 +00:00
David Kastrup
311f32fe0f (ange-ftp-hash-entry-exists-p)
(ange-ftp-file-entry-p, ange-ftp-file-symlink-p): Since the code
has been converted to use hashtables, the relation `nil=none' is
no longer valid, as `nil' is not a hashtable.  This patch tries to
reduce the number of resulting errors.
2004-08-21 21:50:06 +00:00
Michael Albinus
48ddd622ab Sync with Tramp 2.0.44. 2004-08-10 21:18:38 +00:00
Kai Großjohann
cdfa3eccb1 (tramp-handle-verify-visited-file-modtime): New
docstring.  From Luc Teirlinck.
2004-07-17 21:33:32 +00:00
Kai Großjohann
07dfe73898 Sync with Tramp 2.0.43.
(tramp-handle-verify-visited-file-modtime): Remove
outdated comment.
(tramp-locked, tramp-locker): New variables for implementing a
global lock.
(tramp-sh-file-name-handler): Use them to implement the global
lock.
2004-07-17 17:28:43 +00:00
Luc Teirlinck
12cd6dfb85 (tramp-handle-verify-visited-file-modtime): `visited-file-modtime' now
returns a list of two integers, instead of a cons.
2004-07-14 23:04:14 +00:00
Kai Großjohann
15cc764cd1 (tramp-handle-file-remote-p): New implementation to
agree with new return value of `file-remote-p'.
This syncs with Tramp 2.0.42.
2004-06-26 15:28:33 +00:00
Kai Großjohann
3f78877397 * net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
according to new documentation of `file-remote-p'.

* files.el (file-remote-p): Fix doc to say that return value is
identification of remote system, if not nil.
(file-relative-name): Use new return value of `file-remote-p'.
2004-06-26 14:41:13 +00:00
Luc Teirlinck
655f2a083e (goto-address-fontify): Fix help-echo text. 2004-06-23 14:39:11 +00:00
Kai Großjohann
2fcaee47a4 Sync with Tramp.
(tramp-let-maybe): ReportReverse args of `get'.
(tramp-let-maybe): Move to an earlier spot in the file.  Patch by
Andreas Schwab.
2004-05-30 21:00:53 +00:00
Michael Albinus
e28c066825 (ange-ftp-file-remote-p): New defun.
(top): Remove setting of `file-remote-p' property for
`ange-ftp-hook-function'.  Add `ange-ftp' property to
`file-remote-p'.
2004-05-29 22:43:24 +00:00
Michael Albinus
19a8706403 Version 2.0.41 of Tramp released. 2004-05-29 22:28:49 +00:00
Richard M. Stallman
657962fc48 (browse-url-interactive-arg): Doc fix. 2004-05-29 15:34:50 +00:00
Juanma Barranquero
4c4939993a (browse-url-interactive-arg): Enable user to explicitly select the text to
be taken as URL.
2004-05-23 22:38:30 +00:00
Pavel Janík
f0975dfd6c Avoid mixing standard error output messages into the search result. 2004-05-19 19:06:54 +00:00
Stefan Monnier
46554de4a0 (telnet-mode): Use define-derived-mode.
Don't modify the global value of comint-prompt-regexp.
2004-05-13 14:30:22 +00:00
Juanma Barranquero
d0aa1aab84 (quickurl, quickurl-browse-url, quickurl-read):
Don't use CL-style default args.
2004-05-09 01:55:31 +00:00
Kai Großjohann
38c65fca8d 2004-05-07 Kai Grossjohann <kai@emptydomain.de>
Version 2.0.40 of Tramp released.

	* net/tramp.el (tramp-completion-mode, tramp-md5-function): Use
	symbol-function to invoke functions only known on some Emacs
	flavors.  This avoids byte-compiler warnings.  Reported by Kevin
	Scaldeferri <kevin@scaldeferri.com>.
	(tramp-do-copy-or-rename-file-via-buffer): Renamed from
	tramp-do-copy-or-rename-via-buffer (without `file'), to make it
	consistent with the other tramp-do-* functions.
	(tramp-do-copy-or-rename-file): Calls adjusted.
	(tramp-process-initial-commands): Avoid liveness check on shell --
	we know that it must be alive since we're opening a connection at
	this moment.
	(tramp-last-cmd): New internal variable.
	(tramp-process-echoes): New tunable.
	(tramp-send-command): Set tramp-last-cmd.
	(tramp-wait-for-output): Delete echo, if applicable.
	(tramp-read-passwd): Construct the key for the password cache in a
	way that works for multi methods, too.
	(tramp-bug): Add backup-directory-alist and
	bkup-backup-directory-info to bug reports, with Tramp
	counterparts.

2004-05-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp*.el: Suppress byte-compiler warnings where possible.

	* net/tramp.el (tramp-out-of-band-prompt-regexp)
	(tramp-actions-copy-out-of-band): New defcustoms.
	(tramp-do-copy-or-rename-file-out-of-band): Asynchronous process
	used instead of a synchronous one.  Allows password entering.
	(tramp-action-out-of-band): New defun.
	(tramp-open-connection-rsh, tramp-method-out-of-band-p): Remove
	restriction with password from doc string.
	(tramp-bug): Add variables `tramp-terminal-prompt-regexp',
	`tramp-out-of-band-prompt-regexp',
	`tramp-actions-copy-out-of-band', `password-cache' and
	`password-cache-expiry'.
	(toplevel): Remove todo item wrt ssh-agent.  Obsolete due to
	password caching.
	(tramp-touch): FILE can be a local file, too.
	(TODO): Remove items done.
	(tramp-handle-insert-directory): Properly quote file name also if
	not full-directory-p.  Handle wildcard case.  Reported by Andreas
	Schwab <schwab@suse.de>.
	(tramp-do-copy-or-rename-file-via-buffer): Set permissions of the
	new file.
	(tramp-handle-file-local-copy, tramp-handle-write-region): The
	permissions of the temporary file are set if filename exists.
	Reported by Ted Stern <stern@cray.com>.
	(tramp-backup-directory-alist)
	(tramp-bkup-backup-directory-info): New defcustoms.
	(tramp-file-name-handler-alist): Add entry for
	`find-backup-file-name'.
	(tramp-handle-find-backup-file-name): New function.  Implements
	Tramp's find-backup-file-name.

	* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add entry
	for `find-backup-file-name'.

	* net/tramp-vc.el (tramp-vc-workfile-unchanged-p): Correct typo
	("file" -> "filename").  Reported by Kim F. Storm <storm@cua.dk>.
2004-05-07 21:20:10 +00:00
Eli Zaretskii
7844257c6e (browse-url-netscape-sentinel)
(browse-url-mozilla-sentinel, browse-url-galeon-sentinel)
(browse-url-epiphany-sentinel, browse-url-mosaic): Use
browse-url-*-program instead of a literal program name.
2004-04-27 14:03:10 +00:00
Kim F. Storm
8fb5d2f1d9 (telnet): Add optional port arg. 2004-04-21 21:42:06 +00:00
Stefan Monnier
4a8da016ca (ldap-search): Use list*. 2004-04-12 04:12:02 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
David Kastrup
78cfc6adfc (browse-url-generic): Use call-process
instead of start-process to allow browsers that fork and detach.
2004-04-02 14:33:08 +00:00
Jason Rumney
f6a20b2cca (ldap-search-internal): Handle file URLs with drive
letters on DOS/Windows.
2004-03-11 21:10:21 +00:00
Eli Zaretskii
1abcd08819 (rfc2368-parse-mailto-url): Autoload.
(browse-url-mail): Use it.
2004-03-07 19:59:15 +00:00
Juri Linkov
26f7657a37 (browse-url-netscape, browse-url-mozilla, browse-url-galeon,
browse-url-epiphany): Encode dollar signs in URL to prevent their
substitution with the environment variable values by browsers.
2004-03-02 14:55:32 +00:00
Kai Großjohann
5ec2cc41db Tramp: sync with upstream version 2.0.39. 2004-02-29 17:52:17 +00:00
Eli Zaretskii
279dffd676 * net/telnet.el (telnet-interrupt-subjob): Move doc string to the correct place.
* progmodes/icon.el (icon-indent-command): Ditto.
* textmodes/paragraphs.el (repunctuate-sentences): Ditto.
2004-02-16 19:35:20 +00:00
Andreas Schwab
d7f9eef038 (webjump-builtin): Add missing format string
argument.
2004-02-08 22:32:51 +00:00
Richard M. Stallman
836078f66a (ange-ftp-file-attributes):
Pass 2 args to ange-ftp-real-file-attributes only if ID-FORMAT non-nil.
2004-01-05 13:58:18 +00:00
Richard M. Stallman
5da640603d (ange-ftp-start-process): Copy the environment. 2003-12-29 20:00:36 +00:00
Eli Zaretskii
ecd5fe1f75 (ange-ftp-name-format): Allow USER to contain
"@", as required by some ISP hosting service.  Fix defcustom
argument syntax errors that prevented use of customization.
2003-12-29 13:22:30 +00:00
Eli Zaretskii
d42f90385b (zone-mode): Use write-file-functions, not write-file-hooks. 2003-12-29 12:57:07 +00:00
Sam Steingold
c438366720 (ange-ftp-file-attributes): Add new optional parameter ID-FORMAT. 2003-12-29 01:01:48 +00:00
Kai Großjohann
c951aecb30 (tramp-chunksize): Extend docstring. Suggested by
Charles Curley <charlescurley@charlescurley.com>.
(tramp-multi-connection-function-alist): Add ssht entry which adds
"-e none -t -t" to the list of ssh args.  Suggested by Adrian
Aichner.
(tramp-get-method-parameter): New function to retrieve a method
parameter.  This allows for omission of method parameters.
Callers adjusted.
2003-11-30 18:15:22 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
6df73ca392 (ange-ftp-error): Add save-excursion. 2003-08-17 00:19:18 +00:00
John Paul Wallington
674dd916f1 (browse-url-epiphany): Doc fix. 2003-08-01 00:32:34 +00:00
Kai Großjohann
90f8dc0308 Tramp 2.0.36 released.
* net/tramp.el (tramp-default-password-end-of-line): Renamed from
tramp-password-end-of-line.
(tramp-password-end-of-line): New method parameter.
(tramp-get-password-end-of-line): Function to access method
parameter `tramp-password-end-of-line', or variable
`tramp-default-password-end-of-line' (default value).
(tramp-methods): Add entries for new parameter
tramp-password-end-of-line.
(tramp-enter-password): Use new function
`tramp-get-password-end-of-line'.
(tramp-handle-insert-file-contents): Do not
unconditionally inhibit the file operation file-local-copy, only
do that when the inhibit-file-name-operation is currently
insert-file-contents.  This fixes finding remote CVS-controlled
files.  (It would barf on inserting the CVS/Entries file
literally, because the file-local-copy handler wasn't called.)
(tramp-handle-shell-command): Support optional third arg
ERROR-BUFFER.
(tramp-sh-extra-args): Adapt defcustom type to XEmacs.
(tramp-initial-commands): New variable.
(tramp-process-initial-commands): New function, using the variable.
(tramp-open-connection-setup-interactive-shell): Call the new
function.
(tramp-buffer-name, tramp-debug-buffer-name): Always put the
method into the buffer name, never use nil.  Reported by Hanak
David <dhanak@inf.bme.hu>.
(tramp-open-connection-setup-interactive-shell): Erase buffer
before sending "stty -onlcr".

* net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
2003-07-20 19:04:48 +00:00
Richard M. Stallman
34301ace3d (ange-ftp-file-symlink-p):
Use condition-case to catch error in ange-ftp-get-files.
2003-07-07 20:55:38 +00:00
Richard M. Stallman
654805e39d (browse-url-browser-function): Add alternative for Epiphany.
(browse-url-epiphany-program, browse-url-epiphany-arguments)
(browse-url-epiphany-startup-arguments)
(browse-url-epiphany-new-window-is-tab): New variables.
(browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
2003-07-07 20:54:56 +00:00
Kai Großjohann
ea9d144328 Version 2.0.35 of Tramp released.
* net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
(tramp-completion-function-alist): Add completion function for
"remcp", "remsh" and "plink1".
Factor out the `regular' file name handling via a remote shell of
some sort into a specific function.  Intent is to later put that
part of Tramp into a special file, so that the Tramp `core' is
just a dispatcher that dispatches to various handlers.
(tramp-sh-file-name-handler): New function.
(tramp-foreign-file-name-handler-alist): New default value.  Call
tramp-sh-file-name-handler as default case.
(tramp-file-name-handler): Do not invoke the old remote-shell
handler.
(tramp-find-foreign-file-name-handler): Return after first match
is found.  From Francis Litterio <franl@world.std.com>.
(tramp-handle-file-newer-than-file-p):  `tramp-time-diff' returns
integer, not list.  Do not apply `car' to the return value of
`tramp-time-diff'.  Reported by David D. Smith
<ultrasoul@ultrasoul.com>.
(tramp-time-diff): Convert return value of subtract-time to a
number of seconds in a correct manner, by applying float-time or
time-to-seconds.  Also correct compat code accordingly.  The
XEmacs branch for itimer-time-difference didn't need correction,
it returned a float already.  Reported by David D. Smith
<ultrasoul@ultrasoul.com>.
(tramp-handle-insert-file-contents): When calling
`file-local-copy', let-bind `inhibit-file-name-operation'
accordingly.  This makes sure that jka-compr is not called when
`insert-file-contents-literally' is invoked.  From Katsumi Yamaoka
<yamaoka@jpl.org>.
(tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
writing the target file.
(tramp-foreign-file-name-handler-alist): Add comment about default
value having to come last.
(tramp-handle-file-local-copy, tramp-handle-write-region): Add the
"-p" hack.
(tramp-handle-copy-file): Set file modes of target file.
(tramp-handle-file-local-copy)
(tramp-do-copy-or-rename-via-buffer): Use binary coding system,
instead of no-conversion.  They are the same on Emacs but
different on XEmacs.
(tramp-shell-prompt-pattern): Allow multiple escape
sequences (each with optional trailing space).

* net/tramp-uu.el:
* net/tramp-util.el:
* net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
for XEmacs compatibility.
2003-06-17 14:03:58 +00:00
Richard M. Stallman
c29cf9a4c9 (browse-url-mozilla): Correct the conditionals for using ,new-window. 2003-05-28 11:24:00 +00:00
Kai Großjohann
b25a52ccdc Version 2.0.34 (of Tramp) released.
(tramp-handle-file-symlink-p): If target of symlink is absolute,
return a Tramp filename.  (Ie, return "/user@host:/target" instead
of "/target".)
(tramp-handle-file-truename): Deal with new return value from
`file-symlink-p'.
(tramp-handle-expand-file-name): Make default method explicit in
file name.
(tramp-unified-filenames): Move to an earlier spot in the file.
(top-level): If tramp-unified-filenames is set and we're running
on XEmacs, load tramp-efs.
(tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New
functions, used by tramp-send-command-internal.
(tramp-open-connection-setup-interactive-shell): Simplify using
`tramp-send-command-internal'.
(tramp-send-command-internal): New function.
(tramp-methods): New entries "remsh" and "remcp" are like "rsh"
and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
Cray systems, for instance.  Unify tramp-rsh-program,
tramp-telnet-program, tramp-su-program into tramp-login-program.
Likewise with tramp-login-args, tramp-copy-program,
tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
method plink1; like plink but pass "-1" to force protocol version
1.
(tramp-default-method): Use plink as the default on machines where
the plink program is present.
(tramp-completion-file-name-handler): Add safe-magic property.
(tramp-shell-prompt-pattern): Allow ANSI escapes at
end of prompt.  (ANSI escapes elsewhere in the prompt are
recognized properly already.)
2003-05-24 14:10:15 +00:00
Richard M. Stallman
3e61755b3d (goto-address-fontify-maximum-size): Value t means no limit.
(goto-address-fontify): Implement that feature.
2003-05-19 14:49:25 +00:00
Juanma Barranquero
5199cf98c8 (rlogin-process-connection-type): Don't quote nil and t in docstrings. 2003-05-06 17:46:28 +00:00
Kai Großjohann
64cf24550f From Michael Albinus <Michael.Albinus@alcatel.de>.
(ange-ftp-expand-symlink): If result of
expansion is a symlink, expand again.
(ange-ftp-file-symlink-p): Return target of symlink literally.
2003-04-13 12:46:11 +00:00