1. 06 Dec, 2015 7 commits
    • Paul Eggert's avatar
      Port mod-test to 32-bit Emacs --without-wide-int · ace6c253
      Paul Eggert authored
      * modules/mod-test/test.el (mod-test-sum-test):
      Bring back the 2**29 tests, but port them to 32-bit Emacs
    • Michael Albinus's avatar
      Fix minor Tramp problems found on BSD · 0e574ea3
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
      trailing slash.  Quote apostrophes.
      (tramp-sh-handle-file-truename): Do not append trailing slash in
      the "ls" case.
      (tramp-get-ls-command-with-w-option): New defun.
      (tramp-do-directory-files-and-attributes-with-stat): Use it.
      * test/automated/tramp-tests.el
      (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
      Suppress also readlink.
    • Eli Zaretskii's avatar
      Fix cursor display when invisible text is at line beginning · cca5629f
      Eli Zaretskii authored
      * src/xdisp.c (redisplay_window): When scrolling fails to show
      point, prefer using the desired matrix if possible for finding the
      fallback glyph row for displaying the cursor.  (Bug#22098)
      (row_containing_pos): Exit the loop as soon as we hit the first
      disabled glyph row.  Otherwise we risk accessing garbled data and
      departing to the no-no land.
    • Paul Eggert's avatar
      Improve module interface when WIDE_EMACS_INT · 302bbe00
      Paul Eggert authored
      * src/emacs-module.c (plain_values): New constant.
      (module_nil): Now a constant.
      (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
      (syms_of_module): Use if, not #ifdef, so that both sides are
      checked at compile-time, and so that GCC doesn’t complain
      about an unused var in the typical case.  Also, depend on
      plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
      that WIDE_EMACS_INT implies !USE_LSB_TAG.
      (value_to_lisp_bits, lisp_to_value_bits): New functions.
      Sign-extend integers rather than zero-extending them, as small
      negative integers are more likely.
      (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
      (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
      (mark_modules): Remove.  All uses removed.
      (lisp_to_value): Don’t assume Fcons returns a pointer aligned
      (syms_of_module): Check that module_nil converts to Qnil.
      * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
      we prefer signed to unsigned when either will do.
      (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
      a bit better for emacs-module.c.
    • Paul Eggert's avatar
      Port mod-test to x86-64 GNU/Linux running 32-bit · 2b3f5de2
      Paul Eggert authored
      * modules/mod-test/test.el (mod-test-sum-test):
      Don’t attempt to match descriptions to operating systems.
      It didn’t work on Fedora x86-64 running a 32-bit executable,
      and it’s not worth the trouble anyway.
      Port to 32-bit platforms by removing an assumption about
      fixnum widths.
    • Michael Albinus's avatar
      Fix auto-revert-tests.el when filenotify isn't used · 8b875229
      Michael Albinus authored
      * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
      Make it working also when filenotify isn't used.
    • Juri Linkov's avatar
      * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): · 2537dd90
      Juri Linkov authored
      Let-bind isearch-regexp-function to nil.  (Bug#22097)
  2. 05 Dec, 2015 15 commits
  3. 04 Dec, 2015 6 commits
  4. 03 Dec, 2015 10 commits
    • Phillip Lord's avatar
      Externalize some symbols in undo-auto · eaa1fd6d
      Phillip Lord authored
       * doc/lispref/text.texi: Update symbols.
       * lisp/simple.el (undo-auto--amalgamate,
         undo-auto--current-boundary-timer): Make symbols public.
       * src/cmds.c (Fself_insert_command,Fdelete_char): Call
         updated symbol.
    • Stefan Monnier's avatar
    • Michael Albinus's avatar
      Some error message improvements in tramp-sh.el · a1c26b19
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Suppress error messages for "mesg" and "biff" calls.
      (tramp-get-remote-path): Ignore errors when expanding
      `tramp-own-remote-path'.  Raise a warning instead.
    • Eli Zaretskii's avatar
      Document 'nacl' value for 'system-type' · 0cec5481
      Eli Zaretskii authored
      * doc/lispref/os.texi (System Environment): Document the 'nacl'
      value of 'system-type'.
    • Eli Zaretskii's avatar
      Document 'window-max-chars-per-line' · e011b22d
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Sizes): Document
    • Artur Malabarba's avatar
      Fix some file headers for the purpose of `package--builtins' · 1e1aabbc
      Artur Malabarba authored
      * lisp/emacs-lisp/cl-preloaded.el
      * lisp/emacs-lisp/eieio-compat.el
      * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
      * lisp/ielm.el: Fix summary line.
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el (package-unpack): Load before compiling · 50dce3c4
      Artur Malabarba authored
      Reload any previously loaded package files before compiling
      the package (also reload the same files after compiling).
      This ensures that we have the most recent definitions during
      compilation, and avoids generating bad elc files when a macro
      changes and it is used in a different file from the one it's
      defined in.
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Refactor package activation code · 67c6906a
      Artur Malabarba authored
      (package-activate): Move code that activates dependencies into
      (package--load-files-for-activation): New function.
      (package-activate-1): Add code for (optionally) activating
      dependencies, and move file-loading code into
    • Eli Zaretskii's avatar
      Document new font-related functionality · 44d69577
      Eli Zaretskii authored
      * doc/lispref/display.texi (Low-Level Font): Document
      'default-font-width', 'default-font-height', 'window-font-width',
      and 'window-font-height'.
      * etc/NEWS: Move entries for 'default-font-width',
      'default-font-height', 'window-font-width', and 'window-font-height'
      to their place and mark them documented.
    • Eli Zaretskii's avatar
      Fix documentation and implementation of 'directory-name-p' · eca277f9
      Eli Zaretskii authored
      * lisp/files.el (directory-name-p): Modify to recognize
      backslashes on MS-Windows and MS-DOS.  Adjust the doc string
      accordingly.  Use '=', not char-equal, for comparison, as
      letter-case cannot possibly be an issue here.
      * doc/lispref/files.texi (Directory Names): Move the documentation
      of directory-name-p here from "Relative File Names".  Update the
      description per the changes in implementation.
      * etc/NEWS: Move the entry for 'directory-name-p' to its proper
      place and mark it documented.
  5. 02 Dec, 2015 2 commits
    • Eli Zaretskii's avatar
      Minor copyedit in Emacs manual · 4d10a7d4
      Eli Zaretskii authored
      * doc/emacs/search.texi (Lax Search): Make wording about character
      folding by default less definitive.  (Bug#22043)
    • Eli Zaretskii's avatar
      More emacs-module.c fixes for wide ints · 36dbe6fc
      Eli Zaretskii authored
      * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
      unsigned data types to manipulate pointers, to avoid sign
      extension coming after us with a vengeance.
      * modules/mod-test/test.el (mod-test-sum-test): Add tests for
      Emacs with wide ints that verify integer values near the critical
      value that requires us to switch to a cons cell.