summaryrefslogtreecommitdiff
path: root/lisp/net
Commit message (Collapse)AuthorAgeFilesLines
* gnus-group-completing-read: Add 'substring to completion-styles for group ↵Katsumi Yamaoka2010-08-301-1/+1
| | | | selection; imap.el, mailcap.el, message.el, mm-util.el, nnheader.el, nnmail.el, pop3.el: Remove references to outdated systems; References to win32 w32 mswindows ms-windows emx were probably cargo-culted, and are removed for clarity; By Lars Magne Ingebrigtsen <larsi@gnus.org>.
* Use `declare' in defmacros.Stefan Monnier2010-08-301-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (save-selected-window): * lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table): * lisp/progmodes/python.el (def-python-skeleton): * lisp/net/dbus.el (dbus-ignore-errors): * lisp/jka-cmpr-hook.el (with-auto-compression-mode): * lisp/international/mule.el (with-category-table): * lisp/emacs-lisp/timer.el (with-timeout): * lisp/emacs-lisp/lisp-mnt.el (lm-with-file): * lisp/emacs-lisp/eieio.el (with-slots): * lisp/emacs-lisp/easymenu.el (easy-menu-define): * lisp/emacs-lisp/debug.el (debugger-env-macro): * lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq) (Multiple-value-call, Multiple-value-prog1): * lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key) (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and edebug rule to definition. * lisp/emacs-lisp/lisp-mode.el (save-selected-window) (with-current-buffer, combine-after-change-calls) (with-output-to-string, with-temp-file, with-temp-buffer) (with-temp-message, with-syntax-table, read-if, eval-after-load) (dolist, dotimes, when, unless): * lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
* Add "Version:" and "Package:" Lisp file headers.Chong Yidong2010-08-291-0/+1
|
* Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-2927-0/+27
|
* Sync with Tramp 2.1.19.Michael Albinus2010-08-263-4/+11
| | | | * net/trampver.el: Update release number.
* * net/dbus.el: Accept UNIX domain sockets as bus address.Michael Albinus2010-08-231-27/+28
| | | | | | | | | (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.
* Add ability to use xdg-open, i.e. your desktop default browser.Jan Djärv2010-08-171-0/+36
| | | | | | * 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
* * net/tramp.el (tramp-handle-make-symbolic-link): Flush fileMichael Albinus2010-08-171-5/+13
| | | | | | | | 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.
* Don't always log RCIRC process buffers to disk (Bug#6828).Deniz Dogan2010-08-151-2/+15
| | | | | | | | * 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).
* * net/tramp.el (tramp-vc-registered-read-file-names): Read inputMichael Albinus2010-08-101-8/+8
| | | | | | | 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>.
* * net/tramp.el (tramp-handle-start-file-process ): Set connectionMichael Albinus2010-08-061-4/+5
| | | | | | | 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.
* * net/tramp.el (tramp-handle-dired-uncache): Flush directoryMichael Albinus2010-08-051-6/+15
| | | | | | | cache, not only file cache. (tramp-process-sentinel): New defun. (tramp-handle-start-file-process): Use it, in order to invalidate file caches.
* * net/tramp.el (tramp-handle-start-file-process): Check only forMichael Albinus2010-07-291-11/+11
| | | | | | | | | | `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.
* * net/tramp.el (tramp-methods): Move hostname to the end in allMichael Albinus2010-07-282-38/+52
| | | | | | | | | | | | | 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.
* * net/tramp.el (tramp-methods): Move hostname to the end in allMichael Albinus2010-07-231-8/+8
| | | | plink `tramp-login-args'.
* * net/tramp.el (tramp-open-shell): New defun.Michael Albinus2010-07-231-31/+27
| | | | | (tramp-find-shell, tramp-open-connection-setup-interactive-shell): Use it.
* * net/tramp.el (tramp-file-name-regexp-unified)Michael Albinus2010-07-231-5/+12
| | | | | (tramp-completion-file-name-regexp-unified): On W32 systems, do not regard the volume letter as remote filename. (Bug#5447)
* * net/tramp.el (tramp-get-ls-command)Michael Albinus2010-07-211-2/+4
| | | | | (tramp-get-ls-command-with-dired): Run tests on "/dev/null" instead of "/".
* * net/tramp.el (tramp-file-name-handler): Trace 'quit.Michael Albinus2010-07-201-5/+23
| | | | | | (tramp-open-connection-setup-interactive-shell): Apply workaround for IRIX64 bug. Move argument of last `tramp-send-command' where it belongs to.
* * net/tramp.el (tramp-perl-file-attributes)Michael Albinus2010-07-201-5/+4
| | | | | | (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'.
* * net/tramp.el (tramp-get-ls-command-with-dired): Make test forMichael Albinus2010-07-171-2/+5
| | | | "--dired" stronger.
* * net/tramp.el (tramp-handle-shell-command): Don't use hard-wiredMichael Albinus2010-07-161-8/+14
| | | | | | "/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.
* * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not passMichael Albinus2010-07-111-5/+8
| | | | empty argument to gvfs-copy.
* Merge changes from emacs-23 branch.Chong Yidong2010-07-101-7/+20
|\
| * * net/zeroconf.el (zeroconf-resolve-service)Michael Albinus2010-07-031-7/+3
| | | | | | | | | | | | (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'. (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
| * * net/zeroconf.el (zeroconf-service-remove-hook): New defun.Michael Albinus2010-07-031-0/+17
| |
* | * net/dbus.el (dbus-send-signal): Declare function.Juanma Barranquero2010-07-041-0/+1
| |
* | * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).Michael Albinus2010-07-041-13/+44
| | | | | | | | | | (dbus-register-property): New optional argument EMITS-SIGNAL. (dbus-property-handler): Send signal "PropertiesChanged" if requested.
* | * net/tramp.el (tramp-remote-process-environment): Protect versionMichael Albinus2010-06-122-45/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | * notifications.el: Move file from lisp/net, because it isMichael Albinus2010-06-101-272/+0
| | | | | | | | supposed to talk locally to the user.
* | * net/notifications.el (notifications-on-action-signal)Michael Albinus2010-06-101-5/+10
| | | | | | | | | | | | (notifications-on-closed-signal): Pass notification id as first argument to the callback functions. Add docstrings. (notifications-notify): Fix docstring.
* | * lisp/net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): ResolveStefan Monnier2010-06-091-17/+18
| | | | | | | | merge conflict, giving preference to the emacs-23 version of the code.
* | Conflict resolution fixupAndreas Schwab2010-06-101-9/+2
| |
* | Merge from emacs-23Andreas Schwab2010-06-102-12/+18
|\|
| * * lisp/net/rcirc.el: Add support for password authentication.Jonathan Rockway2010-06-071-4/+19
| | | | | | | | | | | | (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.
| * * net/dbus.el: Fix typos and declare function.Juanma Barranquero2010-06-051-10/+9
| |
* | * net/notifications.el (notifications-notify): Fix docstring.Michael Albinus2010-06-091-1/+1
| |
* | * net/notifications.el (dbus-register-signal): Declare function.Juanma Barranquero2010-06-091-7/+9
| | | | | | | | (notifications-notify): Fix typos and reflow docstring.
* | move notifications.el to net/Michael Albinus2010-06-091-0/+265
| |
* | * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".Michael Albinus2010-06-042-63/+82
| | | | | | | | | | | | | | | | (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.
* | * net/rcirc.el (rcirc-sort-nicknames): Remove.Chong Yidong2010-06-031-9/+1
| | | | | | | | (rcirc-handler-366): Always sort nicknames.
* | * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.Chong Yidong2010-06-031-12/+6
| |
* | * net/rcirc.el (rcirc-sort-nicknames): Change default.Stefan Monnier2010-06-031-5/+5
| | | | | | | | (rcirc-sort-nicknames-join): Avoid setq.
* | * lisp/net/rcirc.el (rcirc-sort-nicknames): New custom.Deniz Dogan2010-06-031-1/+41
| | | | | | | | | | (rcirc-nickname<, rcirc-sort-nicknames-join): New funs. (rcirc-handler-366): Use them.
* | * net/tramp-gvfs.el (top): Require url-util.Michael Albinus2010-06-021-114/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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).
* | * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'Michael Albinus2010-05-281-8/+19
| | | | | | | | | | | | | | to ignored backtrace functions. (with-progress-reporter): Expand docstring. (tramp-handle-delete-file): Implement TRASH argument. (tramp-get-remote-trash): New defun.
* | * net/tramp-compat.el (tramp-compat-delete-file): UseMichael Albinus2010-05-287-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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.
* | Change delete-by-moving-to-trash so Lisp calls explicitly request trashing.Chong Yidong2010-05-278-68/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | * net/tramp.el (tramp-handle-insert-directory): Don't useMichael Albinus2010-05-251-6/+4
| | | | | | | | `forward-word', it's default syntax could be changed.
* | * net/tramp.el (tramp-progress-reporter-update): New defun.Michael Albinus2010-05-252-28/+39
| | | | | | | | | | | | | | | | (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)