Commit graph

952 commits

Author SHA1 Message Date
Michael Albinus
1b8d1cc7b6 *** empty log message *** 2009-10-03 12:36:21 +00:00
Michael Albinus
571c4c8757 *** empty log message *** 2009-10-02 13:21:15 +00:00
Michael Albinus
b3ee21ac4f * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
HOST and USER are strings.  They are nil, when there are
incomplete entries in ~/.netrc, for example.
(ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
root directory ("device busy" error otherwise).
2009-10-02 13:20:14 +00:00
Miles Bader
3999968a73 Add arch tagline 2009-10-02 10:53:34 +00:00
Glenn Morris
895d190402 Kevin Ryde <user42 at zip.com.au>
(browse-url): Pass any symbol in browse-url-browser-function to
`apply', since if you've mistakenly put an unbound symbol then the
error is clearer.  (Bug#4531)
2009-10-02 07:11:13 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Juanma Barranquero
12a3c28c78 * image-mode.el (image-toggle-display):
* emacs-lisp/elp.el (elp-instrument-function):
* emacs-lisp/advice.el (ad-make-advised-definition):
* emacs-lisp/easy-mmode.el (define-minor-mode):
* net/browse-url.el (browse-url-maybe-new-window):
* progmodes/sh-script.el (sh-learn-buffer-indent):
  Pass new argument 'any to `called-interactively-p'.
2009-10-02 00:02:02 +00:00
Michael Albinus
cc3dda16b9 * net/tramp-smb.el (tramp-smb-errors): Add error message for
connection timeout.
(tramp-smb-handle-delete-directory): Handle optional parameter
RECURSIVE.
2009-10-01 15:40:59 +00:00
Michael Albinus
93776a8c4a * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Handle
optional parameter RECURSIVE.
2009-10-01 15:39:25 +00:00
Michael Albinus
ecacb4d68c * net/tramp-fish.el (tramp-fish-handle-delete-directory): Handle
optional parameter RECURSIVE.
2009-10-01 15:35:35 +00:00
Michael Albinus
c15cdf0268 * net/tramp.el (tramp-handle-make-directory): Flush upper
directory's file properties.
(tramp-handle-delete-directory): Handle optional parameter
RECURSIVE.
(tramp-handle-dired-recursive-delete-directory): Flush directory
properties after the remove command only.
2009-10-01 15:34:56 +00:00
Michael Albinus
c90a8a9f87 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
parameter RECURSIVE.  Implementation is missing.
2009-10-01 15:33:44 +00:00
Glenn Morris
dab8f2791c (tramp-smb-handle-directory-files-and-attributes): Use
tramp-compat-file-attributes rather than nonexistent
tramp-compat-handle-file-attributes.
2009-09-29 02:43:46 +00:00
Katsumi Yamaoka
ffa894dbde Synch with Gnus trunk.
2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>

 * net/imap.el (imap-interactive-login): Better messages.
 (imap-open): Fix bug with renamed buffer on reconnect.
 (imap-authenticate): Add buffer-local imap-last-authenticator variable
 for easier debugging and cleaner code.  On successful (guessed based on
 server capabilities) secondary authentication, set imap-state
 correctly.
 (imap-last-authenticator): Define imap-last-authenticator as a variable
 to avoid warnings.
2009-09-28 12:09:13 +00:00
Michael Albinus
0e66507834 * net/tramp-imap.el: New package. 2009-09-28 11:59:22 +00:00
Michael Albinus
f742666ae3 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
Use `tramp-compat-handle-file-attributes'.
2009-09-28 11:56:13 +00:00
Michael Albinus
03db0efcff *** empty log message *** 2009-09-28 11:54:34 +00:00
Teodor Zlatanov
3d9942648d * net/imap-hash.el: New library, see NEWS.
* Makefile.in (ELCFILES): Add imap-hash.el.

* NEWS: Mention new library imap-hash.el
2009-09-27 14:47:50 +00:00
Juanma Barranquero
5a0c3f568d Fix typos.
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Juanma Barranquero
7589d38e9e * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501) 2009-09-21 09:51:38 +00:00
Stefan Monnier
5ac4271539 (dig-mode): Use define-derived-mode. 2009-09-21 02:28:02 +00:00
Glenn Morris
6188ea494d Fix typos in condition-case handlers. 2009-09-18 07:07:33 +00:00
Glenn Morris
77564fa48c (byte-compile-not-obsolete-vars): Set if bound. 2009-09-16 03:13:55 +00:00
Glenn Morris
7e596924ac (dired-compress-file): Declare.
(ange-ftp-dired-compress-file): Add doc string.
2009-09-11 03:40:55 +00:00
Katsumi Yamaoka
cdce0b331f * calendar/time-date.el (autoload):
Expand define-obsolete-function-alias into defalias and make-obsolete
for old Emacsen that Gnus supports.
(with-no-warnings): Define it for old Emacsen.
(time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
is available.
(time-to-number-of-days): Don't use (featurep 'xemacs) to check if
float-time is available; suppress compile warning for time-to-seconds.

2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>

* net/imap.el (imap-message-map): Docstring fix.
2009-09-09 09:29:29 +00:00
Michael Albinus
680db9ac65 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
lstat fails.
(tramp-do-file-attributes-with-ls): Check for file existence at
remote end.
(tramp-do-file-attributes-with-stat): Likewise.
(tramp-convert-file-attributes): Return nil when attr is nil.
2009-09-06 14:19:48 +00:00
Michael Albinus
73d854cdd5 * net/tramp-compat.el (tramp-compat-line-beginning-position): New defun. 2009-09-04 08:15:28 +00:00
Michael Albinus
7ba1d9c24d * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
also when adding a new directory.
2009-09-04 08:14:30 +00:00
Michael Albinus
e5aa47f993 * net/tramp-compat.el (top): Autoload used functions from
tramp.el.
(file-remote-p, process-file, start-file-process, set-file-times)
(tramp-compat-file-attributes): Compatibility functions shall not
call directly `tramp-handle-*', because this would bypass the
locking mechanism.
(tramp-compat-number-sequence): New defun.
2009-09-02 11:15:56 +00:00
Michael Albinus
7f49fe463d * net/tramp.el (tramp-handle-file-attributes-with-ls)
(tramp-do-file-attributes-with-perl)
(tramp-do-file-attributes-with-stat): Rename from
`tramp-handle-file-attributes-with-*'.
(tramp-handle-file-attributes): Use them.
(tramp-do-directory-files-and-attributes-with-perl)
(tramp-do-directory-files-and-attributes-with-stat): Rename from
`tramp-handle-directory-files-and-attributes-with-*'.
(tramp-handle-directory-files-and-attributes): Use them.
(tramp-method-out-of-band-p): Additional parameter SIZE.
(tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
(tramp-handle-write-region): Use it.
(tramp-handle-insert-directory): Use "?\ " for compatibility
reasons.
(tramp-handle-vc-registered): Check, whether the first run did
return files to be tested.
(tramp-advice-make-auto-save-file-name): Do not call directly
`tramp-handle-make-auto-save-file-name', because this would bypass
the locking mechanism.
2009-09-02 11:13:42 +00:00
Glenn Morris
ed4ba8dfc4 (time-add): Suppress warnings from compat function. 2009-09-02 03:22:00 +00:00
Glenn Morris
a68366f4da (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
Use float-time rather than time-to-seconds.
2009-09-02 03:20:48 +00:00
Glenn Morris
95e55d202d (browse-url-file-url): Use default-value rather than
default-enable-multibyte-characters.
2009-09-01 03:17:03 +00:00
Glenn Morris
b0f3d955cb (eudc-bob-generic-menu, eudc-bob-image-menu)
(eudc-bob-sound-menu): Use defvar rather than defconst, since
easy-menu-define wants to modify these.
2009-09-01 03:16:07 +00:00
Glenn Morris
a2e01f7e5e (nslookup): Use make-comint rather than comint-run. 2009-09-01 03:14:20 +00:00
Stefan Monnier
80629cfce1 (ldap-search-internal): Use with-current-buffer and push. 2009-08-30 14:24:09 +00:00
Stefan Monnier
206d03872e (imap-send-command): Simplify.
(imap-wait-for-tag): point-max - buffer-size.
2009-08-30 14:23:21 +00:00
Stefan Monnier
844f778432 (internal-ange-ftp-mode): Use define-derived-mode. 2009-08-30 14:21:34 +00:00
Michael Albinus
aa485f7ca5 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
(tramp-handle-file-local-copy): Unset `file-name-handler-alist'
when writing the temp file.  Otherwise, epa-file gets confused.
(tramp-register-file-name-handlers): Make it a defun.  Move also
`epa-file-handler' to the front of `file-name-handler-alist'.

* net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
start right after a ^M.
(tramp-root-regexp, tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Use \\` and \\'.
(tramp-handle-file-attributes, tramp-set-file-uid-gid): Don't
modify last-coding-system-used by accident.
(tramp-completion-file-name-handler): Apply the checks here,
instead during registration.
(tramp-register-file-name-handlers) Renamed from
`tramp-register-file-name-handler'.  Register both
`tramp-file-name-handler' and `tramp-completion-file-name-handler'.
(tramp-register-completion-file-name-handler): Removed.
2009-08-28 12:11:58 +00:00
Michael Albinus
d5b5c94a11 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
(tramp-cache-inhibit-cache): Extend doc string.  It allows also
timestamps.
(tramp-get-file-property): Check for timestamps in
`tramp-cache-inhibit-cache'.
(tramp-set-file-property): Write timestamp.
2009-08-27 13:50:59 +00:00
Michael Albinus
946a5aeb7d * net/tramp.el (tramp-methods): New method "rsyncc".
(top): Add completion function for "rsyncc".
(tramp-message-show-message): New defvar.
(tramp-message, tramp-error): Use it.
(tramp-do-copy-or-rename-file-directly): Extend check for direct
remote copying.
(tramp-do-copy-or-rename-file-out-of-band): Handle new
`tramp-methods' entry `copy-env' of "rsyncc".
((tramp-handle-process-file): Do not flush all
caches when `process-file-side-effects' is set.
tramp-vc-registered-read-file-names): New defconst.
(tramp-vc-registered-file-names): New defvar.
(tramp-handle-vc-registered): Implement optimization strategy.
(tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
(tramp-vc-file-name-handler): New defun.
(tramp-get-ls-command, tramp-get-test-command)
(tramp-get-file-exists-command, tramp-get-remote-ln)
(tramp-get-remote-perl, tramp-get-remote-stat)
(tramp-get-remote-id): Remove
superfluous `with-current-buffer'.
2009-08-27 13:47:55 +00:00
Michael Albinus
0b35b48e66 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
daemon.  Replace ping by checking for running service for bluez
and zeroconf.  (Bug#4239)
2009-08-25 10:26:16 +00:00
Michael Albinus
93fb0645d6 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT. 2009-08-25 10:13:54 +00:00
Glenn Morris
d54cc599f5 Kevin Ryde <user42 at zip.com.au>
(dig): Add autoload cookie.
2009-08-25 03:21:14 +00:00
Glenn Morris
a337468045 Remove code for defunct system-types emx, macos, mswindows,
unisoft-unix, vax-vms, win32, w32.
2009-08-22 21:59:40 +00:00
Stefan Monnier
5443c9b759 * net/newst-treeview.el (newsticker-groups-filename):
* net/newst-backend.el (newsticker-cache-filename):
* speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
(speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
(speedbar-add-ignored-path-regexp, speedbar-line-path)
(speedbar-buffers-line-path, speedbar-path-line)
(speedbar-buffers-line-path):
* epg.el (epg-passphrase-callback-function, epg-start-sign-keys,epg-sign-keys):
* epa.el (epa-display-verify-result):
* progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2009-08-21 14:59:49 +00:00
Michael Albinus
9e84652313 * net/dbus.el (top): Initialize only when `dbusbind' is loaded. 2009-08-21 06:45:22 +00:00
Michael Albinus
6fd2d19a36 * net/dbus.el (top): Don't check for (getenv
"DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
2009-08-20 15:24:58 +00:00
Michael Albinus
720c7cd6a9 * net/dbus.el (top): Apply `dbus-init-bus' for the :session bus
only if it is running already.
2009-08-19 07:15:28 +00:00
Michael Albinus
ba6f7d8640 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
and :session buses.
2009-08-18 15:12:14 +00:00