summaryrefslogtreecommitdiff
path: root/lisp/net
Commit message (Collapse)AuthorAgeFilesLines
* Remove subsumed repetitions in regexpsMattias Engdegård2020-02-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make regexps smaller and faster by removing terms that are superfluous by virtue of standing next to another term that matches more. See https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00949.html for details. * lisp/bs.el (bs--make-header-match-string): * lisp/gnus/deuglify.el (gnus-outlook-repair-attribution-block): * lisp/gnus/message.el (message-subject-trailing-was-ask-regexp) (message-subject-trailing-was-regexp): * lisp/informat.el (Info-validate): * lisp/net/browse-url.el (browse-url-button-regexp): * lisp/net/rcirc.el (rcirc-url-regexp): * lisp/org/ob-core.el (org-babel-remove-result): * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap): * lisp/org/org-capture.el (org-capture-set-target-location): * lisp/org/org-table.el (org-table-expand-lhs-ranges): * lisp/org/org.el (org-maybe-keyword-time-regexp, org-ts-regexp) (org-ts-regexp-inactive, org-ts-regexp-both): * lisp/play/gametree.el (gametree-hack-file-layout): * lisp/progmodes/cc-mode.el (c-Java-defun-prompt-regexp): * lisp/progmodes/idlw-shell.el (idlwave-shell-halting-error): * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): * lisp/progmodes/verilog-mode.el (verilog-error-font-lock-keywords) (verilog-verilint-off, verilog-case-indent-level) (verilog-within-translate-off, verilog-start-translate-off) (verilog-back-to-start-translate-off, verilog-end-translate-off) (verilog-expand-dirnames): * lisp/term.el (term-control-seq-regexp): * lisp/textmodes/reftex-vars.el (featurep): * lisp/url/url-gw.el (url-open-telnet): * lisp/vc/ediff-ptch.el (ediff-context-diff-label-regexp): * lisp/vc/pcvs-parse.el (cvs-parse-status): * test/src/regex-emacs-tests.el (regex-tests-PCRE): Remove subsumed repetitions. * lisp/progmodes/sh-script.el (sh-syntax-propertize-function): Simplify repetition of a repetition.
* shr comment typo fixLars Ingebrigtsen2020-02-201-1/+1
| | | | * lisp/net/shr.el (shr-parse-base): Comment typo fix.
* Fix <button>...</button> submit button rendering in ewwLars Ingebrigtsen2020-02-201-5/+7
| | | | | | * lisp/net/eww.el (eww-form-submit): Use the contents of the <button>...</button> for the string if there is no value (bug#39326).
* Introduce face for <code> elements in shrKévin Le Gouguec2020-02-201-1/+1
| | | | | | * lisp/net/shr.el (shr-tag-code): Don't use the `default' font, because it has properties that will override surrounding elements (like <a...>) (bug#39504).
* Simplify Tramp cachingMichael Albinus2020-02-132-63/+44
| | | | | | | | | * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties) (tramp-flush-directory-properties) (tramp-flush-connection-properties, tramp-list-connections) (tramp-parse-connection-properties): * lisp/net/tramp-gvfs.el (tramp-parse-goa-accounts) (tramp-parse-media-names): Simplify cache handling.
* Fix `tramp-interrupt-process'Michael Albinus2020-02-131-6/+3
| | | | | | | | * lisp/net/tramp.el (tramp-interrupt-process): Improve command. * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name) (tramp-test26-file-name-completion): Simplify. (tramp-test31-interrupt-process): Remove :unstable tag.
* Fix problem with auth-source.el in TrampMichael Albinus2020-02-111-1/+6
| | | | | * lisp/net/tramp.el (tramp-read-passwd): Use `tramp-compat-temporary-file-directory'. (Bug#39389, Bug#39489)
* Fix window position in Tramp's shell-commandMichael Albinus2020-02-101-3/+4
| | | | | * lisp/net/tramp.el (tramp-handle-shell-command): Fix `window-start' in output buffer. (Bug#39171)
* Some Tramp fixesMichael Albinus2020-02-074-20/+32
| | | | | | | | | | | * lisp/net/tramp.el (tramp-connectable-p): * lisp/net/tramp-cache.el (tramp-list-connections): * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Bind `tramp-verbose' to 0. * lisp/net/tramp-sh.el (tramp-remote-path, tramp-find-executable): Fix docstring. (tramp-open-shell): Read prompt when moving "~/.editrc".
* Merge from origin/emacs-27Glenn Morris2020-02-063-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09eed01afb Wrap some set-auto-mode calls with delay-mode-hooks (bug#3... 4a0a114505 Support ido-vertical-mode better ef5fba9f40 Fix faces tab-bar and tab-line. 831508422e Cater for 3-argument version of pthread_setname_np f27187f963 Clarify lexvar restrictions for add-to-ordered-list, add-t... 32763dac46 Replace add-to-list to lexical variable with push (bug#39373) d07f177382 Clarify add-to-list documentation (bug#39373) d3d2ea927c MH-E: alter content in mh-display-msg, not mh-show-mode db7fa2546f Update documentation for mh-show-mode-hook d10be6bf28 Example goto-addr hook: MH-E already uses goto-address # Conflicts: # etc/NEWS
| * Replace add-to-list to lexical variable with push (bug#39373)Mattias Engdegård2020-02-012-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 'add-to-list', being a plain function, cannot access lexical variables, such use must be rewritten for correctness. (Some instances actually do work thanks to a compiler macro, but it's not something code should rely on.) * lisp/autoinsert.el (auto-insert-alist): * lisp/cedet/mode-local.el (mode-local-print-bindings): * lisp/net/tramp-cache.el (tramp-flush-connection-properties) (tramp-list-connections): * lisp/net/zeroconf.el (zeroconf-list-service-names) (zeroconf-list-service-types, zeroconf-list-services): * lisp/org/org.el (org-reload): * lisp/whitespace.el (whitespace-report-region): * test/lisp/emacs-lisp/map-tests.el (test-map-do): Replace add-to-list with push.
| * Example goto-addr hook: MH-E already uses goto-addressStephen Gildea2020-02-011-4/+4
| | | | | | | | | | | | * lisp/net/goto-addr.el, doc/emacs/misc.texi: Do not use MH-E as the example of how to add a hook to goto-address, because MH-E calls goto-address internally.
* | Handle problem with *BSD libedit in TrampMichael Albinus2020-02-051-2/+19
| | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add "-noediting" as bash arg. (tramp-open-shell): Provide proper "~/.editrc" if needed. (Bug#39399)
* | * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-system-info): Fix error.Michael Albinus2020-02-051-4/+5
| |
* | Implement `shell-command-dont-erase-buffer' in Tramp. (Bug#39067)Michael Albinus2020-02-011-29/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-shell-command): Handle `shell-command-dont-erase-buffer'. (Bug#39067) * test/lisp/net/tramp-tests.el (shell-command-dont-erase-buffer): Declare. (tramp-test10-write-region, tramp-test21-file-links): Use function symbols. (tramp--test-async-shell-command): Don't assume that `async-shell-command' returns the process object. (tramp-test32-shell-command): Rework `async-shell-command-width' test. (tramp-test32-shell-command-dont-erase-buffer): New test.
* | Remove compatibility hack in TrampMichael Albinus2020-01-313-19/+23
| | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-process-running-p): Remove. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Use `tramp-process-running-p'. * lisp/net/lisp/net/tramp.el (with-tramp-progress-reporter): Simplify. (tramp-process-running-p): New defun.
* | Fix Bug#39253Michael Albinus2020-01-271-0/+6
| | | | | | | | * lisp/net/tramp.el (tramp-handle-shell-command): Set `default-directory'.
* | Fix problems in Tramp's async-shell-commandMichael Albinus2020-01-274-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-cache.el (top): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Use `insert-file-contents-literally'. * lisp/net/tramp.el (tramp-parse-file): Use `insert-file-contents-literally'. (tramp-handle-shell-command): Reorganize error-buffer handling. (tramp-handle-start-file-process): Use `consp' instead of `listp'. * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process): Bind `delete-exited-processes'. (tramp--test-async-shell-command): Bind `delete-exited-processes'. Add additional `accept-process-output'. Move cleanup of output buffer ... (tramp-test32-shell-command): ... here. Test error buffer also for `async-shell-command'.
* | Fix Bug#39279Michael Albinus2020-01-251-4/+5
| | | | | | | | | | * lisp/net/tramp.el (tramp-completion-file-name-handler): Fix thinko. (Bug#39279)
* | Remove (or double) redundant backslashes in string literalsMattias Engdegård2020-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion at https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00749.html . * lisp/obsolete/iswitchb.el (iswitchb-summaries-to-end): * test/src/regex-emacs-tests.el (regex-tests-BOOST-frob-escapes): * test/lisp/help-fns-tests.el (help-fns-test-lisp-macro) (help-fns-test-lisp-defun, help-fns-test-lisp-defsubst) (help-fns-test-alias-to-defun, help-fns-test-bug23887): Double backslashes for desired effect. * lisp/org/ol.el (org-link-escape): * lisp/net/nsm.el (nsm-protocol-check--rsa-kx) (nsm-protocol-check--anon-kx, nsm-protocol-check--sha1-sig): * lisp/obsolete/old-whitespace.el (whitespace-buffer): * lisp/obsolete/rcompile.el (remote-compile-run-before): * lisp/obsolete/vi.el (vi-end-of-blank-delimited-word): * lisp/obsolete/vip.el (vip-current-major-mode) (vip-paren-match, vip-switch-to-buffer) (vip-switch-to-buffer-other-window, vip-kill-buffer) (vip-get-ex-token, ex-edit): * lisp/org/org-element.el (org-element--cache-sync-requests): * lisp/org/org.el (org-sparse-tree): * lisp/textmodes/reftex.el (reftex-report-bug): * test/lisp/ibuffer-tests.el (ibuffer-save-filters): * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--insert-failing-lines): * test/lisp/simple-tests.el (undo-test-kill-c-a-then-undo): * test/lisp/textmodes/conf-mode-tests.el (conf-test-toml-mode): * test/src/regex-emacs-tests.el (regex-tests-compare): Remove redundant backslashes.
* | Make links in shr use separate mouse highlight regionsLars Ingebrigtsen2020-01-241-1/+3
| | | | | | | | | | * lisp/net/shr.el (shr-urlify): Make adjacent links have separate mouse hightlights (bug#39115).
* | Minor code cleanup in TrampMichael Albinus2020-01-244-40/+39
| |
* | Support (un)mount of Tramp media devicesMichael Albinus2020-01-241-19/+38
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping): Add "gvfs-rename". (tramp-gvfs-do-copy-or-rename-file): Use it. (tramp-gvfs-activation-uri): Handle "media" method. (tramp-gvfs-url-host): New defun. (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p) (tramp-gvfs-handler-volumeadded-volumeremoved) (tramp-get-media-devices): Use it.
* | Implement "/media::" default host name in TrampMichael Albinus2020-01-232-10/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (GVFS-based methods): Describe default /media:: file name. * lisp/net/tramp-cache.el (tramp-get-file-property) (tramp-set-file-property): Check, whether `tramp-cache-{g,s}et-count-*' objects are numbers. * lisp/net/tramp-gvfs.el (top): Don't set global default for "media" in `tramp-default-host-alist'. (tramp-gvfs-handler-volumeadded-volumeremoved): New defun. (top): Register "org.gtk.Private.RemoteVolumeMonitor.VolumeAdded" and "org.gtk.Private.RemoteVolumeMonitor.VolumeRemoved" signals. (tramp-get-media-devices): Set defaults for "media" in `tramp-default-host-alist'.
* | Add new Tramp method "media"Michael Albinus2020-01-222-90/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Quick Start Guide, GVFS-based methods): Add media devices. * etc/NEWS: Mention new Tramp method "media". * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "media" method. (tramp-goa-methods): Add tramp-autoload cookie. (tramp-media-methods): New defvar. (tramp-gvfs-service-volumemonitor): New defsubst. (top): Remove media methods if not supported. Add defaults for `tramp-default-host-alist'. (tramp-goa-account): Rename from `tramp-goa-name'. Adapt all callees. (tramp-gvfs-service-afc-volumemonitor) (tramp-gvfs-service-goa-volumemonitor) (tramp-gvfs-service-gphoto2-volumemonitor) (tramp-gvfs-service-mtp-volumemonitor) (tramp-gvfs-path-remotevolumemonitor) (tramp-gvfs-interface-remotevolumemonitor): New defconsts. (tramp-media-device): New defstruct. (tramp-gvfs-activation-uri): New defun. (tramp-gvfs-url-file-name): Use it. (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec): Handle "media" method. (tramp-get-goa-account): Rename from `tramp-make-goa-name'. Adapt all callees. (tramp-get-goa-accounts): Adapt docstring. Cache with nil key. (tramp-parse-goa-accounts, tramp-get-media-device) (tramp-get-media-devices) (tramp-parse-media-names): New defuns. (top): Rework completion function registration. * lisp/net/tramp.el (tramp-dns-sd-service-regexp): New defconst. (tramp-set-completion-function): Use it.
* | Sync with Tramp 2.5.0-preMichael Albinus2020-01-1912-395/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Protext Tramp x.y and Emacs x.y by @w{}. (GVFS-based methods): Move "GNOME Online Accounts" index. (Customizing Methods, Android shell setup, File name completion) (Frequently Asked Questions): Fix typos. * doc/misc/trampver.texi: Change version to "2.5.0-pre". * lisp/net/trampver.el: Change version to "2.5.0-pre". (inhibit-message): Don't declare. * lisp/net/tramp.el: Bump version to 2.5.0-pre. Require Emacs 25.1. (tramp-debug-message): Simplify. (tramp-message): Don't use `tramp-message-show-message'. (tramp-with-demoted-errors, with-parsed-tramp-file-name) (with-tramp-file-property, with-tramp-connection-property): Adapt `declare' form. (with-tramp-progress-reporter): Suppress progress reporter when noninteractive. (tramp-completion-mode, tramp-completion-mode-p): Remove. * lisp/net/tramp-compat.el (tramp-compat-process-running-p) (format-message): Remove compatibility code. (tramp-compat-directory-name-p) (tramp-compat-tramp-file-name-slots): Remove. * lisp/net/tramp.el (tramp-debug-message, tramp-message) (tramp-backtrace, tramp-error, tramp-error-with-buffer) (tramp-user-error, tramp-with-demoted-errors) (tramp-signal-hook-function): * lisp/net/tramp-compat.el (tramp-compat-funcall) * lisp/net/tramp-gvfs.el (tramp-dbus-function): Add `tramp-suppress-trace' property. * lisp/net/tramp.el (tramp-get-method-parameter) (tramp-dissect-file-name, tramp-error, tramp-error-with-buffer) (tramp-user-error, with-parsed-tramp-file-name) (with-tramp-progress-reporter, tramp-file-name-handler) (tramp-completion-file-name-handler, tramp-autoload-file-name-handler) (tramp-register-file-name-handlers, tramp-connectable-p) (tramp-handle-file-modes, tramp-handle-file-regular-p) (tramp-handle-file-truename, tramp-handle-insert-directory) (tramp-handle-load, tramp-set-file-uid-gid): * lisp/net/tramp-adb.el (tramp-adb-file-name-handler) (tramp-adb-handle-file-truename, tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): * lisp/net/tramp-archive.el (with-parsed-tramp-archive-file-name): * lisp/net/tramp-cache.el (tramp-get-file-property, tramp-cache-print): * lisp/net/tramp-compat.el (tramp-compat-process-running-p) (tramp-compat-exec-path): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler) (tramp-gvfs-dbus-byte-array-to-string) (tramp-gvfs-do-copy-or-rename-file): * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler) (tramp-rclone-do-copy-or-rename-file): * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename) (tramp-sh-handle-copy-directory, tramp-do-copy-or-rename-file) (tramp-sh-handle-insert-directory, tramp-sh-file-name-handler) (tramp-maybe-open-connection): * lisp/net/tramp-smb.el (tramp-smb-file-name-handler) (tramp-smb-handle-copy-file, tramp-smb-handle-copy-directory) (tramp-smb-handle-copy-file, tramp-smb-handle-insert-directory) (tramp-smb-handle-rename-file, tramp-smb-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler) (tramp-sudoedit-do-copy-or-rename-file) (tramp-sudoedit-handle-file-truename): Use `if-let', `when-let', `directory-name-p', `inhibit-message', `non-essential and `cl-struct-slot-info'. Don't use `seconds-to-time'. * test/lisp/net/tramp-archive-tests.el (tramp-message-show-message): Don't set. * test/lisp/net/tramp-tests.el (inhibit-message): Don't declare. (tramp-message-show-message): Don't set. (tramp-test06-directory-file-name): Use `non-essential'. (tramp-test10-write-region): Use `inhibit-message'. (tramp-test36-vc-registered): No special handling for old Emacsen. (tramp--test-emacs25-p): Remove. (tramp-test45-unload): Special case of `tramp-completion-mode'.
* | Add SASL SCRAM-SHA-256 support.Simon Josefsson2020-01-162-2/+62
| | | | | | | | | | | | | | | | * lisp/net/sasl.el (sasl-mechanisms): Add SCRAM-SHA-256. (sasl-mechanism-alist): Ditto. * lisp/net/sasl-scram-sha256.el: New file. * tests/lisp/net/sasl-scram-rfc-tests.el (sasl-scram-sha-256-test): New function.
* | dns-query now represents SOA integers as integers (Bug#38937)Paul Eggert2020-01-151-9/+7
| | | | | | | | | | | | * lisp/net/dns.el (dns-read-int32): Declare obsolete. Assume bignums. (dns-read-type): Represent SOA integers as integers, not strings.
* | Refactor Tramp async process codeMichael Albinus2020-01-142-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Update stderr buffer when process has finished. Do not call `auto-revert'. * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process): Tag it :unstable. Change `accept-process-output' arguments. (tramp--test-async-shell-command): New defun. (tramp--test-shell-command-to-string-asynchronously): Use it. (tramp-test32-shell-command): Refactor code.
* | Add hexdump/awk file encoding to Tramp. (Bug#35639)Michael Albinus2020-01-091-19/+105
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-hexdump-encode, tramp-hexdump-awk-encode) (tramp-od-encode, tramp-od-awk-encode): New defconst. (tramp-awk-encode, tramp-awk-decode): Adapt. (tramp-awk-coding-test): Remove. (tramp-remote-coding-commands): Add hexdump/awk encoding. (Bug#35639) (tramp-find-inline-encoding): Adapt handling of awk, hexdump and od. (tramp-get-remote-busybox, tramp-get-remote-awk) (tramp-get-remote-hexdump, tramp-get-remote-od): New defuns.
* | Merge from origin/emacs-27Glenn Morris2020-01-081-12/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6cd9ccb0a2 (origin/emacs-27) Fix compression of directories in Dired 42329e6d3b ; * etc/NEWS: Review of the whole text. af5709f16b Further enhancement on `tramp-file-local-name' fb432446f5 Objective C Mode imenu: cease recognizing "functions" with... a18373a999 ; * etc/NEWS: Update the text about the XDG_CONFIG_HOME/em... 73fd8a4b53 Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38... f54b24304d Scale top-left coordinates in display-monitor-attributes-list b46c75b16c xref-matches-in-files: Big Tramp speed-up 883b3490d8 * lisp/net/tramp.el (tramp-file-local-name): Remove `save-... c01f55f126 Fix rendering bug due to unsynchronized cairo surface size... 075f21c0e3 Avoid crash by access to cleared img->pixmap->data/img->ma... 16c6dfb4f1 Avoid assertion violations in very small-height windows 9063124b91 Use pthread_setname_np to set thread name # Conflicts: # etc/NEWS # lisp/net/tramp.el
| * Further enhancement on `tramp-file-local-name'Michael Albinus2020-01-081-6/+5
| | | | | | | | | | * lisp/net/tramp.el (tramp-file-local-name): Call `file-local-name' if NAME is not a Tramp file name.
| * * lisp/net/tramp.el (tramp-file-local-name): Remove `save-match-data'.Michael Albinus2020-01-071-8/+8
| |
| * Move “Fix some broken conditional forms” to masterPaul Eggert2020-01-051-3/+3
| | | | | | | | | | | | | | Revert 2020-01-04T19:17:12Z!eggert@cs.ucla.edu which recently I installed into the emacs-27 branch by mistake. These patches are now on master instead (via merging). Do not merge to master.
* | Implement stderr in tramp-adb-handle-make-processMichael Albinus2020-01-072-5/+46
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): Implement `stderr'. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Flush connection properties in time. * test/lisp/net/tramp-tests.el (tramp-test30-make-process) (tramp-test32-shell-command): Test asynchronous stderr for tramp-adb.
* | ; Sync with Tramp repositoryMichael Albinus2020-01-069-75/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Mention Emacs 28. * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.4-pre". * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file, tramp-adb-handle-process-file): Use `tramp-file-local-name'. (tramp-adb-handle-exec-path): Expand `default-directory'. * lisp/net/tramp-cmds.el (tramp-rename-files): Use `tramp-file-local-name'. * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link) (tramp-do-copy-or-rename-file-directly) (tramp-sh-handle-process-file, tramp-set-remote-path) (tramp-find-inline-encoding, tramp-get-remote-touch): Use `tramp-file-local-name'. (tramp-sh-handle-make-process): Support `stderr' as file name. Delete temporary stderr file. (tramp-sh-handle-exec-path): Expand `default-directory'. * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link) (tramp-smb-handle-process-file): Use `tramp-file-local-name'. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file) (tramp-sudoedit-handle-set-file-uid-gid): Use `tramp-unquote-file-local-name'. (tramp-sudoedit-handle-make-symbolic-link): Use `tramp-file-local-name'. (tramp-sudoedit-handle-file-system-info): Fix a scoping error. * lisp/net/tramp.el: Bump version to 2.4.4-pre. (tramp-ignored-file-name-regexp, tramp-time-dont-know) (tramp-time-doesnt-exist): Fix typo. (tramp-file-local-name): Extend for non-remote file names. (tramp-unquote-file-local-name): New defun. (tramp-completion-make-tramp-file-name): Simplify. (tramp-set-connection-local-variables-for-buffer) (tramp-equal-remote, tramp-handle-make-auto-save-file-name): Use `tramp-tramp-file-p'. (tramp-handle-file-name-case-insensitive-p) (tramp-handle-file-truename, tramp-get-remote-tmpdir) (tramp-make-tramp-temp-file): Use `tramp-file-local-name'. (tramp-handle-shell-command, tramp-handle-start-file-process): Implement asynchronous `error-buffer'.
* | Merge from origin/emacs-27Paul Eggert2020-01-052-18/+18
|\| | | | | | | | | | | | | | | | | 448df8fec7 Improve doc-strings of 'quit-window' and 'quit-restore-win... 7f01dfca56 Fix MH-E bug #470: Show buffer discards text properties f95a2b8301 Fix some broken conditional forms 28727444f1 Fix a scoping error in tramp-sudoedit.el 6cbdd048bd * lisp/autorevert.el (auto-revert-notify-handler): Fix bra... 076dd1f69a Fix typo in 'window_box_height'
| * Fix some broken conditional formsPaul Eggert2020-01-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2020-01/msg00088.html * lisp/cedet/ede/cpp-root.el (ede-create-lots-of-projects-under-dir): Remove this quick hack, which didn’t do anything anyway. * lisp/cedet/ede/pconf.el (ede-proj-configure-test-required-file): * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col): * lisp/net/nsm.el (nsm-check-tls-connection): Use ‘when’ rather than bypassing it. This doesn’t affect behavior and is better style. * lisp/cedet/srecode/semantic.el (srecode-semantic-handle-:tag): Fix typo that suppressed an error. * lisp/filesets.el (filesets-run-cmd): Fix typo that mishandled spacing. * lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data): Fix typo that caused “GROUP has older different info in the cloud as of DATE, update it here?” prompt result to always be treated as “yes”. * lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Simplify, since smime-encrypt-buffer signals error on failure. * lisp/international/titdic-cnv.el (tsang-quick-converter): Simplify. The conversion of this file to utf-8-emacs in 2019-01-08T02:18:40Z!monnier@iro.umontreal.ca removed the distinction between Big5 and CNS fulltitles in the generated docstring. * lisp/org/org-agenda.el (org-agenda-show-and-scroll-up): * lisp/textmodes/table.el (table--generate-source-cell-contents): Simplify by removing useless code. * lisp/org/ox-odt.el (org-odt--format-timestamp): Fix typo that always output time-of-day even when the timestamp lacked it.
| * Fix a scoping error in tramp-sudoedit.elMichael Albinus2020-01-041-15/+15
| | | | | | | | | | * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-system-info): Fix a scoping error.
* | Merge from origin/emacs-27Paul Eggert2020-01-051-5/+5
|\| | | | | | | 05c5bf4d38 * lisp/net/tramp.el: Fix typos.
| * * lisp/net/tramp.el: Fix typos.Michael Albinus2020-01-031-5/+5
| |
* | Merge from origin/emacs-27Glenn Morris2020-01-033-4/+24
|\| | | | | | | | | | | | | | | | | | | 06364316e0 (origin/emacs-27) * lisp/net/tramp.el (tramp-file-local-na... d3884f50e0 Adapt commentary in Tramp persistency file 2d82f5a44e Change Tramp version to 2.4.3.27.1 09b65707cc ; * src/dispnew.c (adjust_glyph_matrix): Fix last change. 37f9182b68 Fix redisplay when mode-line-format changes mode-line's he... 1420906b81 * src/fileio.c (Fwrite_region): Improve the doc string. 01dfcb7c87 Fix removal of frame decorations on Windows (Bug#38705)
| * * lisp/net/tramp.el (tramp-file-local-name): New defun. (Bug#34343)Michael Albinus2020-01-031-0/+19
| |
| * Adapt commentary in Tramp persistency fileMichael Albinus2020-01-031-1/+1
| | | | | | | | | | * lisp/net/tramp-cache.el (tramp-dump-connection-properties): Adapt commentary in `tramp-persistency-file-name'.
| * Change Tramp version to 2.4.3.27.1Michael Albinus2020-01-031-3/+4
| | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3.27.1". (customize-package-emacs-version-alist): Add Tramp version integrated in Emacs 27.1.
* | Merge from origin/emacs-27Paul Eggert2020-01-0172-74/+74
|\| | | | | | | | | | | | | | | | | | | | | 186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3 4cd143aded Fix copyright years by hand 365e01cc9f Update copyright year to 2020 cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac... # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Fix copyright years by handPaul Eggert2020-01-011-2/+2
| | | | | | | | These are dates that admin/update-copyright did not update.
| * Update copyright year to 2020Paul Eggert2020-01-0172-72/+72
| | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
| * Sync with Tramp 2.4.3Michael Albinus2019-12-292-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test.
* | Sync with Tramp 2.4.3Michael Albinus2019-12-302-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test. (cherry picked from commit d6922db49dea33ac2bca8b33d24763cc7b2e4cd7)