Michael Albinus
44ffae9672
Sync with Tramp 2.1.19.
...
* net/trampver.el: Update release number.
2010-08-26 09:33:16 +02:00
Michael Albinus
e73f184c42
* net/dbus.el: Accept UNIX domain sockets as bus address.
...
(top): Don't initialize `dbus-registered-objects-table' anymore,
this is done in dbusbind,c.
(dbus-check-event): Adapt test for bus.
(dbus-return-values-table, dbus-unregister-service)
(dbus-event-bus-name, dbus-introspect, dbus-register-property):
Adapt doc string.
2010-08-23 15:08:54 +02:00
Leo Liu
c00725d796
Handle multiple entries in some RCIRC commands (Bug#6894).
...
* lisp/net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
(ignore, bright, dim, keyword): Split list of nicknames before
passing to rcirc-add-or-remove.
2010-08-22 18:44:55 -04:00
Jan Djärv
2269b349e3
Add ability to use xdg-open, i.e. your desktop default browser.
...
* net/browse-url.el (browse-url-default-browser): Add cond
for browse-url-xdg-open
(browse-url-can-use-xdg-open, browse-url-xdg-open): New functions
2010-08-17 10:01:10 +02:00
Michael Albinus
bb6aba9c64
* net/tramp.el (tramp-handle-make-symbolic-link): Flush file
...
properties.
(tramp-handle-process-file): Call the program in a subshell, in
order to preserve working directory.
(tramp-action-password): Hide password prompt before next run.
(tramp-process-actions): Widen connection buffer for the trace.
2010-08-17 06:52:16 +02:00
Deniz Dogan
8f10c93712
Don't always log RCIRC process buffers to disk (Bug#6828).
...
* lisp/net/rcirc.el (rcirc-log-process-buffers): New option.
(rcirc-print): Use it.
(rcirc-generate-log-filename): New function.
(rcirc-log-filename-function): Change default to
rcirc-generate-log-filename (Bug#6828).
2010-08-15 23:34:10 -04:00
Michael Albinus
80ca4f1e7e
* net/tramp.el (tramp-vc-registered-read-file-names): Read input
...
as here-document, otherwise the command could exceed maximum
length of command line.
(tramp-handle-vc-registered): Call script accordingly. Reported
by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2010-08-10 11:58:15 +02:00
Michael Albinus
d00fa9b65e
* net/tramp.el (tramp-handle-start-file-process ): Set connection
...
property "vec".
(tramp-process-sentinel): Use it for flushing the cache. We
cannot do it via the process buffer, the buffer could be deleted
already when running the sentinel.
2010-08-06 16:34:23 +02:00
Michael Albinus
39e1bf0b6a
* net/tramp.el (tramp-handle-dired-uncache): Flush directory
...
cache, not only file cache.
(tramp-process-sentinel): New defun.
(tramp-handle-start-file-process): Use it, in order to invalidate
file caches.
2010-08-05 10:15:22 +02:00
Michael Albinus
683cc385a4
* net/tramp.el (tramp-handle-start-file-process): Check only for
...
`remote-tty' process property.
(tramp-open-shell): Don't check for tty.
(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
process property.
* progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
host.
2010-07-29 15:13:11 +02:00
Michael Albinus
8fbcce2d5a
* net/tramp.el (tramp-methods): Move hostname to the end in all
...
ssh `tramp-login-args'.
(tramp-verbose): Describe verbose level 9.
(tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
(tramp-open-connection-setup-interactive-shell): Trace stty
settings if `tramp-verbose' >= 9.
(tramp-handle-start-file-process): Implement tty setting.
(Bug#4604, Bug#6360)
* net/tramp-cmds.el (tramp-bug): Recommend setting of
`tramp-verbose' to 9.
2010-07-28 12:02:18 +02:00
Michael Albinus
225d5e9e16
* net/tramp.el (tramp-methods): Move hostname to the end in all
...
plink `tramp-login-args'.
2010-07-23 15:58:52 +02:00
Michael Albinus
84bc68f289
* net/tramp.el (tramp-open-shell): New defun.
...
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use it.
2010-07-23 15:40:33 +02:00
Michael Albinus
1eb5ca1cb4
* net/tramp.el (tramp-file-name-regexp-unified)
...
(tramp-completion-file-name-regexp-unified): On W32 systems, do
not regard the volume letter as remote filename. (Bug#5447)
2010-07-23 15:31:56 +02:00
Michael Albinus
10e7399417
* net/tramp.el (tramp-get-ls-command)
...
(tramp-get-ls-command-with-dired): Run tests on "/dev/null"
instead of "/".
2010-07-21 06:40:47 +02:00
Michael Albinus
af4b9ae586
* net/tramp.el (tramp-file-name-handler): Trace 'quit.
...
(tramp-open-connection-setup-interactive-shell): Apply
workaround for IRIX64 bug. Move argument of last
`tramp-send-command' where it belongs to.
2010-07-20 21:15:01 +02:00
Michael Albinus
da040a1615
* net/tramp.el (tramp-perl-file-attributes)
...
(tramp-perl-directory-files-and-attributes): Don't pass "$3".
(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
front of `login-args'.
2010-07-20 12:29:05 +02:00
Michael Albinus
1c0e8f0eef
* net/tramp.el (tramp-get-ls-command-with-dired): Make test for
...
"--dired" stronger.
2010-07-17 10:44:59 +02:00
Michael Albinus
7e4289ad2b
* net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
...
"/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
(tramp-find-shell): Simplify setting connection property.
(tramp-get-ls-command): Make test for "--color=never" stronger.
2010-07-16 14:09:55 +02:00
Michael Albinus
3277c1ee3a
* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
...
empty argument to gvfs-copy.
2010-07-11 10:28:04 +02:00
Chong Yidong
2ec1b5ee34
Merge changes from emacs-23 branch.
2010-07-10 14:52:53 -04:00
Juanma Barranquero
b24344ca48
* net/dbus.el (dbus-send-signal): Declare function.
2010-07-04 16:32:00 +02:00
Michael Albinus
b1ce08daa9
* net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
...
(dbus-register-property): New optional argument EMITS-SIGNAL.
(dbus-property-handler): Send signal "PropertiesChanged" if requested.
2010-07-04 11:52:57 +02:00
Michael Albinus
5d1cd8bd9f
* net/zeroconf.el (zeroconf-resolve-service)
...
(zeroconf-service-resolver-handler): Use
`dbus-byte-array-to-string'.
(zeroconf-publish-service): Use `dbus-string-to-byte-array'.
2010-07-03 13:12:53 +02:00
Michael Albinus
112dbc0eee
* net/zeroconf.el (zeroconf-service-remove-hook): New defun.
2010-07-03 12:52:17 +02:00
Michael Albinus
b81a0b5691
* net/tramp.el (tramp-remote-process-environment): Protect version
...
string by apostroph.
(tramp-shell-prompt-pattern): Do not use a shy group in case of
XEmacs.
(tramp-file-name-for-operation): Add `call-process-region'.
(tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
* net/tramp-compat.el (top): Do not autoload
`tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
only when `start-file-process' is not bound.
(tramp-advice-file-expand-wildcards): Do not use
`tramp-handle-file-remote-p'.
(tramp-compat-make-temp-file): Handle the case, that
`make-temp-file' has no third argument EXTENSION.
2010-06-12 10:59:37 +02:00
Michael Albinus
3ef0a6a5fe
* notifications.el: Move file from lisp/net, because it is
...
supposed to talk locally to the user.
2010-06-10 14:56:11 +02:00
Michael Albinus
fa4003dab3
* net/notifications.el (notifications-on-action-signal)
...
(notifications-on-closed-signal): Pass notification id as first
argument to the callback functions. Add docstrings.
(notifications-notify): Fix docstring.
2010-06-10 14:44:59 +02:00
Stefan Monnier
a71832f78d
* lisp/net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
...
merge conflict, giving preference to the emacs-23 version of the code.
2010-06-09 21:10:04 -04:00
Andreas Schwab
3c093c775f
Conflict resolution fixup
2010-06-10 00:34:08 +02:00
Andreas Schwab
639b2760f1
Merge from emacs-23
2010-06-10 00:08:50 +02:00
Michael Albinus
890a18d631
* net/notifications.el (notifications-notify): Fix docstring.
2010-06-09 19:54:28 +02:00
Juanma Barranquero
b978141d8b
* net/notifications.el (dbus-register-signal): Declare function.
...
(notifications-notify): Fix typos and reflow docstring.
2010-06-09 13:16:21 +02:00
Michael Albinus
ef33fd3404
move notifications.el to net/
2010-06-09 09:36:45 +02:00
Jonathan Rockway
2d9a4946e7
* lisp/net/rcirc.el: Add support for password authentication.
...
(rcirc-server-alist): Add :password keyword.
(rcirc): Ask for a password, or get it from the server's alist.
(rcirc-connect): Add password argument. Pass it to server.
2010-06-07 17:20:44 -04:00
Juanma Barranquero
35b148ee23
* net/dbus.el: Fix typos and declare function.
2010-06-05 22:36:27 +02:00
Michael Albinus
4f201088d3
* net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
...
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Handle default-location.
* net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
move files to trash.
2010-06-04 13:26:54 +02:00
Chong Yidong
aa1bc616a5
* net/rcirc.el (rcirc-sort-nicknames): Remove.
...
(rcirc-handler-366): Always sort nicknames.
2010-06-03 13:22:27 -04:00
Chong Yidong
44ea155d13
* net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
2010-06-03 11:58:20 -04:00
Stefan Monnier
a91dedc456
* net/rcirc.el (rcirc-sort-nicknames): Change default.
...
(rcirc-sort-nicknames-join): Avoid setq.
2010-06-03 11:51:38 -04:00
Deniz Dogan
c62bf05a37
* lisp/net/rcirc.el (rcirc-sort-nicknames): New custom.
...
(rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
(rcirc-handler-366): Use them.
2010-06-03 11:07:49 -04:00
Michael Albinus
1efeec868d
* net/tramp-gvfs.el (top): Require url-util.
...
(tramp-gvfs-mount-point): Removed.
(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command): New
defuns.
(with-tramp-dbus-call-method): Format trace message.
(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
Implement backup call, when operation on local files fails. Use
progress reporter. Flush properties of changed files.
(tramp-gvfs-handle-make-directory): Make more traces.
(tramp-gvfs-url-file-name): Hexify file name in url.
(tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
into account for the resulting file name.
(tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
the answer is "no". See `tramp-gvfs-maybe-open-connection'.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Test also for new mountspec
attribute "default_location". Set "prefix" property.
(tramp-gvfs-mount-spec): Return both prefix and mountspec.
(tramp-gvfs-maybe-open-connection): Test, whether mountpoint
exists. Raise an error, if not (due to a corresponding answer
"no" in interactive questions, for example).
2010-06-02 11:53:00 +02:00
Michael Albinus
b6827fff7a
* net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
...
to ignored backtrace functions.
(with-progress-reporter): Expand docstring.
(tramp-handle-delete-file): Implement TRASH argument.
(tramp-get-remote-trash): New defun.
2010-05-28 16:48:56 +02:00
Michael Albinus
eba082a2e4
* net/tramp-compat.el (tramp-compat-delete-file): Use
...
`symbol-value' for backward compatibility.
* net/tramp.el (tramp-handle-make-symbolic-link)
(tramp-handle-load)
(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-process-file, tramp-handle-call-process-region)
(tramp-handle-shell-command, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-delete-temp-file-function): Use `delete-file' instead
of `tramp-compat-delete-file'.
* net/tramp-fish.el (tramp-fish-handle-delete-directory)
(tramp-fish-handle-make-symbolic-link)
(tramp-fish-handle-process-file): Use `delete-file' instead
of `tramp-compat-delete-file'.
* net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
`delete-file' instead of `tramp-compat-delete-file'.
* net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
(tramp-gvfs-handle-write-region): Use `delete-file' instead of
`tramp-compat-delete-file'.
* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
`delete-file' instead of `tramp-compat-delete-file'.
* net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region): Use `delete-file' instead of
`tramp-compat-delete-file'.
(tramp-smb-handle-delete-directory): Use 'trash as arg.
2010-05-28 15:28:36 +02:00
Chong Yidong
f1a5d776c4
Change delete-by-moving-to-trash so Lisp calls explicitly request trashing.
...
* src/fileio.c (Fdelete_file): Change meaning of optional arg to mean
whether to trash.
(internal_delete_file, Frename_file): Callers changed.
(delete_by_moving_to_trash): Doc fix.
(Fdelete_directory_internal): Don't move to trash.
* src/callproc.c (delete_temp_file):
* src/buffer.c (Fkill_buffer): Callers changed.
* src/lisp.h: Update prototype.
* lisp/diff.el (diff-sentinel):
* lisp/epg.el (epg--make-temp-file, epg-decrypt-string)
(epg-verify-string, epg-sign-string, epg-encrypt-string):
* lisp/jka-compr.el (jka-compr-partial-uncompress)
(jka-compr-call-process, jka-compr-write-region):
* lisp/server.el (server-sentinel): Remove optional arg from
delete-file, reverting 2010-05-03 change.
* lisp/dired.el (dired-delete-file): New arg TRASH.
(dired-internal-do-deletions): New arg TRASH. Use progress
reporter.
(dired-do-flagged-delete, dired-do-delete): Use trash.
* lisp/files.el (delete-directory): New arg TRASH.
* lisp/speedbar.el (speedbar-item-delete): Allow trashing.
* lisp/net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
(ange-ftp-rename-remote-to-remote)
(ange-ftp-rename-local-to-remote)
(ange-ftp-rename-remote-to-local, ange-ftp-load)
(ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
`delete-file'.
(ange-ftp-delete-directory): Add optional arg to `delete-file', to
allow trashing.
* lisp/net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
handle new TRASH arg of `delete-file'.
* lisp/net/tramp-fish.el (tramp-fish-handle-delete-directory)
(tramp-fish-handle-delete-file)
(tramp-fish-handle-make-symbolic-link)
(tramp-fish-handle-process-file): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
arg in `tramp-compat-delete-file' call.
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
(tramp-gvfs-handle-write-region): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
(tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region): Use null TRASH arg in
tramp-compat-delete-file call.
(tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
(tramp-smb-handle-delete-file): Rename arg.
* lisp/net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
(tramp-handle-make-symbolic-link, tramp-handle-load)
(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-process-file, tramp-handle-call-process-region)
(tramp-handle-shell-command, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-delete-temp-file-function): Use null TRASH arg in
tramp-compat-delete-file call.
2010-05-27 19:30:11 -04:00
Michael Albinus
fa9ba95335
* net/tramp.el (tramp-handle-insert-directory): Don't use
...
`forward-word', it's default syntax could be changed.
2010-05-25 15:33:55 +02:00
Michael Albinus
9e0213891d
* net/tramp.el (tramp-progress-reporter-update): New defun.
...
(with-progress-reporter): Use it.
(tramp-process-actions):
* net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
current message, in order to let progress reporter continue
afterwards. (Bug#6257)
2010-05-25 10:45:35 +02:00
Glenn Morris
6169260ba9
* net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name): Add :version.
2010-05-24 20:38:41 -07:00
Ryan Yeske
d26781afb9
rcirc update.
...
* lisp/net/rcirc.el (rcirc-server-alist): Add :pass.
(rcirc-default-user-name): Change to "user".
(rcirc-default-full-name): Change to "unknown".
(rcirc-user-name-history): Add variable.
(rcirc): When prompting for connection paramaters, also prompt for
username and password.
(rcirc-connect): Take a PASS argument. If PASS is non-nil, send
value to server when connecting.
2010-05-24 20:35:31 -07:00
Stefan Monnier
d355a0b791
Replace Lisp calls to delete-backward-char by delete-char.
...
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00