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

845 Commits

Author SHA1 Message Date
Glenn Morris
cd6ef82d85 Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:17:19 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Michael Albinus
eb56296236 * net/tramp.el (tramp-find-file-name-coding-system-alist): New
defun.
(tramp-handle-insert-file-contents, tramp-handle-write-region):
Use it.
2008-04-09 20:04:14 +00:00
Michael Albinus
2e8cf9a720 * net/zeroconf.el: New file. 2008-04-08 19:56:20 +00:00
Michael Albinus
60f2c210c0 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
"pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
2008-04-07 19:29:09 +00:00
Miles Bader
5942951134 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1110
2008-04-07 13:08:33 +00:00
Dan Nicolaescu
7cd25617fe * outline.el (outline-mode-menu-bar-map):
* term.el (terminal-signal-menu): Add :help.

* net/eudc.el (eudc-mode-map): Declare and define in one step.
(eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.

* emacs-lisp/re-builder.el (reb-mode-map):
* textmodes/nroff-mode.el (nroff-mode-map): Add menus.
2008-04-04 22:45:01 +00:00
Stefan Monnier
343bb7bdd1 (after-init-hook): Don't wrap a lambda around
tramp-register-completion-file-name-handler.
2008-04-04 17:38:44 +00:00
Glenn Morris
628c97b2cf (tramp-drop-volume-letter): Move definition before use. 2008-04-03 03:33:18 +00:00
Michael Albinus
113e2a8447 * net/tramp.el (tramp-make-tramp-temp-file): Use
`tramp-drop-volume-letter' for the local file name part.
2008-04-02 18:58:45 +00:00
Michael Albinus
da1975d727 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
overwriting when NEWNAME is a local file.
2008-03-30 18:08:20 +00:00
Michael Albinus
0c61d9814b * net/trampver.el: Update release number. 2008-03-30 18:03:25 +00:00
Michael Albinus
efe78a6c0b * net/tramp-ftp.el: Require 'cl when byte-compiling. 2008-03-29 20:26:14 +00:00
Michael Albinus
680d5d1783 * net/trampver.el: Update release number. 2008-03-29 20:24:42 +00:00
Magnus Henoch
51fac78c03 (dns-write): Use set-buffer-multibyte. 2008-03-28 21:37:03 +00:00
Michael Albinus
12aeeb576a * tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and "psftp". 2008-03-21 18:04:42 +00:00
Michael Albinus
e52196e09a Fix up encoding. 2008-03-21 17:58:33 +00:00
Stefan Monnier
cdd44874a7 Fix up encoding. 2008-03-20 13:42:38 +00:00
Reiner Steib
ea666a77e1 (open-tls-stream): Reindent. 2008-03-19 21:32:23 +00:00
Michael Albinus
aff67808c1 * net/tramp.el (tramp-let-maybe): Removed.
(tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
It does not exist under XEmacs.
(tramp-handle-file-truename, tramp-handle-expand-file-name)
(tramp-completion-file-name-handler): Let-bind
`directory-sep-char'.
2008-03-19 21:06:37 +00:00
Michael Albinus
c9e646c2e2 * net/trampver.el: Move coding cookie at the end. 2008-03-19 21:03:49 +00:00
Michael Albinus
668efb3fde * net/tramp-uu.el: Move coding cookie at the end. 2008-03-19 21:03:07 +00:00
Michael Albinus
40f245a31b * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
`directory-sep-char'.
2008-03-19 21:02:03 +00:00
Glenn Morris
699a11fbb6 (tramp-drop-volume-letter): Evaluate when compiling. 2008-03-19 07:11:57 +00:00
Juanma Barranquero
78f8b19b35 Fix typos in comments. 2008-03-18 09:17:44 +00:00
Michael Albinus
57671b7218 * net/tramp.el (tramp-root-regexp): Simplify.
(tramp-completion-file-name-regexp-separate): Don't insist on
leading "[".  This prevents method or user or host completion.
(tramp-let-maybe): Autoload it.
(tramp-drop-volume-letter): Don't autoload.  When not on W32, it is
an alias for `identity'.
(tramp-handle-write-region): Protect `last-coding-system-used'
over the trailing statements.
(tramp-completion-file-name-handler-post-function): Removed.
(tramp-completion-file-name-handler): Let-bind
`directory-sep-char' instead of calling
`tramp-drop-volume-letter'.
(top): Move coding cookie at the end.
2008-03-17 22:57:15 +00:00
Stefan Monnier
800a97b891 (tramp-completion-mode-p): Don't use char-equal for
elements which may be something else than characters.
2008-03-17 20:19:00 +00:00
Michael Albinus
8a798e4193 * tramp.el (tramp-root-regexp): New defconst.
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Use it.
(tramp-do-copy-or-rename-file-via-buffer): Set
`enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
t for `insert-file-contents-literally'.
(tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
Autoload it.
(tramp-completion-file-name-handler-post-function): New defconst.
(tramp-completion-file-name-handler): Use it.
(tramp-maybe-open-connection): Update calls to
`tramp-flush-connection-property' for removed 2nd argument.
2008-03-15 21:54:02 +00:00
Michael Albinus
e3ea58b7ea *** empty log message *** 2008-03-15 21:50:58 +00:00
Johan Bockgård
03e49c06ad (browse-url-text-xterm): Unquote browse-url-text-browser. 2008-03-13 13:29:11 +00:00
Stefan Monnier
eb21f2ff51 (dns-read-string-name, dns-read, dns-read-type, query-dns):
Use set-buffer-multibyte rather than set default-enable-multibyte-characters.
2008-03-12 20:52:31 +00:00
Juanma Barranquero
20f28123b3 (iwconfig-program-options): Doc fix.
(net-utils-run-program, run-network-program): Define as functions.
2008-03-11 10:23:09 +00:00
Miles Bader
8f7abae3a9 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1097
2008-03-10 00:50:22 +00:00
Miles Bader
56388398e7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Glenn Morris
0a4d4654f9 (open-tls-stream): Restore the 2007-11-04 change accidentally removed
by the 2007-12-05 merge from Gnus.
2008-03-03 02:11:04 +00:00
Dan Nicolaescu
8e7883692a * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
* textmodes/bibtex-style.el (bibtex-style-indent-basic):
* progmodes/verilog-mode.el (verilog-mode):
* net/socks.el (socks):
* vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
2008-03-01 19:16:02 +00:00
Miles Bader
51fb064bc7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
2008-03-01 01:28:31 +00:00
Glenn Morris
ab74c815cf (imap-ping-server): Change defcustom :version from 23.0 to 23.1. 2008-02-29 04:03:16 +00:00
Glenn Morris
dd22fbf6d1 (tls-checktrust, tls-untrusted, tls-hostmismatch):
Change defcustom :version from 23.0 to 23.1.
2008-02-29 04:02:43 +00:00
Juanma Barranquero
2f7dc12d9b (ftp-program): Fix typo in docstring.
(ifconfig-program-options, netstat-program-options, arp-program-options,
route-program-options, nslookup-program-options, ftp-program-options,
smbclient-program-options, dns-lookup-program-options, arp, route): Doc fixes.
2008-02-26 11:55:41 +00:00
Glenn Morris
cbbe9a375e (top-level): Don't require comint when compiling.
(nslookup-font-lock-keywords): Don't require font-lock.
Use font-lock faces rather than variables.
(nslookup, ftp, smbclient, network-service-connection):
Don't require comint.
(comint-prompt-regexp, comint-input-autoexpand)
(comint-input-ring): Declare for compiler.
(comint-mode, ffap-string-at-point, comint-exec): Autoload.
(dns-lookup-host): Don't require ffap.  Remove `with-no-warnings'.
2008-02-26 04:31:30 +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
Glenn Morris
beaa23bc22 (iwconfig-program, iwconfig-program-options): Add :version. 2008-02-23 20:02:55 +00:00
Glenn Morris
e69ec7213e Yoni Rabkin <yoni at rabkins.net> (tiny change)
(iwconfig-program, iwconfig-program-options): New variables.
(iwconfig): New function.
2008-02-23 20:01:44 +00:00
Michael Olson
00c03cbeba Move lisp/net/json.el to lisp/json.el. 2008-02-22 01:14:03 +00:00
Michael Olson
e771f9d08b lisp/net/json.el: Fix compiler warning. 2008-02-21 20:28:27 +00:00
Michael Olson
02761f8558 Install net/json.el, a JavaScript Object Notation parser / generator. 2008-02-21 19:41:38 +00:00
Michael Albinus
c200c78dc5 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
when the argument is nil.
2008-02-19 19:23:19 +00:00
Michael Albinus
1860f08d41 * net/ange-ftp.el (ange-ftp-quote-string): Use
`shell-quote-argument'.  This DTRT even on w32 machines.
(ange-ftp-cf1): Quote FILENAME.
2008-02-13 17:28:00 +00:00
Michael Albinus
de95cc30ec * net/ange-ftp.el (ange-ftp-cf1): Quote FILENAME. 2008-02-13 17:20:11 +00:00
Stefan Monnier
15d9bd90ab (tramp-compat-file-attributes): Add comment. 2008-02-12 03:46:03 +00:00
Michael Albinus
6981d00a6b * net/dbus.el: Remove `no-byte-compile' cookie.
(dbus-call-method, dbus-register-signal, dbus-debug)
(dbus-registered-functions-table): Declare them with
`declare-function' or `defvar', respectively.
(top): Don't assert any longer.  Require 'cl when compiling.
Apply `ignore-errors' but `dbus-ignore-errors'.
2008-02-10 20:45:35 +00:00
Richard M. Stallman
73dd622fb4 (rcirc-url-regexp): Replace definition by copying from gnus-button-url-regexp. 2008-02-10 14:04:01 +00:00
Michael Olson
fd35d9d668 net/tramp.el (tramp-process-sentinel): Avoid error when process buffer killed. 2008-02-09 05:52:07 +00:00
Miles Bader
1230c3cb58 (rcirc-omit-mode): Suppress invisibility ellipsis
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1061
2008-02-09 03:52:59 +00:00
Glenn Morris
d884d6adc7 (ipconfig-program, ipconfig-program-options): Add obsolete aliases to
the old names.
2008-02-09 01:32:38 +00:00
Richard M. Stallman
46f6fa95d1 (ifconfig): Renamed from ipconfig.
(ipconfig): Alas to ifconfig.
(ifconfig-program): Renamed from ipconfig-program.
(ifconfig-program-options): Renamed from ipconfig-program-options.
2008-02-08 18:22:54 +00:00
Michael Albinus
4ba11bcb85 * net/dbus.el (dbus-interface-peer): New defconst.
(dbus-ping): New defun.
2008-02-06 20:54:19 +00:00
Stefan Monnier
e61e836bc0 (ange-ftp-unhandled-file-name-directory):
Just return nil and let the C code provide a fallback.
2008-02-06 14:44:14 +00:00
Juanma Barranquero
0138efd4b3 *** empty log message *** 2008-02-05 12:07:11 +00:00
Glenn Morris
9d7cb26e1e (tramp-cleanup-connection): Update calls to
tramp-flush-connection-property for removed 2nd argument.
2008-02-05 03:54:37 +00:00
Michael Albinus
c7aa34a53a *** empty log message *** 2008-02-03 12:10:59 +00:00
Michael Albinus
47e02af444 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use
`tramp-process-sentinel' as process sentinel.
2008-02-03 12:08:16 +00:00
Michael Albinus
76d99f958d *** empty log message *** 2008-02-03 12:06:49 +00:00
Michael Albinus
24f7320bdc * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-process-sentinel' as process sentinel.
2008-02-03 12:06:08 +00:00
Michael Albinus
cfb5c0dbc6 * net/tramp.el (tramp-process-sentinel): New defun.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use it as process sentinel.
(tramp-handle-delete-directory): Don't use the "-f" option; it
isn't portable.
(tramp-handle-start-file-process): Echo `tramp-end-of-output'
after the command.
(tramp-handle-shell-command): Set `mode-line-process' in the
asynchronous case.
2008-02-03 12:05:05 +00:00
Michael Albinus
1a0b96d356 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT. 2008-02-03 12:02:39 +00:00
Michael Albinus
7bb7efbd4a * dbus.el (top): Check (featurep 'dbusbind). 2008-02-03 12:00:51 +00:00
Michael Albinus
eef3f0c84c * net/trampver.el: Update release number. 2008-02-02 10:51:50 +00:00
Michael Albinus
f88276af2f * net/tramp-vc.el (tramp-vc-do-command): Use mapc' instead of mapcar'. 2008-02-02 10:50:03 +00:00
Michael Albinus
500d481b51 *** empty log message *** 2008-02-02 10:49:10 +00:00
Michael Albinus
8cee022b93 * net/tramp.el (tramp-handle-make-auto-save-file-name)
(tramp-completion-dissect-file-name, tramp-find-executable): Use
`mapc' instead of `mapcar'.
(tramp-open-connection-setup-interactive-shell): Send only single
prompt setting commands, in order to avoid double-prompt.
2008-02-02 10:46:08 +00:00
Stefan Monnier
ae2af0e322 (remote-compile): Remove broken code. 2008-01-31 15:09:19 +00:00
Michael Albinus
42bc9b6d9d * net/tramp.el (tramp-methods): Use "-H" option for "sudo". Suggested
by Trent W. Buck <trentbuck@gmail.com>.  Make ("%h") a single
element in "plinkx".
(tramp-handle-shell-command): Reuse "*Async Shell Command*" or
"*Shell Command Output*" buffers.  Check, whether there is already
an asynchronous process running.  Display always the buffer of the
asynchronous process.
(tramp-compute-multi-hops): Adapt error message.
2008-01-29 21:14:04 +00:00
Michael Albinus
b8bfcf96e8 * net/tramp.el (tramp-handle-shell-command): Use "/bin/sh -c" for
the command.
2008-01-28 21:25:26 +00:00
Michael Albinus
2991e49f20 * net/tramp.el (tramp-compute-multi-hops): In case of su(do)?
methods, the host name must be a local host.
2008-01-27 16:20:57 +00:00
Michael Albinus
5d449a36cc * net/tramp.el (tramp-dissect-file-name): Raise an error when
Tramp 2.0 syntax is used.  Suggested by Trent W. Buck
<trentbuck@gmail.com>.
2008-01-26 14:54:55 +00:00
Michael Albinus
484ea0b6c9 * net/tramp.el (tramp-do-copy-or-rename-file): Flush the cache of
the source file in case of `rename'.  Reported by Pete Forman
<pete.forman@westerngeco.com>.
2008-01-24 21:28:56 +00:00
Michael Albinus
a0a5183aa3 * net/tramp.el (tramp-remote-process-environment): Set "LC_ALL=C".
(tramp-end-of-output): Add `tramp-rsh-end-of-line' into the
regexp.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Don't send `tramp-rsh-end-of-line' additionally, when setting the
prompt.
(tramp-wait-for-output): Distinguish different prompt formats.
(tramp-get-test-nt-command): Don't check for "\n" in the prompt.
(tramp-local-host-p): Check whether temp directory is writable.
2008-01-23 20:45:03 +00:00
Michael Albinus
246a286b9b * net/dbus.el (dbus-ignore-errors): New macro.
(dbus-unregister-object): New defun.  Moved from dbusbind.c.
(dbus-handle-event, dbus-list-activatable-names, dbus-list-names)
(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect)
(dbus-get-signatures): Apply `dbus-ignore-errors'.
2008-01-21 20:06:15 +00:00
Miles Bader
0b6799c345 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1001
2008-01-20 05:17:57 +00:00
Michael Albinus
c440aa2f4d * net/trampver.el: Update release number. 2008-01-14 19:42:14 +00:00
Michael Albinus
c992abdbc6 * net/tramp.el (tramp-local-host-p): Use `tramp-file-name-host'
instead of `tramp-file-name-real-host'.
2008-01-14 19:36:07 +00:00
Michael Albinus
b58c3770c7 *** empty log message *** 2008-01-14 19:35:12 +00:00
Glenn Morris
dcb8ac09ea Add 2008 to copyright years. 2008-01-09 04:31:51 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Michael Albinus
0664ff7221 * vc-git.el (vc-git--call): Apply `process-file' instead of
`call-process'.

* net/tramp.el (tramp-remote-process-environment): Add "LC_CTYPE=C".
Reported by Pete Forman <pete.forman@westerngeco.com>.
(tramp-perl-encode, tramp-perl-decode): Update copyrights.
(tramp-handle-process-file): Handle the case where DESTINATION is
a consp with t as car.
(tramp-wait-for-output): We shall remove exactly what has been
find by the search.
2008-01-08 20:07:21 +00:00
Glenn Morris
2f043267ee Add 2008 to copyright years. 2008-01-07 02:00:47 +00:00
Michael Albinus
e49d337b18 * net/dbus.el (dbus-list-hash-table)
(dbus-name-owner-changed-handler): Replace "signal" by "member".
(dbus-check-event): Add serial number to event.
(dbus-handle-event): Apply return message if needed.
(dbus-event-serial-number): New defun.
(dbus-event-service-name, dbus-event-path-name)
(dbus-event-interface-name, dbus-event-member-name): Adapt
implementation to serial number.
2008-01-04 21:52:51 +00:00
Glenn Morris
e61aad2fb8 (tramp-smb-handle-insert-directory): Use mapc rather than mapcar. 2008-01-04 03:13:26 +00:00
Magnus Henoch
7d1112ae98 * net/dbus.el (dbus-name-owner-changed-handler): Use
dbus-unregister-object instead of dbus-unregister-signal.
2008-01-03 16:38:47 +00:00
Miles Bader
aacde24f5c Make rcirc logging more customizable
(rcirc-log-filename-function): New variable.
(rcirc-log): Use `rcirc-log-filename-function' to generate the
log-file name.  Don't log anything if it returns nil.
(rcirc-log-write): Use `expand-file-name' when merging the
log-file name from the alist with rcirc-log-directory; this does
the right thing if the name in the alist already an absolute
filename.  Make the log-file directory if necessary.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-976
2008-01-02 02:20:56 +00:00
Michael Albinus
0e0c4247f1 * net/dbus.el (dbus-name-owner-changed-handler): Make the function
resistent towards wrong parameters.
(dbus-handle-event): Propagate D-Bus errors only in the debug case.
2007-12-30 15:51:18 +00:00
Miles Bader
870356897e Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-967
2007-12-28 22:26:31 +00:00
Dan Nicolaescu
d31e8e871c * calculator.el:
* dframe.el:
* iswitchb.el:
* whitespace.el:
* winner.el:
* emacs-lisp/checkdoc.el:
* mail/feedmail.el:
* net/quickurl.el:
* obsolete/fast-lock.el:
* play/5x5.el:
* progmodes/delphi.el:
* progmodes/idlw-shell.el:
* progmodes/idlwave.el:
* textmodes/artist.el:
* textmodes/ispell.el:
* textmodes/texinfmt.el:
* textmodes/texinfo.el: Remove obsolete definitions of backward
compatibility macros for defcustom, defgroup, defface, when,
unless, with-current-buffer and with-temp-message.
2007-12-25 19:21:38 +00:00
Michael Albinus
adb671295c Sync with Tramp 2.1.12.
* net/tramp.el: New todo item.

* net/tramp-smb.el (tramp-smb-handle-insert-directory): Handle "-F"
switch.  Reported by Mark T. Kennedy <mkennedy@diamondbackcap.com>.

* net/trampver.el: Update release number.
2007-12-23 13:25:27 +00:00
Michael Albinus
9fa0d3aabb * files.el (cd-absolute): Set `list-buffers-directory' in order to
show correct path in buffer list.

* net/tramp.el (tramp-open-connection-setup-interactive-shell)
(tramp-find-shell): Send only single prompt setting commands, in
order to avoid double-prompt.

* net/tramp-compat.el (top): Require cl only when compiling.
Reported by Glenn Morris <rgm@gnu.org>.
2007-12-18 21:02:53 +00:00
Michael Albinus
3cc546adf4 * net/dbus.el (dbus-name-owner-changed-handler): Use
`dbus-unregister-signal' for removing old rules.  Obey new
structure of `dbus-registered-functions-table'.
2007-12-16 22:42:47 +00:00
Miles Bader
21ee0911f7 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-950
2007-12-09 22:14:32 +00:00
Dan Nicolaescu
c486a8e4ff * mail/hashcash.el (declare-function):
* net/imap.el (declare-function): New no-op macro for backward
compatibility.
2007-12-08 22:56:04 +00:00
Michael Albinus
79945ac143 * net/dbus.el (dbus-hash-table=): Remove function. We cannot
apply wildcards in a hash table key; there is no usable hash code
then.
(dbus-registered-functions-table): Use `equal' as test function.
(dbus-name-owner-changed-handler): Rewrite due to new hash table
structure.
2007-12-08 12:56:59 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
Michael Albinus
ef6ce14cc0 * net/dbus.el (dbus-hash-table=): Fix for new hash table key
structure.
(dbus-list-hash-table, dbus-name-owner-changed-handler): New
defuns.
(dbus-check-event, dbus-handle-event, dbus-event-bus-name)
(dbus-event-service-name, dbus-event-path-name)
(dbus-event-interface-name, dbus-event-member-name): Fix for new
event structure.
(dbus-list-activatable-names, dbus-list-names)
(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect):
Reorder `dbus-call-method' arguments.
2007-12-07 04:47:19 +00:00
Deepak Goel
e9e4d61914 Fix buggy calls to `error' in the net/ directory. 2007-12-06 18:22:45 +00:00
Miles Bader
b890d447fb Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-941
2007-12-06 00:21:00 +00:00
Michael Albinus
7b760f0a0f * net/dbus.el (dbus-hash-table=): Allow nil as wildcard in the
interface and member fields.
2007-12-05 21:59:12 +00:00
Miles Bader
79f10da0c3 Add arch tagline 2007-12-04 22:41:47 +00:00
Michael Albinus
5363d8eaa6 * net/dbus.el (dbus-hash-table=): New defun.
(dbus-hash-table-test) New hash table test function, used in
`dbus-registered-functions-table'.
(dbus-*-event, dbus-event-*): Rewritten, due to new structure of
`dbus-event'.
2007-12-04 21:21:09 +00:00
Glenn Morris
fd48cd1850 Require password-cache or password. 2007-12-04 04:32:47 +00:00
Glenn Morris
c52ae2bbad (bbdb-address-streets): Declare as a function.
(eudc-bbdb-extract-addresses): Use bbdb-address-streets rather than
bbdb-address-street1,2,3.
2007-12-04 03:55:40 +00:00
Glenn Morris
369fc5a626 Move here from ../gnus. 2007-12-02 21:52:46 +00:00
Glenn Morris
cb11d61498 (top-level): Don't load `encrypt' features.
(netrc-parse): Don't use encrypt.
(netrc-find-service-name, netrc-find-service-number): Don't use caddr.
2007-12-02 18:57:36 +00:00
Michael Albinus
3a993e3de8 * net/dbus.el: New file. 2007-12-02 16:26:17 +00:00
Glenn Morris
b544b8e51f Refill copyright.
(top-level): Don't require mm-util, or cl when compiling.
(dns-write-name, dns-read, dns-read-type, query-dns):
Replace mm-with-unibyte-buffer with its expansion.
(query-dns): Replace decf and ignore-errors with non-cl equivalents.
2007-12-01 21:02:07 +00:00
Glenn Morris
fb18c032d4 Move here from ../gnus. 2007-12-01 20:58:14 +00:00
Glenn Morris
4b5625220a (dig-mode): Replace gnus-run-mode-hooks with equivalent expansion. 2007-12-01 20:46:06 +00:00
Glenn Morris
4c1d592284 Move here from ../gnus. 2007-12-01 20:40:44 +00:00
Glenn Morris
8fff8988e6 (bbdb-phone-location, bbdb-record-phones)
(bbdb-address-city, bbdb-address-state, bbdb-address-zip)
(bbdb-address-location, bbdb-record-addresses): Pass non-nil
fourth arg to declare-function.
2007-11-30 07:49:56 +00:00
Glenn Morris
715dd5163d (w3m-toggle-inline-image, htmlr-reset)
(htmlr-step): Declare as functions.
2007-11-29 04:29:41 +00:00
Glenn Morris
fedf6211cd (sasl-find-mechanism, sasl-mechanism-name)
(sasl-make-client, sasl-next-step, sasl-step-data)
(sasl-step-set-data): Declare as functions.
2007-11-29 04:29:07 +00:00
Glenn Morris
15c0d42b46 (bbdb-phone-location, bbdb-phone-string)
(bbdb-record-phones, bbdb-address-city, bbdb-address-state)
(bbdb-address-zip, bbdb-address-location, bbdb-record-addresses)
(bbdb-records): Declare as functions.
(eudc-bbdb-extract-addresses): Use bbdb-address-zip rather than
bbdb-address-zip-string.
2007-11-29 04:28:28 +00:00
Glenn Morris
5bc5ab6523 (bbdb-parse-phone-number, bbdb-string-trim): Declare as functions. 2007-11-29 04:27:27 +00:00
Glenn Morris
352d2dea78 (w3-fetch-other-window, w3-fetch): Declare as functions. 2007-11-29 04:26:50 +00:00
Glenn Morris
d50fd8e226 Move here from gnus/. 2007-11-28 08:09:15 +00:00
Glenn Morris
0cd1fac268 Move here from ../gnus. 2007-11-28 08:06:36 +00:00
Glenn Morris
84b6a41942 (socks-original-open-network-stream): Declare as function. Move
definition before use.
2007-11-28 04:04:21 +00:00
Simon Josefsson
a06e7b5d44 Move imap.el from lisp/gnus/ to lisp/net/. 2007-11-26 00:20:59 +00:00
Dan Nicolaescu
73e6adaa14 * international/titdic-cnv.el (dos-8+3-filename):
* obsolete/fast-lock.el (msdos-long-file-names):
* frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-22 01:05:55 +00:00
Dan Nicolaescu
99c715160b * frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Undo previous change.
2007-11-21 08:37:31 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Michael Albinus
8950769ab6 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
Still some tuning in case of an echoing shell.
(tramp-send-command): Connection property "remote-echo" is not
persistent; cache key is the process therefore.
2007-11-19 20:04:51 +00:00
Dan Nicolaescu
282e1e37cb * net/tramp.el (tramp-terminal-type): Remove duplicated
definition.
2007-11-19 00:25:31 +00:00
Michael Albinus
b50dd0d2b6 * net/tramp.el (tramp-completion-reread-directory-timeout): New
defcustom.
(tramp-handle-file-name-all-completions): Flush directory contents
from cache regularly.
(tramp-set-auto-save-file-modes): Check also for
`buffer-modified-p'.
(tramp-open-connection-setup-interactive-shell): Call
`tramp-cleanup-connection' via funcall.

* net/tramp-ftp.el (tramp-ftp-file-name-handler): Temp file is already
created when copying.
2007-11-18 10:24:51 +00:00
Michael Albinus
e42c6bbc41 * net/tramp.el (tramp-open-connection-setup-interactive-shell): Check
whether the output of "uname -sr" has been changed.
2007-11-12 20:04:13 +00:00
Glenn Morris
686f5b9a2f Revert merge that re-required rx. 2007-11-09 18:22:03 +00:00
Simon Josefsson
7b63c0738c Fix last commit. 2007-11-09 13:06:05 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Michael Albinus
67932d9460 * net/tramp.el (tramp-maybe-open-connection): Use a local copy of
`process-environment'.
2007-11-08 20:15:25 +00:00
Simon Josefsson
2cddada065 Fix last commit. 2007-11-08 13:20:11 +00:00
Michael Albinus
b08104a01d * net/tramp.el (tramp-handle-substitute-in-file-name): Don't
expand the remote connection identification.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Set also $PS2 and $PS3 when setting $PS1.  Check for shell echoing
before calling stty.

* net/tramp-cache.el (tramp-cache-print)
(tramp-dump-connection-properties): Fix docstring.
(tramp-list-connections): Renamed from
`tramp-cache-list-connections'.

* net/tramp-cmds.el (tramp-cleanup-connection): Apply it.

* net/tramp-ftp.el (tramp-ftp-file-name-handler): Don't expand the
remote connection identification when setting connection property.

* net/tramp-smb.el (tramp-smb-handle-substitute-in-file-name):
"//" substitutes only in the local filename part.
2007-11-07 20:41:15 +00:00
Michael Albinus
726f027253 * net/tramp.el (top): Don't autoload `tramp-cache-print'.
* net/tramp-cache (tramp-cache-print): Move down.
(tramp-cache-list-connections): New defun.

* net/tramp-cmds.el (tramp-cleanup-connection): Use it.
2007-11-06 21:17:36 +00:00
Michael Albinus
bdbeca7b20 * tramp.el (tramp-wait-for-output): Ignore escape sequences in the
prompt.
2007-11-05 20:52:29 +00:00
Simon Josefsson
dbcd6179d3 Fix last commit. 2007-11-05 15:04:15 +00:00
Simon Josefsson
45374a1579 net/tls.el (tls-end-of-info): Doc fix. 2007-11-05 10:26:16 +00:00
Glenn Morris
cd6db47c64 Don't require rx when compiling.
(tls-end-of-info): Rewrite without using rx.
(open-tls-stream)): Use with-current-buffer.
2007-11-04 01:26:09 +00:00
Glenn Morris
59c95dc2de Riccardo Murri <riccardo.murri at gmail.com>
Require rx when compiling.
(tls-end-of-info): New variable.
(open-tls-stream): Keep reading input until `tls-end-of-info' is matched.
2007-11-04 01:22:45 +00:00
Glenn Morris
7c9008ce0c Riccardo Murri <riccardo.murri at gmail.com>
Require rx when compiling.
(tls-end-of-info): New variable.
(open-tls-stream): Keep reading input until `tls-end-of-info' is matched.
2007-11-04 01:18:24 +00:00
Glenn Morris
683b7dc670 Ryan Yeske <rcyeske at gmail.com>
(rcirc-last-quit-line, rcirc-last-line)
(rcirc-elapsed-lines): New argument PROCESS.  Update callers.
(rcirc-print): Only update the line count when not marking the
line as ommittable.
(rcirc-log-write): Specify coding system when writing logfile.
(rcirc-markup-fill): Make sure ellipsis does not cause line to wrap.
2007-11-01 03:52:26 +00:00
Michael Albinus
f2196d5741 *** empty log message *** 2007-10-31 20:48:52 +00:00
Michael Albinus
3412f35d0f * net/tramp.el (tramp-handle-shell-command): Call `start-file-process'
directly.  Fix bug in deleting temp file.
2007-10-31 20:04:42 +00:00
Michael Albinus
a7580c1c8f * net/tramp.el (tramp-maybe-open-connection): Set $LC_ALL to "C".
* net/tramp-cache.el (tramp-flush-file-function): Check also
`default-directory' if `buffer-file-name' does not return a
string.  Added to `eshell-pre-command-hook'.
2007-10-30 20:27:22 +00:00
Dan Nicolaescu
4ea0e84a49 * emulation/edt.el (edt-emacs19-p, edt-x-emacs19-p)
(edt-gnu-emacs19-p): Remove.
(edt-emacs-variant, edt-window-system): Use feature 'emacs.
(edt-xserver, edt-page-backward, edt-beginning-of-line)
(edt-end-of-line-forward, edt-end-of-line-backward)
(edt-one-word-forward, edt-one-word-backward, edt-character)
(edt-line-forward, edt-next-line, edt-previous-line, edt-top)
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-reset, edt-advance, edt-backup)
(edt-define-key, edt-bottom-check, edt-sentence-forward)
(edt-sentence-backward, edt-paragraph-forward)
(edt-paragraph-backward, edt-restore-key, edt-window-top)
(edt-window-bottom, edt-scroll-window-forward-line)
(edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
(edt-line-to-top-of-window, edt-paragraph-backward)
(edt-restore-key, edt-window-top, edt-window-bottom)
(edt-scroll-window-forward-line)
(edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
(edt-line-to-middle-of-window, edt-goto-percentage)
(edt-display-the-time, edt-remember, edt-split-window)
(edt-emulation-on, edt-emulation-off)
(edt-default-emulation-setup, edt-user-emulation-setup)
(edt-select-default-global-map, edt-select-user-global-map):
Replace uses of edt-x-emacs19-p and edt-gnu-emacs19-p with feature
tests.

* textmodes/reftex-index.el (reftex-index-selection-or-word): Use
feature test instead of boundp test so it can be resolved at
compile time.

* net/newsticker.el (replace-regexp-in-string): Only define for
XEmacs.
2007-10-30 03:17:35 +00:00
Richard M. Stallman
d977461174 (browse-url-text-xterm): Renamed from browse-url-lynx-xterm and made generic.
(browse-url-text-emacs): Likewise.
(browse-url-text-browser): New variable.
(browse-url-text-emacs-args): Renamed from browse-url-lynx-emacs-args.
(browse-url-text-input-field, browse-url-text-input-attempts)
(browse-url-kde-program): Likewise.
2007-10-29 13:56:39 +00:00
Glenn Morris
a0a5c58300 Ryan Yeske <rcyeske at gmail.com>
(rcirc-server-alist): Use coloned symbols for parameter names.
(rcirc-recent-quit-alist): New function.
(rcirc): Print a better message when there is only one connected server.
(rcirc-complete-nick): Do not update the nick table here.
(rcirc-mode-map): Add M-o.
(rcirc-current-line): Add variable.
(rcirc-mode): Setup variables for line based omit.
(rcirc-edit-multiline): Strip text properties.
(rcirc-omit-responses): Add NICK.
(rcirc-omit-threshold): Add variable.
(rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines): Add functions.
(rcirc-print): Keep track of current line.  Do not fill text if
`rcirc-fill-flag' is null.  Only omit text if the last activity
from the sender is more than `rcirc-omit-threshold' lines ago.
(rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line
numbers instead of time.
(rcirc-channel-nicks): Sort by line numbers instead of time.
(rcirc-omit-mode): Add `...' when omitting text and recenter.
(rcirc-handler-JOIN): Restore the joiners linestamp.
(rcirc-maybe-remember-nick-quit): Add function.
(rcirc-handler-QUIT): Record sender in table of recently quit nicks.
2007-10-29 01:24:59 +00:00
Miles Bader
01c52d3165 Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-911
2007-10-28 09:18:39 +00:00
Michael Albinus
a4aeb9a424 * net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
(tramp-get-remote-tmpdir): New defun.
(tramp-make-tramp-temp-file): Use it.
(tramp-local-call-process): New defun.  Replace all calls of
`call-process' by this when appropriate.
(tramp-handle-write-region): Replace calls of `file-attributes' by
`tramp-compat-file-attributes'.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Make the first command a `tramp-send-command' call, with let-bind
of `tramp-end-of-output'.
(tramp-version, tramp-bug, tramp-reporter-dump-variable)
(tramp-load-report-modules, tramp-append-tramp-buffers): Move to
tramp-cmds.el.

* net/tramp-fish.el (tramp-fish-handle-copy-file)
(tramp-fish-do-copy-or-rename-file)
(tramp-fish-do-copy-or-rename-file-directly):
* net/tramp-smb.el (tramp-smb-handle-copy-file):
Add parameter PRESERVE-UID-GID.
2007-10-27 13:57:43 +00:00
Dan Nicolaescu
3fe5c37a0c * emulation/pc-select.el (next-line-mark, next-line-nomark)
(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
around uses of previous-line and next-line.

* diff.el (diff-old-file, diff-new-file, diff-extra-args): New
defvars.

* textmodes/css-mode.el (comment-continue):
* net/browse-url.el (url-handler-regexp):
* progmodes/idlw-help.el (idlwave-system-routines): Pacify
byte-compiler.
2007-10-26 22:24:14 +00:00
Richard M. Stallman
66dc1ca270 (browse-url-browser-function): Delete grail.
(browse-url-grail): Function and variable deleted.
(browse-url-browser-function): Delete IXI Mosaic.
(browse-url-default-browser): Don't try IXI Mosaic.
(browse-url-iximosaic): Function deleted.
(browse-url-browser-function): Delete MMM.
(browse-url-default-browser): Don't try MMM.
(browse-url-mmm): Function deleted.
2007-10-26 03:51:44 +00:00
Richard M. Stallman
4eff4f6776 (browse-url-browser-function): Delete grail.
(browse-url-grail): Function and variable deleted.
(browse-url-browser-function): Delete IXI Mosaic.
(browse-url-default-browser): Don't try IXI Mosaic.
(browse-url-iximosaic): Function deleted.
(browse-url-browser-function): Delete MMM.
(browse-url-default-browser): Don't try MMM.
(browse-url-mmm): Function deleted.
2007-10-26 03:49:37 +00:00
Michael Albinus
3bde9f241c * net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
when we are local.
2007-10-23 21:56:54 +00:00
Michael Albinus
7e780ff12c * net/tramp.el (tramp-find-shell)
(tramp-open-connection-setup-interactive-shell): Improve sending
initial commands.
(tramp-action-terminal): Send debug message.
(tramp-wait-for-shell-prompt, tramp-send-command-internal): Removed.
(tramp-barf-if-no-shell-prompt): Insert code of
`tramp-wait-for-shell-prompt'.
2007-10-22 19:09:51 +00:00
Juanma Barranquero
e8308ca760 (tramp-handle-expand-many-files): Remove.
(PC-expand-many-files): Remove advice.
2007-10-22 09:43:42 +00:00
Miles Bader
ea161fff14 Add arch tagline 2007-10-22 05:40:56 +00:00
Dan Nicolaescu
f82460271e * emulation/edt-mapper.el (function-key-map):
(edt-map-key): Make it a function instead of using fset. Inline
edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
(edt-gnu-map-key, edt-lucid-map-key): Remove.
(edt-x-emacs-p): Remove.
(edt-emacs-variant, edt-window-system, edt-xserver):
Use featurep 'xemacs.

* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
Replace eudc-xemacs-p with its definition.
(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
(eudc-emacs-mule-p): Remove.
(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
eudc-xemacs-p with feature tests.

* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
(eudc-bob-url-keymap, eudc-bob-sound-keymap)
(eudc-bob-generic-keymap, eudc-bob-popup-menu)
(eudc-bob-toggle-inline-display):
* net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
eudc-emacs-p and eudc-xemacs-p with feature tests.

* net/eudcb-ph.el (eudc-ph-open-session): Replace
eudc-xemacs-mule-p with its former definition.

* progmodes/octave-mod.el (octave-xemacs-p): Remove.
(octave-abbrev-start): Replace octave-xemacs-p with
(featurep 'xemacs).

* progmodes/vera-mode.el (vera-xemacs): Remove.
(vera-mode-syntax-table): Replace vera-xemacs with
(featurep 'xemacs).

* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
(vhdl-speedbar-initialize, vhdl-ps-print-init)
(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
with (featurep 'xemacs).

* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
(save-buffer-state-x):
* obsolete/fast-lock.el (fast-lock-verbose):
* emulation/viper-init.el (viper-xemacs-p)
(viper-cond-compile-for-xemacs-or-emacs):
* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
* ps-print.el (case-fold-search):
* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
* calculator.el (calculator-help): Use featurep 'xemacs.
2007-10-21 17:22:04 +00:00
Michael Albinus
9c13938d8e * net/tramp.el (top): Put load of all tramp-* files into a dolist.
Require tramp-cmds.el.
(tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
(tramp-handle-file-name-all-completions): Expand DIRECTORY.
 (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `make-temp-name'.  This is
possible, because we don't need to create the temporary file, but
we need a prefix for ssh, which has its own temporary file
handling.
(tramp-handle-delete-directory): Add "-f" to rmdir.
(tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
(tramp-handle-insert-file-contents): Don't raise a tramp-error but
a signal, in order to give the callee a chance to suppress.
(tramp-handle-write-region): Set owner also in case of short
track.  Don't use compatibility calls for `write-region' anymore.
(tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
(tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.

* net/tramp-cmds.el: New file.

* net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
`tramp-clear-passwd'.

* net/trampver.el: Update release number.
2007-10-21 14:02:38 +00:00
Michael Albinus
5b2e628f4c * files.el (backup-buffer-copy): Call `copy-file' with non-nil
preserve-uid-gid.

* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
compatibility.  It is not used, though.
2007-10-21 10:48:28 +00:00
Dan Nicolaescu
729f1525da * textmodes/reftex.el: Move require easymenu before first use.
(reftex-info): Require info at compile too.

* textmodes/org-publish.el (org-publish-org-to-html)
(org-publish-org-to): Require org at compile time too.
(org-publish-attachment): Require at compile time too.

* term/tty-colors.el (w32-tty-standard-colors): Pacify
byte-compiler.

* term/pc-win.el (frame-creation-function-alist): Add to this
instead of setting frame-creation-function.

* play/blackbox.el (bb-up, bb-down): Use forward-line.

* net/rcirc.el (rcirc-markup-text-functions): Move definition
earlier.

* calendar/todo-mode.el: Require calendar at compile time.

* calendar/cal-islam.el: Require diary-lib at compile time.

* calendar/cal-hebrew.el: Require diary-lib and holidays at
compile time.

* w32-vars.el: Provide w32-vars.

* term/w32-win.el: Require w32-vars.
(w32-color-map): Pacify byte-compiler.

* loadup.el: Load w32-wars before term/w32-win.
2007-10-21 00:24:32 +00:00
Katsumi Yamaoka
bd31647430 From_ Johan Bockgrd, <http://article.gmane.org/gmane.emacs.devel/81056>
* net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
Use `save-restriction' rather than `widen'.
2007-10-18 22:49:05 +00:00
Glenn Morris
8566778a88 (eudc-edit-hotlist): Use mapc rather than mapcar. 2007-10-13 03:03:17 +00:00
Glenn Morris
8c4b8006b0 (eudc-display-records)
(eudc-filter-duplicate-attributes)
(eudc-distribute-field-on-records, eudc-query-form)
(eudc-process-form): Use mapc rather than mapcar.
2007-10-13 03:02:57 +00:00
Glenn Morris
888ca6f573 (eudc-bbdb-filter-non-matching-record)
(eudc-bbdb-query-internal): Use mapc rather than mapcar.
2007-10-13 03:02:35 +00:00
Glenn Morris
fdad1919b9 (eudc-ldap-simple-query-internal): Use mapc rather than mapcar. 2007-10-13 03:02:15 +00:00
Glenn Morris
b86ed609ac (socks-build-auth-list): Use mapc rather than mapcar. 2007-10-13 03:01:49 +00:00
Michael Albinus
311dd93fa2 Sync with Tramp 2.1.11. 2007-10-10 04:55:30 +00:00
Michael Albinus
1834b39f16 * net/tramp.el (tramp-find-foreign-file-name-handler): Check also
host.
(tramp-maybe-send-script): Apply `member' but `memq'.
(tramp-advice-file-expand-wildcards): Simplify implementation.
2007-10-08 20:07:16 +00:00
Michael Albinus
893895d310 * net/tramp.el (tramp-completion-mode): Extend doc-string.
(tramp-completion-mode-p): Revert change from 2007-09-24.
Checking for `return' etc as last character is not sufficient, for
example in dired-mode when entering <g> (revert-buffer) or
<s> (dired-sort).
2007-10-06 15:25:50 +00:00
Michael Albinus
a6e9632782 * net/tramp.el (top): Move loading of tramp-util.el and
tramp-vc.el to tramp-compat.el.
(tramp-make-tramp-temp-file): Complete rewrite.  Create remote
temporary file if possible, in order to avoid a security hole.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
with DONT-CREATE, because the connection is not setup yet.
(tramp-handle-process-file): Rewrite temporary file handling.
(tramp-completion-mode): New defvar.
(tramp-completion-mode-p): Use it.

* net/tramp-compat.el (top):  Load tramp-util.el and tramp-vc.el.

* net/tramp-fish.el (tramp-fish-handle-process-file): Rewrite
temporary file handling.
2007-10-06 12:00:42 +00:00
Michael Albinus
258800f85f * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
(tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
the cond clauses where needed.
(tramp-handle-write-region): Rearrange code for proper handling of
tmpfile.

* net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.

* net/tramp.el:
* net/tramp-fish.el:
* net/tramp-ftp.el:
* net/tramp-smb.el: Rename `tramp-make-temp-file' to
`tramp-compat-make-temp-file'.
2007-10-04 20:09:32 +00:00
Michael Albinus
94be87e8b7 * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
(tramp-file-name-handler-alist): Add
`tramp-handle-insert-file-contents-literally'.  Neded for XEmacs.
(tramp-make-temp-file): Use `make-temp-name'. `make-temp-file',
used before, creates the file already, which is not desired.
(tramp-do-copy-or-rename-file-directly): Simplify handling of
temporary file.
(tramp-handle-insert-file-contents): Assign the result in the
short track case.
(tramp-handle-insert-file-contents-literally): New defun.
(tramp-completion-mode-p): Revert change from 2007-09-24.
Checking for `return' etc as last character is not sufficient, for
example in dired-mode when entering <g> (revert-buffer) or
<s> (dired-sort).

* net/tramp-compat.el (top): Add also compatibility code for loading
appropriate timer package.
(tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
order to avoid autoloading problems.

* net/tramp-fish.el:
* net/tramp-smb.el: Move further compatibility code to
tramp-compat.el.

* net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
where the second parameter of `copy-file' or `rename-file' is a
remote file but not via ftp.
2007-10-03 10:54:03 +00:00
Miles Bader
cf9e567f96 Add arch tagline 2007-10-01 00:14:23 +00:00
Michael Albinus
9e6ab520d0 * net/tramp-compat.el: New file.
* net/tramp.el:
* net/tramp-fish.el:
* net/tramp-smb.el:
* net/tramp-uu.el:
* net/trampver.el: Move compatibility code to tramp-compat.el.
Apply `mapc' instead of `mapcar' when the code needs side effects
only.  Move utf-8 coding cookie to the second line.
2007-09-30 16:43:07 +00:00
Michael Albinus
9ce8462a49 * net/tramp.el (with-file-property, with-connection-property):
Highlight as keyword.
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-handle-shell-command, tramp-get-debug-buffer)
(tramp-send-command-and-read, tramp-equal-remote)
(tramp-get-local-gid): Pacify byte-compiler.
(tramp-handle-file-name-directory): Result shall not be expanded.
(tramp-find-foreign-file-name-handler): Rewrite.
(tramp-dissect-file-name): Add optional parameter NODEFAULT.

* net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.

* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Apply
`tramp-completion-mode-p'.
(tramp-fish-handle-set-file-times)
(tramp-fish-handle-executable-find)
(tramp-fish-handle-process-file, tramp-fish-get-file-entries)
(tramp-fish-retrieve-data): Pacify byte-compiler.

* net/tramp-gw.el (tramp-gw-basic-authentication): Call
`tramp-read-passwd' with first parameter `nil'.
2007-09-28 16:05:49 +00:00
Michael Albinus
1437876ce3 * net/tramp.el (tramp-maybe-open-connection): Make test for alive
connection more robust.
2007-09-27 04:37:33 +00:00
Juanma Barranquero
d590ea4d87 (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
Use `mapc' rather than `mapcar'.
2007-09-26 00:21:38 +00:00
Michael Albinus
7a3cdcc52a * net/tramp.el (tramp-completion-mode-p): Rename from
`tramp-completion-mode'. Revert logic, check `return', `newline'
and such alike. Packages like Icicles tend to use other completion
characters but `tab' and `space' only.
(top): Require cl.el, when `copy-tree' is not available otherwise.

* net/tramp-vc.el (tramp-vc-user-login-name): Get argument by
`ad-get-arg'.  Use `vc-find-version' instead of `process-file' to check
whether we have a new enough vc that doesn't need the defadvice.
2007-09-24 05:42:34 +00:00
Michael Albinus
6c4e47fa46 * net/tramp.el (tramp-completion-mode-p): Rename from
`tramp-completion-mode'. Revert logic, check `return', `newline'
and such alike. Packages like Icicles tend to use other completion
characters but `tab' and `space' only.
2007-09-24 05:29:29 +00:00
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