1. 28 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Use proper read syntax for all function names in Tramp · a80e1045
      Michael Albinus authored
      * lisp/net/tramp.el:
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-cache.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-compat.el:
      * lisp/net/tramp-ftp.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/net/tramp-integration.el:
      * lisp/net/tramp-rclone.el:
      * lisp/net/tramp-sh.el:
      * lisp/net/tramp-smb.el:
      * lisp/net/tramp-sudoedit.el:
      * test/lisp/net/tramp-archive-tests.el:
      * test/lisp/net/tramp-tests.el: Use proper read syntax for all
      function names.
      a80e1045
  2. 27 Feb, 2019 2 commits
  3. 25 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Adapt hooks in Tramp · cedc3410
      Michael Albinus authored
      * lisp/net/tramp-archive.el (tramp-archive-cleanup-hash):
      Remove autoload cookie.
      (tramp-cleanup-all-connections-hook): Add `tramp-archive-cleanup-hash'.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection-hook)
      (tramp-cleanup-all-connections-hook): New hook variables.
      (tramp-cleanup-connection): Set `tramp-current-connection' always
      to nil.
      (tramp-cleanup-connection): Do not call `tramp-recentf-cleanup'.
      Run ´tramp-cleanup-connection-hook`.
      (tramp-cleanup-all-connections): Do not call
      `tramp-archive-cleanup-hash' and ´tramp-recentf-cleanup'.  Run
      `tramp-cleanup-all-connections-hook'.
      
      * lisp/net/tramp-ftp.el (top): Simply call `tramp-disable-ange-ftp'.
      
      * lisp/net/tramp-integration.el (tramp-recentf-cleanup-all): New defun.
      (top): Adapt `tramp-integration-unload-hook',
      `tramp-cleanup-connection-hook' and
      `tramp-cleanup-all-connections-hook'.
      cedc3410
  4. 24 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Cleanup also recentf files in Tramp · cbcb5718
      Michael Albinus authored
      * doc/misc/tramp.texi (Cleanup remote connections): Mention also
      recentf cache.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection)
      (tramp-cleanup-all-connections): Call `tramp-recentf-cleanup'.
      
      * lisp/net/tramp-integration.el: New package.
      
      * lisp/net/tramp.el (tramp-rfn-eshadow-overlay)
      (tramp-rfn-eshadow-setup-minibuffer)
      (tramp-rfn-eshadow-update-overlay-regexp)
      (tramp-rfn-eshadow-update-overlay):
      (tramp-eshell-directory-change): Move to tramp-integration.el
      cbcb5718
  5. 23 Feb, 2019 2 commits
    • Michael Albinus's avatar
      Make last Tramp change backward compatible to Emacs 24 · 5f640bfd
      Michael Albinus authored
      * lisp/net/tramp-cache.el (tramp-get-file-property):
      * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      Make them backward compatible to Emacs 24.
      5f640bfd
    • Paul Eggert's avatar
      Avoid some double-rounding of Lisp timestamps · 476066e8
      Paul Eggert authored
      Also, simplify some time-related Lisp timestamp code
      while we’re in the neighborhood.
      * lisp/battery.el (battery-linux-proc-acpi)
      (battery-linux-sysfs, battery-upower, battery-bsd-apm):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-string)
      (timeclock-log, timeclock-last-period)
      (timeclock-entry-length, timeclock-entry-list-span)
      (timeclock-find-discrep, timeclock-generate-report):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-decay-1):
      * lisp/emacs-lisp/ert.el (ert--results-update-stats-display)
      (ert--results-update-stats-display-maybe):
      * lisp/emacs-lisp/timer-list.el (list-timers):
      * lisp/emacs-lisp/timer.el (timer-until)
      (timer-event-handler):
      * lisp/erc/erc-backend.el (erc-server-send-ping)
      (erc-server-send-queue, erc-handle-parsed-server-response)
      (erc-handle-unknown-server-response):
      * lisp/erc/erc-track.el (erc-buffer-visible):
      * lisp/erc/erc.el (erc-lurker-cleanup, e...
      476066e8
  6. 22 Feb, 2019 2 commits
    • Paul Eggert's avatar
      Remove some timestamp format assumptions · eba66c1e
      Paul Eggert authored
      Don’t assume that current-time and plain encode-time return
      timestamps in (HI LO US PS) format.
      * lisp/gnus/gnus-art.el (article-make-date-line)
      (article-lapsed-string):
      * lisp/gnus/gnus-demon.el (gnus-demon-time-to-step):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/org/ox-publish.el (org-publish-sitemap):
      * lisp/vc/vc-hg.el (vc-hg-state-fast):
      Simplify and remove assumptions about timestamp format.
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      Do not worry about time-subtract returning nil; that's not possible.
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      Avoid race due to duplicate current-time calls.
      * lisp/vc/vc-hg.el (vc-hg--time-to-integer): Remove; no longer used.
      eba66c1e
    • Nicholas Drozd's avatar
      Handle HTML 'ol' start attribute in shr.el · 8282c34f
      Nicholas Drozd authored
      * lisp/net/shr.el (shr-tag-ol): Don't automatically assume
      1-indexing for all ordered lists, use <ol> if given.
      
      * etc/NEWS: Announce change in shr behavior.
      
      * test/data/shr/ol.html:
      * test/data/shr/ol.txt: New test data files.
      8282c34f
  7. 20 Feb, 2019 1 commit
  8. 19 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Implement access-file in Tramp · 0a6c4479
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
      Add `access-file'.
      
      * lisp/net/tramp-archive.el (tramp-archive-handle-access-file):
      * lisp/net/tramp.el (tramp-handle-access-file): New defun.
      (tramp-condition-case-unless-debug): Add declaration.
      (tramp-handle-insert-directory):
      * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
      Check, whether directory is accessible.
      
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test17-insert-directory)
      (tramp-archive-test18-file-attributes):
      * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory)
      (tramp-test18-file-attributes): Test error cases.
      0a6c4479
  9. 16 Feb, 2019 2 commits
    • Paul Eggert's avatar
      Update citations of Internet RFCs · b5e66f46
      Paul Eggert authored
      For example, RFC 822 has been obsoleted by RFC 2822, which in
      turn has been obsoleted by RFC 5322.
      * doc/emacs/ack.texi, doc/lispref/os.texi:
      * doc/misc/emacs-mime.texi, doc/misc/gnus-coding.texi:
      * doc/misc/gnus.texi, doc/misc/sc.texi:
      * lisp/calendar/parse-time.el, lisp/gnus/gnus-cite.el:
      * lisp/gnus/gnus-util.el, lisp/gnus/message.el:
      * lisp/gnus/mm-bodies.el, lisp/gnus/nnrss.el:
      * lisp/mail/feedmail.el, lisp/mail/ietf-drums.el:
      * lisp/mail/mail-extr.el, lisp/mail/mail-utils.el:
      * lisp/mail/mailclient.el, lisp/mail/mailheader.el:
      * lisp/mail/rfc2047.el, lisp/mail/rfc822.el, lisp/mail/rmail.el:
      * lisp/mail/sendmail.el, lisp/mail/smtpmail.el:
      * lisp/mail/supercite.el, lisp/mh-e/mh-e.el:
      * lisp/mh-e/mh-utils.el, lisp/net/imap.el:
      * lisp/net/newst-backend.el, lisp/org/org-id.el:
      * lisp/ps-samp.el, lisp/simple.el, lisp/url/url-util.el:
      Update RFC citations.
      b5e66f46
    • Paul Eggert's avatar
      Port tramp-adb to various 'touch' platforms · aff0c585
      Paul Eggert authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
      Try nanoseconds first, then plain seconds, then touch -t.
      aff0c585
  10. 15 Feb, 2019 1 commit
  11. 14 Feb, 2019 1 commit
  12. 11 Feb, 2019 3 commits
    • Paul Eggert's avatar
      Don’t assume CURRENT_TIME_LIST · 93241242
      Paul Eggert authored
      Use timestamp accessors instead of delving into a timestamp
      format that is planned to change in a future version.
      * lisp/find-lisp.el (find-lisp-format-time):
      * lisp/gnus/gnus-group.el (gnus-group-set-timestamp):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-show-org-agenda):
      Use encode-time instead of delving into timestamp format.
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      Use float-time instead of delving into timestamp format.
      * lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article):
      Use format-time-string instead of delving into timestamp format.
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      Use time-less-p instead of delving into timestamp format.
      * lisp/ido.el (ido-wash-history, ido-file-name-all-completions):
      Use time-equal-p instead of delving into timestamp format.
      * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
      Use format-time-string to generate POSIX ‘test -t’ format instead
      of timestamp-format-dependent code along with shell arithmetic
      that can’t possibly do the right thing on a POSIX platform.
      93241242
    • Paul Eggert's avatar
      Simplify use of encode-time · 988e37fa
      Paul Eggert authored
      Most uses of (apply #'encode-time foo) can now be replaced
      with (encode-time foo).  Make similar simplifications.
      * lisp/calendar/time-date.el (date-to-time):
      * lisp/calendar/timeclock.el (timeclock-when-to-leave)
      (timeclock-day-base, timeclock-generate-report):
      * lisp/emacs-lisp/timer.el (timer-set-idle-time):
      * lisp/eshell/esh-util.el (eshell-parse-ange-ls):
      * lisp/gnus/gnus-art.el (article-make-date-line):
      * lisp/gnus/gnus-delay.el (gnus-delay-article)
      (gnus-delay-send-queue):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--decode-datefield):
      * lisp/gnus/gnus-logic.el (gnus-advanced-date):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      * lisp/mail/ietf-drums.el (ietf-drums-parse-date):
      * lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
      * lisp/org/org-agenda.el (org-agenda-get-timestamps)
      (org-agenda-get-progress, org-agenda-show-clocking-issues):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-get-sum-start, org-clock-sum)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-colview-construct-allowed-dates)
      * lisp/org/org-macro.el (org-macro--vc-modified-time):
      * lisp/org/org-table.el (org-table-eval-formula):
      * lisp/org/org.el (org-current-time, org-store-link)
      (org-time-today, org-read-date, org-read-date-display)
      (org-display-custom-time, org-time-string-to-time)
      (org-timestamp-change, org-timestamp--to-internal-time):
      * lisp/url/url-dav.el (url-dav-process-date-property):
      * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time)
      (vc-cvs-parse-entry):
      Simplify use of encode-time.
      * lisp/org/org-clock.el (org-clock-get-clocked-time):
      (org-clock-resolve, org-resolve-clocks, org_clock_out)
      (org-clock-update-time-maybe):
      Avoid some rounding problems with encode-time and float-time.
      * lisp/org/org-clock.el (org-clock-in, org-clock-update-time-maybe):
      * lisp/org/org-colview.el (org-columns--age-to-minutes):
      * lisp/org/org.el (org-get-scheduled-time, org-get-deadline-time)
      (org-add-planning-info, org-2ft, org-time-string-to-absolute)
      (org-closest-date):
      Use org-time-string-to-time instead of doing it by hand with
      encode-time.
      * lisp/org/org.el (org-current-time): Simplify rounding.
      (org-read-date): Avoid extra trip through encode-time.
      988e37fa
    • Paul Eggert's avatar
      Prefer encode-time to its alias · 57c74793
      Paul Eggert authored
      * lisp/calendar/icalendar.el, lisp/calendar/timeclock.el:
      * lisp/emacs-lisp/timer.el, lisp/gnus/gnus-delay.el:
      * lisp/gnus/gnus-sum.el, lisp/gnus/nndiary.el:
      * lisp/gnus/nnrss.el, lisp/net/newst-backend.el:
      * lisp/net/rcirc.el, lisp/obsolete/xesam.el:
      * lisp/org/org-agenda.el, lisp/org/org-clock.el:
      * lisp/org/org-element.el, lisp/org/org-timer.el:
      * lisp/org/org.el, lisp/progmodes/flymake.el:
      * lisp/url/url-cache.el, lisp/url/url-cookie.el:
      Use encode-time instead of its alias seconds-to-time.
      57c74793
  13. 10 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Don’t assume CURRENT_TIME_LIST · 57646401
      Paul Eggert authored
      * lisp/gnus/gnus-delay.el (gnus-delay-send-queue):
      * lisp/gnus/nnmail.el (nnmail-activate):
      * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
      * lisp/net/newst-backend.el (newsticker--cache-item-compare-by-time):
      Use time-less-p instead of assuming timestamp format.
      57646401
  14. 08 Feb, 2019 3 commits
    • Eli Zaretskii's avatar
      Minor fixes for last change · 24905e92
      Eli Zaretskii authored
      * etc/NEWS: Announce the change in EWW download behavior.
      
      * lisp/net/eww.el (eww-download): Doc fix.  (Bug#34291)
      24905e92
    • Nick Drozd's avatar
      Download of URL in EWW falls back on current URL · 51e6e069
      Nick Drozd authored
      * lisp/net/eww.el (eww-download): If there's no URL at point,
      download the current URL instead.  Previous behavior was to
      signal an error if there was no URL at point.  (Bug#34291)
      * doc/misc/eww.texi (Basics): Update documentation.
      51e6e069
    • Nick Drozd's avatar
      Fix downloading of URLs that end in a slash · 46095a7d
      Nick Drozd authored
      * lisp/net/eww.el (eww-download-callback): Fix download URL
      file name.  Previously this wasn't handling download URLs
      correctly, resulting in all downloaded pages being named
      "!", "!(1)", etc.  (Bug#34291)
      46095a7d
  15. 06 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Fix Bug#34196 · 19fbef54
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-buffers): Handle buffers with a
      remote default-directory only, when they are connected.  (Bug#34196)
      
      * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection):
      Set "connected" property.
      
      * lisp/net/tramp.el (tramp-process-actions): Revert change from
      2019-02-04.  Bug#34196 will be solved in autorevert.el.
      19fbef54
  16. 04 Feb, 2019 2 commits
    • Michael Albinus's avatar
      Fix Bug#34196 · d6f430cb
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-process-actions): Disable `global-auto-revert-mode'
      temporarily.  (Bug#34196)
      d6f430cb
    • Michael Albinus's avatar
      Improve Tramp host name completion · 7cdf4004
      Michael Albinus authored
      * lisp/net/tramp-rclone.el (tramp-default-host-alist): Add empty host.
      
      * lisp/net/tramp.el (tramp-parse-auth-sources): Require :port.
      7cdf4004
  17. 03 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Work on accept-process-output in Tramp · b32ac17c
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-accept-process-output): Rework timer
      handling.
      (tramp-call-process): Adapt VEC if nil.
      (tramp-interrupt-process): Use `tramp-accept-process-output'.
      (tramp-process-lines): New defun.
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names):
      * lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names): Use it.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
      Use timeout 0 in `tramp-accept-process-output'.
      
      * test/lisp/net/tramp-tests.el (tramp--test-timeout-handler): Move up.
      (tramp-test29-start-file-process, tramp-test30-make-process)
      (tramp-test32-shell-command)
      (tramp--test-shell-command-to-string-asynchronously): Use it.
      (tramp-test35-remote-path): Suppress warning.
      (tramp--test-asynchronous-requests-timeout): New defconst.
      (tramp-test43-asynchronous-requests): Skip if not the only test.
      Use `tramp--test-asynchronous-requests-timeout'.
      Remove instrumentation.  Use `start-process-shell-command' for
      watchdog.  Add timeout in timer function.  Print status messages.
      Remove file operations from sentinel.  Suppress timers in
      `accept-process-output'.
      b32ac17c
  18. 30 Jan, 2019 2 commits
  19. 29 Jan, 2019 1 commit
    • Michael Albinus's avatar
      ; Tramp cleanup · 492b31d9
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
      Handle `non-essential'.
      
      * lisp/net/tramp-archive.el: Increase `max-specpdl-size' when
      loading tramp-gvfs.
      
      * lisp/net/tramp-rclone.el (tramp-rclone-mounted-p): Reorder for
      better traces.
      (tramp-rclone-maybe-open-connection): Handle `non-essential'.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory)
      (tramp-find-inline-encoding): Simplify check.
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory)
      (tramp-smb-handle-insert-directory): Simplify check.
      
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo):
      Simplify check.
      (tramp-sudoedit-maybe-open-connection): Handle `non-essential'.
      
      * lisp/net/tramp.el (tramp-handle-load, tramp-wait-for-regexp):
      Simplify check.
      (tramp-action-login, tramp-action-password, tramp-action-yesno)
      (tramp-action-yn, tramp-action-terminal): Return explicitly t.
      (tramp-process-one-action, tramp-process-actions): Adapt docstring.
      492b31d9
  20. 28 Jan, 2019 1 commit
    • Michael Albinus's avatar
      Adapt accept-process-output timeouts in Tramp · 6c560a3b
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-accept-process-output):
      Make timeout optional.  Do not set explicit timer.
      (tramp-action-out-of-band, tramp-process-one-action)
      (tramp-wait-for-regexp, tramp-interrupt-process):
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
      * lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
      * lisp/net/tramp-smb.el (tramp-smb-action-get-acl)
      (tramp-smb-action-set-acl, tramp-smb-wait-for-output):
      * tramp-sudoedit.el (tramp-sudoedit-action-sudo):
      Adapt `accept-process-output' calls wrt timeouts.
      6c560a3b
  21. 24 Jan, 2019 4 commits
    • Michael Albinus's avatar
      Some fixes in tramp-smb.el · 7960951d
      Michael Albinus authored
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      Add "NT_STATUS_NOT_A_DIRECTORY".
      (tramp-smb-maybe-open-connection): Respect ´non-essential'.  Do
      not record smbserver-version.
      (tramp-smb-wait-for-output): Improve reading pending output.
      7960951d
    • Eli Zaretskii's avatar
      Avoid byte-compiler warning in starttls.el · 89ec69be
      Eli Zaretskii authored
      * lisp/net/network-stream.el (starttls-open-stream): Declare
      to avoid compilation warning.
      89ec69be
    • Robert Pluim's avatar
      Check for client certificates when using GnuTLS · f3f9a358
      Robert Pluim authored
      This fixes Bug#33780, and extends the documentation to describe how to
      enable use of client certificates.
      
      * lisp/net/network-stream.el (network-stream-certificate): Correct
      order of parameters to plist-get.
      (network-stream-open-tls): Pass all received parameters to
      open-gnutls-stream as plist, not just :nowait.
      
      * lisp/net/gnutls.el (open-gnutls-stream): Change optional nowait arg
      to be plist.  Derive nowait and client certificate(s) and keys(s) from
      plist (maybe via auth-source) and pass to gnutls-boot-parameters and
      gnutls-negotiate.
      (network-stream-certificate): Add declare-function form for it.
      
      * doc/misc/auth.texi (Help for users): Describe format to use for
      client key/cert specification.
      
      * doc/misc/emacs-gnutls.texi (Help For Developers): Describe usage of
      optional plist argument.  Add crossreference to description of
      .authinfo format for client key/cert specification.
      
      * etc/NEWS: Describe new client certificate functionality for
        'open-network-stream'.
      
      * test/lisp/net/network-stream-tests.el: Add require of network-stream.
      (connect-to-tls-ipv4-nowait): Bind network-security-level to 'low
      in order to bypass nsm prompting.
      (connect-to-tls-ipv6-nowait): Likewise.
      (open-network-stream-tls-wait): New test.
      (open-network-stream-tls-nowait): New test.
      (open-network-stream-tls): New test.
      (open-network-stream-tls-nocert): New test.
      (open-gnutls-stream-new-api-default): New test.
      (open-gnutls-stream-new-api-wait): New test.
      (open-gnutls-stream-old-api-wait): New test.
      (open-gnutls-stream-new-api-nowait): New test.
      (open-gnutls-stream-old-api-nowait): New test.
      (open-gnutls-stream-new-api-errors): New test.
      The new tests exercise 'open-network-stream' and the old and new
      api of 'open-gnutls-stream'.
      f3f9a358
    • Michael Albinus's avatar
      Fix error in Tramp's encoding check · 0744c353
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-find-inline-encoding):
      Use `tramp-get-connection-buffer'.
      0744c353
  22. 23 Jan, 2019 1 commit
  23. 22 Jan, 2019 1 commit
    • Michael Albinus's avatar
      Respect setgid bit of the upper directory in Tramp · c5800815
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.4.2-pre".
      
      * lisp/net/tramp.el: Bump version to 2.4.2-pre.
      (tramp-set-file-uid-gid): Respect setgid bit of the upper directory.
      (tramp-default-file-modes, tramp-handle-insert-file-contents)
      (tramp-mode-string-to-int, tramp-make-tramp-temp-file):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy)
      (tramp-adb-handle-write-region):
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
      (tramp-sh-handle-write-region): Use octal constants.
      c5800815
  24. 21 Jan, 2019 2 commits
  25. 20 Jan, 2019 1 commit
  26. 16 Jan, 2019 1 commit
    • Michael Albinus's avatar
      Some accept-process-output cleanups in Tramp · b2497ef6
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-action-out-of-band): Read process
      output in a loop.
      (tramp-accept-process-output): Return result.
      (tramp-interrupt-process):
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names):
      * lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names):
      Remove FIXME.
      
      * lisp/net/tramp-sh.el (tramp-local-coding-commands): Fix docstring.
      
      * lisp/net/tramp-smb.el (tramp-smb-wait-for-output): Adapt docstring.
      Simplify code.
      
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo):
      Adapt docstring.  Read process output in a loop.
      
      * test/lisp/net/tramp-tests.el (tramp-test43-asynchronous-requests):
      Remove :unstable tag on emba.
      b2497ef6