1. 08 Nov, 2016 7 commits
    • Daniel Colascione's avatar
      Avoid infloop in python · 112111c4
      Daniel Colascione authored
      Fix bug#24905
      
      * lisp/progmodes/python.el (python-info-docstring-p): Improve
      infloop avoidance: replace (bobp) with generic test for
      forward progress.
      * test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Add
      test for bug#24905
      112111c4
    • Daniel Colascione's avatar
      Make gnus/message.el work correctly under lexical binding · 06cfaa3d
      Daniel Colascione authored
      * lisp/gnus/message.el (message-send-mail): Rename `arg' to
      `_' to shut up the byte compiler.
      (sha1-maximum-internal-length, smtpmail-smtp-server)
      (smtpmail-smtp-service): add missing defvars
      06cfaa3d
    • Michael Albinus's avatar
      Fix Bug#24889 · 39c0b8b6
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-file-name-regexp): Make it a
      defvar.  Fix docstring.
      (tramp-completion-file-name-handler-alist): Fix docstring.
      (tramp-register-file-name-handlers): Reassign
      `tramp-file-name-regexp' to the car of
      `tramp-file-name-structure'.  (Bug#24889)
      39c0b8b6
    • Paul Eggert's avatar
      Port to FreeBSD 11 AMD · 3b5e6774
      Paul Eggert authored
      Problem reported by Ashish Shukla (Bug#24892).  I tested
      this on FreeBSD 11 x86-64 with HAVE_SBRK manually undefined.
      * configure.ac (system_malloc): Set to 'yes' if there is no sbrk.
      (sbrk): Check whether it exists.
      * src/alloc.c (my_heap_start) [!GNU_LINUX]:
      Do not define, since this function is now used only on GNU/Linux,
      and sbrk might not exist on other platforms.
      (malloc_initialize_hook) [!GNU_LINUX]:
      Do not call my_heap_start, since its side effect will never be used.
      (Fmemory_limit) [!HAVE_SBRK]: Do not call sbrk.
      * src/unexelf.c (unexec) [!HAVE_SBRK]: Assume that nothing like
      sbrk exists.
      3b5e6774
    • Paul Eggert's avatar
      Port emacsclient to FreeBSD 11 etc. · 86baa208
      Paul Eggert authored
      * lib-src/emacsclient.c: Include <string.h>.  This is needed on
      platforms like FreeBSD 11 that use code involving strlen etc., and
      because <config.h> no longer includes string.h.
      86baa208
    • Mark Oteiza's avatar
      Prescribe history for read-regexp in query-replace · d3e22a12
      Mark Oteiza authored
      In the fix for bug#24580, the history argument for read-regexp was
      removed erroneously; read-regexp's history argument defaults to
      regexp-history, not minibuffer-history.
      * lisp/replace.el (query-replace-read-from): Tell read-regexp to use
      minibuffer-history.  Fixes bug#24873.
      d3e22a12
    • Mark Oteiza's avatar
      Remove obsolete default-FOO variables · 73d47d22
      Mark Oteiza authored
      * etc/NEWS: Indicate the removed variables.
      * lisp/emacs-lisp/edebug.el (edebug-outside-mark): Fix comment.
      * lisp/subr.el (default-mode-line-format, default-header-line-format):
      (default-line-spacing, default-abbrev-mode, default-ctl-arrow):
      (default-truncate-lines, default-left-margin, default-tab-width):
      (default-case-fold-search, default-left-margin-width):
      (default-right-margin-width, default-left-fringe-width):
      (default-right-fringe-width, default-fringes-outside-margins):
      (default-scroll-bar-width, default-vertical-scroll-bar):
      (default-indicate-empty-lines, default-indicate-buffer-boundaries):
      (default-fringe-indicator-alist, default-fringe-cursor-alist):
      (default-scroll-up-aggressively, default-scroll-down-aggressively):
      (default-fill-column, default-cursor-type):
      (default-cursor-in-non-selected-windows):
      (default-buffer-file-coding-system, default-major-mode):
      (default-enable-multibyte-characters): Remove obsolete declarations.
      * src/buffer.c (default-mode-line-format, default-header-line-format):
      (default-line-spacing, default-abbrev-mode, default-ctl-arrow):
      (default-truncate-lines, default-left-margin, default-tab-width):
      (default-case-fold-search, default-left-margin-width):
      (default-right-margin-width, default-left-fringe-width):
      (default-right-fringe-width, default-fringes-outside-margins):
      (default-scroll-bar-width, default-vertical-scroll-bar):
      (default-indicate-empty-lines, default-indicate-buffer-boundaries):
      (default-fringe-indicator-alist, default-fringe-cursor-alist):
      (default-scroll-up-aggressively, default-scroll-down-aggressively):
      (default-fill-column, default-cursor-type):
      (default-cursor-in-non-selected-windows):
      (default-buffer-file-coding-system, default-major-mode):
      (default-enable-multibyte-characters): Remove.
      * src/fileio.c (choose_write_coding_system): Fix comment.
      * src/lisp.h (DEFVAR_BUFFER_DEFAULTS): Remove.
      73d47d22
  2. 07 Nov, 2016 2 commits
    • Eli Zaretskii's avatar
      Improve the tutorial · 8c9cc9f5
      Eli Zaretskii authored
      * etc/tutorials/TUTORIAL: Minor copyedits.  (Bug#24890)
      * etc/tutorials/TUTORIAL.he: Follow suit.
      8c9cc9f5
    • Paul Eggert's avatar
      Restore file descriptor limit in subprocesses · b6d9613d
      Paul Eggert authored
      Problem reported by Philipp Stephani (Bug#24869).
      * src/callproc.c (child_setup) [!DOS_NT]:
      Call restore_nofile_limit in the child.
      * src/process.c (nofile_limit) [HAVE_SETRLIMIT]: New static var.
      (restore_nofile_limit): New function.
      (init_process_emacs) [HAVE_SETRLIMIT]: Set the new var.
      b6d9613d
  3. 06 Nov, 2016 3 commits
  4. 05 Nov, 2016 3 commits
  5. 04 Nov, 2016 20 commits
  6. 03 Nov, 2016 5 commits
    • Reuben Thomas's avatar
      Stop force parameter of whitespace-report-region having global effect · 86bec419
      Reuben Thomas authored
      * lisp/whitespace.el (whitespace-report-region): Force parameter
      previously changed whitespace-style globally.  Fix this, and use
      whitespace-active-style, to take account of any changes the user may
      have made.  Simplify the documentation: the force parameter simply
      forces all classes of whitespace problem to be considered.
      (Bug#24745)
      86bec419
    • Reuben Thomas's avatar
      Document use of `tab-width' · 50bba7f4
      Reuben Thomas authored
      * lisp/whitespace.el: When talking about `8 or more spaces', mention
      `tab-width' instead of 8.  (Bug#24745)
      50bba7f4
    • Reuben Thomas's avatar
      Make whitespace-report-region respect current settings · 2350bb95
      Reuben Thomas authored
      * lisp/whitespace.el (whitespace-report-region): Make it respect
      whitespace-style, including any additions made by the force parameter.
      This means that the function does not return t unless a whitespace
      problem that the user cares about is reported.  (Bug#24745)
      2350bb95
    • Reuben Thomas's avatar
      Fix whitespace-space-after-tab-regexp · a55c582f
      Reuben Thomas authored
      * lisp/whitespace.el (whitespace-space-after-tab-regexp)
      (whitespace-regexp): Match all the spaces after tabs for highlighting,
      not just the first tab-width.  Fix whitespace-space-after-tab::space
      version so that it requires at least tab-width spaces, not just 1.
      (Bug#24745)
      a55c582f
    • Reuben Thomas's avatar
      Remove duplicate documentation · 96f3ae90
      Reuben Thomas authored
      * lisp/whitespace.el: Remove duplicate documentation from the Commentary
        section which duplicate and in some places contradict (due to being
        out of date) the docstrings (Bug#24745).
      96f3ae90