1. 23 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Quieten cl-lib related compiler warnings · dfea6d5a
      Glenn Morris authored
      * lisp/completion.el (cl-set-difference):
      * lisp/files.el (map-merge-with, map-merge):
      * lisp/emacs-lisp/radix-tree.el (map-apply): Declare.
      * lisp/emacs-lisp/thunk.el: Load cl-lib at run-time, not
      cl-macs at compile.
      * lisp/gnus/gnus-group.el: Load cl-lib at run-time, not cl at compile.
      * lisp/emacs-lisp/checkdoc.el, lisp/emacs-lisp/package.el
      * lisp/gnus/gnus-sum.el, lisp/gnus/message.el, lisp/net/shr.el:
      Load cl-lib at run-time.
      * lisp/gnus/mml-sec.el (mml-signencrypt-style)
      (mml-secure-cust-record-keys): Replace cl with cl-lib,
      and load it at run-time.
      * lisp/cedet/ede/linux.el, lisp/vc/vc-hg.el: Reorder requires.
      dfea6d5a
  2. 22 Mar, 2018 19 commits
    • Stefan Monnier's avatar
      Try and fix the more obvious sources of bug#30635 · 97b7e58c
      Stefan Monnier authored
      * lisp/files.el (dir-locals-read-from-dir): Handle the easy cases
      without loading `map`.
      
      * lisp/emacs-lisp/bytecomp.el: Don't require cl-lib at run-time.
      (byte-compile-and-folded): Avoid cl-every.
      97b7e58c
    • Charles A. Roelli's avatar
      Add new command vc-git-stash-delete · 86d6417b
      Charles A. Roelli authored
      * lisp/vc/vc-git.el (vc-git-stash-delete): New command, in line with
      vc-git-stash-delete-at-point.
      (vc-git-extra-menu-map): Add menu entry.
      86d6417b
    • Paul Eggert's avatar
      Fix byte-opt lists of pure functions etc. · 311bb332
      Paul Eggert authored
      This fixes a bug where a byte-compiler running on 64-bit Emacs
      optimized (lsh -1 -1) to #x1fffffffffffffff, an optimization
      that is incorrect for .elc files intended for either 32- or
      64-bit Emacs.  While I was in the neighborhood, I noticed other
      glitches in the lists of pure and side-effect-free functions, and
      fixed the errors that I found.
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
      Move some functions here from side-effect-and-error-free-fns,
      since they can now signal errors.  The affected functions are
      current-time-string, current-time-zone,
      line-beginning-position, line-end-position.  Rename langinfo
      to locale-info.  Add logcount.  Remove string-to-int.
      (side-effect-and-error-free-fns): Remove minibuffer-window, a
      function that can signal errors, and that is already in
      side-effect-free-fns.
      (pure-fns): Remove ash, lsh, and logb, since they are
      platform-dependent and .elc files should be
      platform-independent.  Add %, logand, logcount.  Sort.
      Clarify what is meant by “pure”.
      311bb332
    • Paul Eggert's avatar
      Port emacs-module-tests to 32-bit Emacs · 01118627
      Paul Eggert authored
      Fix a portability bug when emacs-module-tests.el is byte-compiled
      with a 32-bit Emacs (where #x20000000 evaluates to a
      floating-point number) and then is run on a 64-bit Emacs (where
      the floating-point number causes a test failure).
      * test/src/emacs-module-tests.el (mod-test-sum-test):
      Don’t assume #x20000000 can be represented as an Emacs integer.
      01118627
    • Michael Albinus's avatar
      ; Fix last commit in tramp.el · 2849477a
      Michael Albinus authored
      2849477a
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 0afb436e
      Glenn Morris authored
      8ac621bb (origin/emacs-26) Document DEFUN attributes
      16d0cc73 * etc/NEWS: Add an entry for auth-source-pass.
      cc1702f7 Fix the MSDOS build
      daa9e853 Improve warning and error messages
      7612dd14 Adjust eieio persistence tests for expected failure
      f0cf4dc6 Let eieio-persistent-read read what object-write has written
      40ad1ff3 Handle possible classtype values in eieio-persistent-read
      4ec935dc Add new tests for eieio persistence
      47917d8f * lisp/gnus/gnus-cloud.el (gnus-cloud-synced-files): Fix doc ...
      e32f3525 * lisp/ibuf-ext.el (ibuffer-never-search-content-mode): Fix t...
      5268f305 * doc/lispref/windows.texi (Selecting Windows): Fix a typo.
      143b4850 * doc/lispref/internals.texi (Writing Emacs Primitives): Fix ...
      4ab45514 Firm up documentation of generalized variables
      a5bf0990 Improve documentation of Auto-Revert mode
      ed05eaa9 Improvements in dired.texi
      
      Conflicts:
      	etc/NEWS
      0afb436e
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 081c39be
      Glenn Morris authored
      The following commits were skipped:
      
      f8cad16b Revert "Support all perl variable declarators and prefixes"
      d09c488c Port to 32-bit sparc64
      081c39be
    • Eli Zaretskii's avatar
      Document DEFUN attributes · 8ac621bb
      Eli Zaretskii authored
      * doc/lispref/internals.texi (Writing Emacs Primitives): Document
      specification of function attributes in DEFUN.
      8ac621bb
    • NicolasPetton's avatar
      16d0cc73
    • Eli Zaretskii's avatar
      Fix the MSDOS build · cc1702f7
      Eli Zaretskii authored
      * msdos/sed2v2.inp (HAVE_SBRK): Define to 1.
      cc1702f7
    • Michael Albinus's avatar
      Fix commit c24c5dc4 · bbcd5787
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Drop volume
      letter of localname substitution.  Reported by Chris Zheng
      <chriszheng99@gmail.com>.
      bbcd5787
    • Michael Albinus's avatar
      Tag tramp-test39-utf8* as :unstable · aeb107b6
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test39-utf8)
      (tramp-test39-utf8-with-stat, tramp-test39-utf8-with-perl)
      (tramp-test39-utf8-with-ls): Tag the tests as :unstable.
      aeb107b6
    • Michael Albinus's avatar
      Fix Bug#30904 · 0a53c71f
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-dissect-file-name): Adapt docstring.  (Bug#30904)
      0a53c71f
    • Eric Abrahamsen's avatar
      Improve warning and error messages · daa9e853
      Eric Abrahamsen authored
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read,
        (eieio-persistent-validate/fix-slot-value): Indicate exactly what
        went wrong.
      daa9e853
    • Eric Abrahamsen's avatar
      Adjust eieio persistence tests for expected failure · 7612dd14
      Eric Abrahamsen authored
      * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
       (eieio-test-persist-hash-and-vector,
        eieio-test-persist-interior-lists): Persistence does not currently
       handle deeply-nested objects. Expect current failures, and mark for
       future fixes.
      7612dd14
    • Eric Abrahamsen's avatar
      Let eieio-persistent-read read what object-write has written · f0cf4dc6
      Eric Abrahamsen authored
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
        `object-write' may quote lists inside hash tables and vectors, so
        unquote those lists here.
      
      This patch allows the eieio-persistent write/restore process to
      perform a clean round trip. It only handles a very specific and
      limited range of object structures, but at least the write and read
      procedures match.
      f0cf4dc6
    • Eric Abrahamsen's avatar
      Handle possible classtype values in eieio-persistent-read · 40ad1ff3
      Eric Abrahamsen authored
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
        The function `eieio-persistent-slot-type-is-class-p' could return
        either a single class, or a list of classes.
      40ad1ff3
    • Pierre Téchoueyres's avatar
      Add new tests for eieio persistence · 4ec935dc
      Pierre Téchoueyres authored
      * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el:
        (hash-equal): New comparison test for hash-tables.
        (persist-test-save-and-compare): Use test for hash-tables.
        (eieio-test-persist-hash-and-vector,
        eieio-test-persist-interior-lists): New tests.
      4ec935dc
    • Glenn Morris's avatar
  3. 21 Mar, 2018 15 commits
  4. 20 Mar, 2018 5 commits