1. 24 Sep, 2018 1 commit
    • Paul Eggert's avatar
      file-attributes cleanup · 662bee7d
      Paul Eggert authored
      Mostly, this replaces magic-number calls like (nth 4 A) with
      more-informative calls like (file-attribute-access-time A).
      It also fixes some documentation and minor timestamp coding
      issues that I noticed while looking into this.
      * doc/lispref/files.texi (File Attributes):
      * lisp/files.el (file-attribute-size)
      (file-attribute-inode-number, file-attribute-device-number):
      * src/dired.c (Fdirectory_files_and_attributes)
      (Ffile_attributes):
      Mention which attributes must be integers, or nonnegative integers,
      as opposed to merely being numbers.  Remove no-longer-correct
      talk about representing large integers as conses of integers.
      * doc/lispref/files.texi (Magic File Names):
      * doc/misc/gnus.texi (Low-level interface to the spam-stat dictionary):
      * lisp/autorevert.el (auto-revert-find-file-function)
      (auto-revert-tail-mode, auto-revert-handler):
      * lisp/auth-source.el (auth-source-netrc-parse):
      * lisp/cedet/ede/files.el (ede--inode-for-dir):
      * lisp/cedet/semantic/db-file.el (object-write):
      * lisp/cedet/semantic/db-mode.el (semanticdb-kill-hook):
      * lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p)
      (semanticdb-synchronize):
      * lisp/cedet/srecode/table.el (srecode-mode-table-new):
      * lisp/desktop.el (desktop-save, desktop-read):
      * lisp/dired-aux.el (dired-file-set-difference)
      (dired-do-chxxx, dired-do-chmod, dired-copy-file-recursive)
      (dired-create-files):
      * lisp/dired.el (dired-directory-changed-p, dired-readin):
      * lisp/dos-w32.el (w32-direct-print-region-helper):
      * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads)
      (autoload-find-destination, update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-same-file-or-nonexistent):
      * lisp/epg.el (epg--start, epg-wait-for-completion):
      * lisp/eshell/em-ls.el (eshell-ls-filetype-p)
      (eshell-ls-applicable, eshell-ls-size-string)
      (eshell-ls-file, eshell-ls-dir, eshell-ls-files)
      (eshell-ls-entries):
      * lisp/eshell/em-pred.el (eshell-predicate-alist)
      (eshell-pred-file-type, eshell-pred-file-links)
      (eshell-pred-file-size):
      * lisp/eshell/em-unix.el (eshell-shuffle-files, eshell/cat)
      (eshell-du-sum-directory, eshell/du):
      * lisp/eshell/esh-util.el (eshell-read-passwd)
      (eshell-read-hosts):
      * lisp/files.el (remote-file-name-inhibit-cache)
      (find-file-noselect, insert-file-1, dir-locals-find-file)
      (dir-locals-read-from-dir, backup-buffer)
      (file-ownership-preserved-p, copy-directory)
      (read-file-modes):
      * lisp/find-lisp.el (find-lisp-format):
      * lisp/gnus/gnus-agent.el (gnus-agent-unfetch-articles)
      (gnus-agent-read-agentview, gnus-agent-expire-group-1)
      (gnus-agent-request-article, gnus-agent-regenerate-group)
      (gnus-agent-update-files-total-fetched-for)
      (gnus-agent-update-view-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-read-active)
      (gnus-cache-update-file-total-fetched-for)
      (gnus-cache-update-overview-total-fetched-for):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-file-new-p):
      * lisp/gnus/gnus-score.el (gnus-score-score-files):
      * lisp/gnus/gnus-start.el (gnus-save-newsrc-file)
      (gnus-master-read-slave-newsrc):
      * lisp/gnus/gnus-sum.el (gnus-summary-import-article):
      * lisp/gnus/gnus-util.el (gnus-file-newer-than)
      (gnus-cache-file-contents):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming)
      (mail-source-callback, mail-source-movemail):
      * lisp/gnus/nneething.el (nneething-create-mapping)
      (nneething-make-head):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/gnus/nnheader.el (nnheader-file-size)
      (nnheader-insert-nov-file):
      * lisp/gnus/nnmail.el (nnmail-activate):
      * lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum)
      (nnmaildir--new-number, nnmaildir--update-nov)
      (nnmaildir--scan, nnmaildir-request-scan)
      (nnmaildir-request-update-info)
      (nnmaildir-request-expire-articles):
      * lisp/gnus/nnmh.el (nnmh-request-list-1)
      (nnmh-request-expire-articles, nnmh-update-gnus-unreads):
      * lisp/gnus/nnml.el (nnml-request-expire-articles):
      * lisp/gnus/spam-stat.el (spam-stat-save, spam-stat-load)
      (spam-stat-process-directory, spam-stat-test-directory):
      * lisp/ido.el (ido-directory-too-big-p)
      (ido-file-name-all-completions):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-insert-directory)
      (ls-lisp-handle-switches, ls-lisp-classify-file)
      (ls-lisp-format):
      * lisp/mail/blessmail.el:
      * lisp/mail/feedmail.el (feedmail-default-date-generator)
      (feedmail-default-message-id-generator):
      * lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases)
      (mail-abbrevs-setup):
      * lisp/mail/mspools.el (mspools-size-folder):
      * lisp/mail/rmail.el (rmail-insert-inbox-text):
      * lisp/mail/sendmail.el (sendmail-sync-aliases):
      * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
      * lisp/net/ange-ftp.el (ange-ftp-parse-netrc)
      (ange-ftp-write-region, ange-ftp-file-newer-than-file-p)
      (ange-ftp-cf1):
      * lisp/net/eudcb-mab.el (eudc-mab-query-internal):
      * lisp/net/eww.el (eww-read-bookmarks):
      * lisp/net/netrc.el (netrc-parse):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file):
      * lisp/obsolete/fast-lock.el (fast-lock-save-cache):
      * lisp/obsolete/vc-arch.el (vc-arch-state)
      (vc-arch-diff3-rej-p):
      * lisp/org/ob-eval.el (org-babel--shell-command-on-region):
      * lisp/org/org-attach.el (org-attach-commit):
      * lisp/org/org-macro.el (org-macro-initialize-templates):
      * lisp/org/org.el (org-babel-load-file)
      (org-file-newer-than-p):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-publish.el (org-publish-find-date)
      (org-publish-cache-ctime-of-src):
      * lisp/pcmpl-gnu.el (pcomplete/tar):
      * lisp/pcmpl-rpm.el (pcmpl-rpm-packages):
      * lisp/play/cookie1.el (cookie-snarf):
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      * lisp/ps-bdf.el (bdf-file-mod-time):
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/simple.el (shell-command-on-region):
      * lisp/speedbar.el (speedbar-item-info-file-helper)
      (speedbar-check-obj-this-line):
      * lisp/thumbs.el (thumbs-cleanup-thumbsdir):
      * lisp/time.el (display-time-mail-check-directory)
      (display-time-file-nonempty-p):
      * lisp/url/url-cache.el (url-is-cached):
      * lisp/url/url-file.el (url-file-asynch-callback):
      * lisp/vc/diff-mode.el (diff-delete-if-empty):
      * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries):
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      * lisp/vc/vc-cvs.el (vc-cvs-checkout-model)
      (vc-cvs-state-heuristic, vc-cvs-merge-news)
      (vc-cvs-retrieve-tag, vc-cvs-parse-status, vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1)
      (vc-hg--ignore-patterns-valid-p)
      (vc-hg--cached-dirstate-search, vc-hg-state-fast):
      * lisp/vc/vc-hooks.el (vc-after-save):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      * lisp/vc/vc-svn.el (vc-svn-merge-news, vc-svn-parse-status):
      * lisp/vc/vc.el (vc-checkout, vc-checkin, vc-revert-file):
      * lisp/xdg.el (xdg-mime-apps):
      Prefer (file-attribute-size A) to (nth 7 A), and similarly
      for other file attributes accessors.
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Idle Timers):
      * lisp/erc/erc.el (erc-string-to-emacs-time):
      * lisp/files.el (file-attribute-access-time)
      (file-attribute-modification-time)
      (file-attribute-status-change-time):
      * lisp/net/tramp-compat.el:
      (tramp-compat-file-attribute-modification-time)
      (tramp-compat-file-attribute-size):
      * src/buffer.c (syms_of_buffer):
      * src/editfns.c (Fget_internal_run_time):
      * src/fileio.c (Fvisited_file_modtime)
      (Fset_visited_file_modtime):
      * src/keyboard.c (Fcurrent_idle_time):
      * src/process.c (Fprocess_attributes):
      Defer implementation details about timestamp format to the
      section that talks about timestamp format, to make it easier
      to change the documentation later if timestamp formats are
      extended.
      * lisp/gnus/gnus-util.el (gnus-file-newer-than):
      * lisp/speedbar.el (speedbar-check-obj-this-line):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      Prefer time-less-p to doing it by hand.
      * lisp/ls-lisp.el (ls-lisp-format): Inode numbers are no longer conses.
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      Use eql, not eq, to compare integers that might be bignums.
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      Prefer float-time to doing time arithmetic by hand.
      662bee7d
  2. 17 Sep, 2018 1 commit
    • Allen Li's avatar
      Add choice to reshow certificate information (Bug#31877) · 3bbf21b9
      Allen Li authored
      In various situations, the window displaying the certificate
      information can be hidden (such as if the user accidentally presses ?,
      which causes the read-multiple-choice help window to replace it).
      Instead of leaving the user to make a choice blindly, add a choice to
      reshow the certification information.
      
      * lisp/net/nsm.el (nsm-query-user): Add reshow choice.
      3bbf21b9
  3. 10 Sep, 2018 1 commit
  4. 06 Sep, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#31704 · bca35315
      Michael Albinus authored
      * lisp/eshell/esh-proc.el (eshell-gather-process-output): Do not
      let `expand-file-name' prefix remote file names with MS Windows
      volume letter.
      
      * lisp/net/tramp.el (tramp-eshell-directory-change):
      Use `path-separator' as it does eshell.  (Bug#31704)
      bca35315
  5. 04 Sep, 2018 2 commits
    • Stefan Monnier's avatar
      Better fix for bug#32550 · 9618e16e
      Stefan Monnier authored
      * lisp/rfn-eshadow.el (rfn-eshadow-overlay): Give it a global default.
      
      * lisp/net/tramp.el (rfn-eshadow-overlay): Declare it as dynamically scoped.
      (tramp-rfn-eshadow-update-overlay): Revert the corresponding part of
      last change.
      9618e16e
    • Michael Albinus's avatar
      Fix Bug#32550 · 30d94e4b
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not
      use `symbol-value'.
      (tramp-rfn-eshadow-update-overlay): Do not use `symbol-value'.  Do
      not let-bind `rfn-eshadow-overlay', assign it directly (due to
      lexical binding).  (Bug#32550)
      30d94e4b
  6. 29 Aug, 2018 1 commit
  7. 28 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Add bignum support in Tramp · adcf904b
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-system-info):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-system-info):
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-stat)
      (tramp-do-directory-files-and-attributes-with-stat)
      (tramp-sh-handle-file-system-info):
      * lisp/net/tramp-smb.el (tramp-smb-handle-file-system-info): Do
      not add "e0" to integers.
      
      * lisp/net/tramp-sh.el (tramp-perl-file-attributes)
      (tramp-convert-file-attributes): Do not use a consp for the inode
      if there is bignum support.
      adcf904b
  8. 27 Aug, 2018 2 commits
  9. 26 Aug, 2018 1 commit
  10. 23 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Prune most-positive-fixnum from Lisp source · a4a3c92e
      Paul Eggert authored
      I looked through all instances of most-negative-fixnum
      and most-positive-fixnum in the Lisp source code, and
      when it was easy I removed assumptions that integers
      fit in fixnums.  The remaining instances are either
      nontrivial to fix, or are inherent to the algorithm.
      * lisp/arc-mode.el (archive-l-e): Do not convert to float,
      since we have bignums now.  All uses changed.
      * lisp/calc/calc.el (math-bignum):
      Don’t special-case most-negative-fixnum.
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/emacs-lisp/edebug.el (edebug-read-special):
      * lisp/emacs-lisp/package.el (package--remove-hidden):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
      * lisp/menu-bar.el (menu-bar-update-buffers):
      * lisp/net/rcirc.el (rcirc-handler-317):
      * lisp/org/org-agenda.el (org-cmp-ts):
      * lisp/window.el (window--resize-child-windows):
      Avoid arbitrary limit to most-positive-fixnum or to
      most-negative-fixnum.
      * lisp/calendar/time-date.el (days-to-time):
      * lisp/erc/erc-dcc.el (erc-unpack-int):
      Don’t worry about integer overflow.
      * lisp/cedet/semantic/wisent/comp.el (wisent-BITS-PER-WORD):
      * lisp/gnus/message.el (message-unique-id):
      * lisp/org/org-footnote.el (org-footnote-new):
      Simplify.
      * lisp/erc/erc-dcc.el (erc-most-positive-int-bytes)
      (erc-most-positive-int-msb): Remove; no longer needed.
      * lisp/net/imap.el (imap-string-to-integer): Remove; unused.
      * lisp/org/org-element.el (org-element--cache-generate-key):
      Document fixnum limitation.
      a4a3c92e
  11. 21 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Audit use of lsh and fix glitches · f18af6cd
      Paul Eggert authored
      I audited use of lsh in the Lisp source code, and fixed the
      glitches that I found.  While I was at it, I replaced uses of lsh
      with ash when either will do.  Replacement is OK when either
      argument is known to be nonnegative, or when only the low-order
      bits of the result matter, and is a (minor) win since ash is a bit
      more solid than lsh nowadays, and is a bit faster.
      * lisp/calc/calc-ext.el (math-check-fixnum):
      Prefer most-positive-fixnum to (lsh -1 -1).
      * lisp/vc/vc-hg.el (vc-hg-state-fast): When testing fixnum width,
      prefer (zerop (ash most-positive-fixnum -32)) to (zerop (lsh -1
      32)) (Bug#32485#11).
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode):
      Tighten sanity-check for bytecode overflow, by checking that the
      result of (ash pc -8) is nonnegative.  Formerly this check was not
      needed since lsh was used and the number overflowed differently.
      * lisp/net/dns.el (dns-write): Fix some obvious sign typos in
      shift counts.  Evidently this part of the code has never been
      exercised.
      * lisp/progmodes/hideif.el (hif-shiftleft, hif-shiftright):
      * lisp/term/common-win.el (x-setup-function-keys):
      Simplify.
      * admin/unidata/unidata-gen.el, admin/unidata/uvs.el:
      * doc/lispref/keymaps.texi, doc/lispref/syntax.texi:
      * doc/misc/calc.texi, doc/misc/cl.texi, etc/NEWS.19:
      * lisp/arc-mode.el, lisp/calc/calc-bin.el, lisp/calc/calc-comb.el:
      * lisp/calc/calc-ext.el, lisp/calc/calc-math.el:
      * lisp/cedet/semantic/wisent/comp.el, lisp/composite.el:
      * lisp/disp-table.el, lisp/dos-fns.el, lisp/edmacro.el:
      * lisp/emacs-lisp/bindat.el, lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el, lisp/emacs-lisp/cl-extra.el:
      * lisp/erc/erc-dcc.el, lisp/facemenu.el, lisp/gnus/message.el:
      * lisp/gnus/nndoc.el, lisp/gnus/nnmaildir.el, lisp/image.el:
      * lisp/international/ccl.el, lisp/international/fontset.el:
      * lisp/international/mule-cmds.el, lisp/international/mule.el:
      * lisp/json.el, lisp/mail/binhex.el, lisp/mail/rmail.el:
      * lisp/mail/uudecode.el, lisp/md4.el, lisp/net/dns.el:
      * lisp/net/ntlm.el, lisp/net/sasl.el, lisp/net/socks.el:
      * lisp/net/tramp.el, lisp/obsolete/levents.el:
      * lisp/obsolete/pgg-parse.el, lisp/org/org.el:
      * lisp/org/ox-publish.el, lisp/progmodes/cc-defs.el:
      * lisp/progmodes/ebnf2ps.el, lisp/progmodes/hideif.el:
      * lisp/ps-bdf.el, lisp/ps-print.el, lisp/simple.el:
      * lisp/tar-mode.el, lisp/term/common-win.el:
      * lisp/term/tty-colors.el, lisp/term/xterm.el, lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el, lisp/x-dnd.el, test/src/data-tests.el:
      Prefer ash to lsh when either will do.
      f18af6cd
  12. 16 Aug, 2018 4 commits
    • Thomas Fitzsimmons's avatar
      EUDC: Add more BBDB >= 3 support · decd9839
      Thomas Fitzsimmons authored
      * lisp/net/eudcb-bbdb.el Declare BBDB >= 3 functions.
      (eudc-bbdb-field): Add translation from company to
      organization.
      (eudc-bbdb-extract-phones, eudc-bbdb-extract-addresses)
      (eudc-bbdb-format-record-as-result): Call BBDB >= 3 functions.
      decd9839
    • Thomas Fitzsimmons's avatar
      EUDC: Remove XEmacs support · af991f15
      Thomas Fitzsimmons authored
      * lisp/net/eudc.el (eudc-mode, eudc-install-menu): Remove
      XEmacs support.
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode)
      (eudc-hotlist-emacs-menu): Likewise.
      * lisp/net/eudc-bob.el (eudc-bob-toggle-inline-display)
      (eudc-bob-popup-menu, eudc-bob-generic-keymap)
      (eudc-bob-sound-keymap, eudc-bob-url-keymap)
      (eudc-bob-mail-keymap): Likewise.
      * etc/NEWS (EUDC): Mention removal of XEmacs support.
      af991f15
    • Thomas Fitzsimmons's avatar
      EUDC: Shorten eudc-tools-menu autoload · 36d17ef4
      Thomas Fitzsimmons authored
      * lisp/net/eudc.el: Remove XEmacs support from eudc-tools-menu
      autoload.
      36d17ef4
    • Thomas Fitzsimmons's avatar
      EUDC: Add commentary to eudc-bob.el · 6b178acf
      Thomas Fitzsimmons authored
      * lisp/net/eudc-bob.el: Add commentary.
      6b178acf
  13. 04 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Rename Tramp method "owncloud" to "nextcloud" · b9e2a91e
      Michael Albinus authored
      In the spirit of freedom, "nextcloud" is preferred over "owncloud".
      
      * doc/misc/tramp.texi (Quick Start Guide, GVFS based methods):
      * etc/NEWS: Rename "owncloud" method to "nextcloud".
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods, tramp-goa-methods)
      (tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
      (tramp-get-goa-accounts): Use "nextcloud" instead of "owncloud".
      (tramp-gvfs-nextcloud-default-prefix)
      (tramp-gvfs-nextcloud-default-prefix-regexp): Rename them.  Adapt
      all callees.
      
      * test/lisp/net/tramp-tests.el (tramp--test-nextcloud-p):
      Rename from `tramp--test-owncloud-p'.
      (tramp-test11-copy-file, tramp-test12-rename-file): Use it.
      b9e2a91e
  14. 01 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#32325 · 2f37ecae
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-directory): In case
      of PARENTS flush also upper directories caches.  (Bug#32325)
      2f37ecae
  15. 31 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#32304 · 82d6416a
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-substitute-in-file-name):
      Handle special cas on Cygwin and MS-Windows.  (Bug#32304)
      82d6416a
  16. 20 Jul, 2018 2 commits
    • Michael Albinus's avatar
      * lisp/net/trampver.el (customize-package-emacs-version-alist): · 249606fb
      Michael Albinus authored
      Add Tramp version integrated in Emacs 26.2.
      249606fb
    • Michael Albinus's avatar
      Fix (Bug#32218). Do not merge with master · 61de292c
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.4.26.2".
      (customize-package-emacs-version-alist): Add Tramp version
      integrated in Emacs 26.2.
      
      * lisp/net/tramp.el (tramp-handle-file-truename):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename): Fix problem
      with trailing slash.  (Bug#32218)
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links):
      Remove `tramp--test-emacs27-p' check.
      61de292c
  17. 18 Jul, 2018 2 commits
  18. 11 Jul, 2018 1 commit
    • Miciah Masters's avatar
      Save the server alias on reconnect (Bug#29657) · ef9025f5
      Miciah Masters authored
      rcirc does not retain the server alias on reconnect.  As a result, rcirc
      fails to re-use server and channel buffers when an alias is used.  Further
      problems may ensue when aliases are used to differentiate multiple
      connections to the same host, for example when using a single IRC bouncer
      or proxy to connect to multiple IRC networks.
      
      Save the server alias when connecting to a server so that reconnect will
      retain the alias.
      * lisp/net/rcirc.el (rcirc-connect): Include server-alias when setting
      rcirc-connection-info.
      
      Copyright-paperwork-exempt: yes
      ef9025f5
  19. 08 Jul, 2018 3 commits
  20. 06 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Tramp editorials · 271d1f77
      Michael Albinus authored
      * doc/misc/tramp.texi (Android shell setup): Mention Termux.
      
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      Use proper spelling "Tramp" in docstring.
      271d1f77
  21. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  22. 29 Jun, 2018 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.4.0 · 45390596
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.4.0".
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
      Ignore unknown GVFS methods.
      
      * test/lisp/net/tramp-tests.el (tramp-test42-asynchronous-requests):
      Tag as :unstable.
      45390596
  23. 27 Jun, 2018 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.3.4. Do not merge with master · 1f503792
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.4".
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
      Check, that the directory has been removed indeed.
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Adapt test.
      (tramp--test-emacs25-p): New defun.
      (tramp-test34-vc-registered): Use it.
      1f503792
  24. 25 Jun, 2018 3 commits
  25. 24 Jun, 2018 4 commits
    • Lars Ingebrigtsen's avatar
      Make more TLS checks trigger on the default `medium' level · 5a285a4d
      Lars Ingebrigtsen authored
      * doc/emacs/misc.texi (Network Security): Update the doc to say
      what's on the different levels.
      
      * lisp/net/nsm.el (nsm-protocol-check--intermediary-sha1): Check
      intermediary certificates for SHA1.
      (nsm-protocol-check--3des): Check for 3DES ciphers.
      (network-security-protocol-checks): Put most of the checks on
      `medium'.
      5a285a4d
    • Lars Ingebrigtsen's avatar
      Fix reverse test in previous check-in · eaa054a9
      Lars Ingebrigtsen authored
      * lisp/net/nsm.el (nsm-check-protocol): Fix reverse test in
      previous check-in.
      eaa054a9
    • Lars Ingebrigtsen's avatar
      Refactor the protocol NSM checks for flexibility · 6584bc67
      Lars Ingebrigtsen authored
      * doc/emacs/misc.texi (Network Security): Mention
      network-security-protocol-checks.
      
      * lisp/net/nsm.el (network-security-protocol-checks): New variable.
      (nsm-check-protocol): Refactor the checks into separate functions
      for greater flexibility.
      (nsm-protocol-check--diffie-hellman-prime-bits)
      (nsm-protocol-check--rc4, nsm-protocol-check--ssl)
      (nsm-protocol-check--signature-sha1): Refactored out of the big
      function.
      6584bc67
    • Michael Albinus's avatar
      Fix Bug#31941 · 1d770788
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): In case of
      FILENAME being a directory, check whether `copy-directory' could
      be avoided.  Suggested by Stephen Nutt <stnutt@gmail.com>.  (Bug#31941)
      (tramp-do-copy-or-rename-file-directly): Call "cp" with "-r".
      1d770788
  26. 23 Jun, 2018 1 commit