1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 01:50:22 -08:00
Commit graph

1016 commits

Author SHA1 Message Date
Michael Albinus
ec5145d684 * net/tramp.el (tramp-replace-environment-variables): Do not fail
if the environment variable does not exist.
2009-10-15 13:15:16 +00:00
Glenn Morris
d7a0fd6fcd Ryan Yeske <rcyeske at gmail.com>
(rcirc-view-log-file): New command.
(rcirc-track-minor-mode-map): Remove C-c ` binding.
(rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be specified.
2009-10-15 06:50:34 +00:00
Glenn Morris
37493a9884 (tramp-smb-do-file-attributes-with-stat): Let-bind `size'. 2009-10-12 07:02:59 +00:00
Michael Albinus
585eedef91 Fix last change. 2009-10-11 15:01:27 +00:00
Michael Albinus
f6f7e059f7 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-file-name-handler-alist): Add handlers for
`add-name-to-file', `make-symbolic-link'.
(tramp-smb-handle-add-name-to-file)
(tramp-do-file-attributes-with-stat)
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-get-cifs-capabilities): New defuns.
(tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
(tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
(tramp-smb-handle-file-local-copy)
(tramp-smb-handle-make-directory-internal)
(tramp-smb-handle-rename-file, tramp-smb-handle-write-region): The
file name syntax depends on cifs capabilities.
(tramp-smb-handle-file-attributes); Call
`tramp-do-file-attributes-with-stat' if possible.
(tramp-smb-handle-insert-directory): Use posix attributes if
possible.
(tramp-smb-handle-set-file-modes): It is applicable for posix
only.
2009-10-11 14:02:23 +00:00
Michael Albinus
674a9263fd * net/tramp-cache.el (tramp-flush-connection-property): The hash
can be empty.
2009-10-11 14:00:30 +00:00
Michael Albinus
46bcd78cc0 * net/tramp.el (tramp-local-host-p): Function shall return nil for
connection methods like smb.
2009-10-11 13:59:28 +00:00
Michael Albinus
288f783b7a * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
case both directories are remote.
(tramp-smb-handle-expand-file-name): Implement "~" expansion.
(tramp-smb-maybe-open-connection): Flush the cache only if
necessary.
2009-10-08 15:21:31 +00:00
Michael Albinus
a17632c1dc * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
(tramp-file-name-real-host, tramp-file-name-port): Apply
`save-match-data.
2009-10-08 15:19:56 +00:00
Michael Albinus
c2dc9732f7 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-file-name-handler-alist): Add handler for
`copy-directory', `expand-file-name', `set-file-modes'.
(tramp-smb-handle-copy-directory)
(tramp-smb-handle-expand-file-name)
(tramp-smb-handle-set-file-modes): New defuns.
(tramp-smb-handle-copy-file): Handle KEPP-DATE.
(tramp-smb-handle-file-attributes): Simplify check for retrieving
entry.
(tramp-smb-handle-insert-directory): Don't flush the cache.
(tramp-smb-maybe-open-connection): Check for samba client and
server versions.
2009-10-07 11:31:21 +00:00
Michael Albinus
e946faaf51 * net/tramp-cache.el (tramp-flush-connection-property): Add trace message. 2009-10-07 11:27:10 +00:00
Sam Steingold
f58f7520cd (tramp-compat-process-running-p): Check that
the comm attribute is present before calling regexp-quote.
2009-10-06 19:52:15 +00:00
Glenn Morris
9fb2cdc58b (tramp-handle-start-file-process): Move tramp-error call
inside with-parsed...  macro so that `v' is defined.
2009-10-06 02:50:44 +00:00
Michael Albinus
263c02efe2 * net/tramp.el (tramp-verbose): Fix docstring.
(tramp-methods): Add recursive option to `tramp-copy-args'.  Add
`tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
"scp1_old", "scp2_old", "rsync", "rsyncc".
(tramp-default-method): Check also for
`auth-source-user-or-password'.
(tramp-file-name-handler-alist, tramp-file-name-for-operation):
Add handler for `copy-directory'.
(tramp-handle-copy-directory): New defun.
(tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
(tramp-handle-start-file-process): Raise an error when PROGRAM is
nil.  Optimize sent command.
2009-10-05 11:30:52 +00:00
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