1. 14 Nov, 2016 4 commits
  2. 13 Nov, 2016 6 commits
    • Glenn Morris's avatar
      Include a systemd user unit file. (Bug#16507) · 181bd848
      Glenn Morris authored
      * etc/emacs.service: New file.
      * doc/emacs/misc.texi (Emacs Server): Mention systemcl --user.
      * Makefile.in (libdir): New, set by configure.
      (systemdunitdir): New variable.
      (install-etc, uninstall): Handle the emacs.service file.
      181bd848
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to Ubuntu 16.10 · 9b3a853a
      Paul Eggert authored
      * src/gmalloc.c: Include <stdlib.h>, so it declares
      hybrid_aligned_alloc (the definiens of the aligned_alloc macro),
      so that GCC doesn't complain that hybrid_aligned_alloc is
      defined without being declared.
      9b3a853a
    • Ken Brown's avatar
      Silence tramp warning · a611d7d7
      Ken Brown authored
      * lisp/net/tramp.el (tramp-file-name-for-operation): Add
      'file-name-case-insensitive-p' as a known file primitive.
      (Bug#24936)
      a611d7d7
    • Ken Brown's avatar
      Check case-sensitivity when renaming files · 2809012c
      Ken Brown authored
      * src/fileio.c (file_name_case_insensitive_p)
      (Ffile_name_case_insensitive_p):  New functions.
      (Frename_file): Allow renames that simply change case when the
      FILE argument is on a case-insensitive filesystem.  (Bug#24441)
      
      * lisp/dired-aux.el (dired-do-create-files): Use
      'file-name-case-insensitive-p' instead of 'system-type' to check
      for case-insensitivity.  (Bug#24441)
      
      * doc/lispref/files.texi (Truenames): Document
      'file-name-case-insensitive-p'.
      2809012c
    • Ken Brown's avatar
      Unbreak the build on Cygwin · 462804da
      Ken Brown authored
      * configure.ac (system_malloc) [CYGWIN]: Unset.
      462804da
    • Mark Oteiza's avatar
      ; Fix thinko · 3958002f
      Mark Oteiza authored
      * lisp/auth-source.el (auth-source-backend-parse-parameters): Contain
      cl-return within cl-dolist.
      3958002f
  3. 12 Nov, 2016 1 commit
    • Mark Oteiza's avatar
      Update chart.el · 05881644
      Mark Oteiza authored
      * lisp/emacs-lisp/chart.el (chart-mode): Derive from special-mode.
      (chart-draw): Wrap in with-silent-modifications.  Instead of inserting a
      fixed number of newlines, use window-height.
      (chart-bar):
      (chart-trim): Use dolist.
      (chart-file-count): The previous implementation was buggy and missed
      extensions.  Use file-name-extension instead to detect file extensions.
      Also use dolist and cl-incf to reduce verbosity.
      05881644
  4. 11 Nov, 2016 2 commits
  5. 09 Nov, 2016 3 commits
    • Eli Zaretskii's avatar
      Resurrect 'memory-limit' on MS-Windows · 2bb02a37
      Eli Zaretskii authored
      * nt/mingw-cfg.site (ac_cv_func_sbrk): Set to "yes", otherwise
      'memory-limit' will produce a trivial and useless result on Windows.
      2bb02a37
    • Mark Oteiza's avatar
      Update quickurl.el · 86cbd942
      Mark Oteiza authored
      * lisp/net/quickurl.el (quickurl-format-function):
      (quickurl-sort-function): Use named function.
      (quickurl-list-mode-map): Remove lines that are extraneous now that the
      parent mode is special-mode.
      (quickurl-format-url, quickurl-sort-urls): New functions.
      (quickurl-read, quickurl): Use defun, as no cl-defun feature appears to
      be used.
      (quickurl-list-mode): Derive from special-mode.  Nix setting
      buffer-read-only: special-mode does that.
      (quickurl-list-populate-buffer): Use dolist instead.
      (quickurl-list-quit): Use quit-window.  It looks like this was written
      before the quit-window rewrite.  quit-window is very useful now.
      86cbd942
    • Michael Albinus's avatar
      Refine multi-hop specs in Tramp · dba9bc97
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-tramp-file-p): Suppress "/:" and "/c:".
      
      * test/lisp/net/tramp-tests.el
      (tramp-test01-file-name-syntax): Multi-hop specs don't need a
      method.  "/h:" is allowed on non MS Windows.
      dba9bc97
  6. 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
  7. 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
  8. 06 Nov, 2016 3 commits
  9. 05 Nov, 2016 3 commits
  10. 04 Nov, 2016 9 commits
    • Paul Eggert's avatar
      Update from gnulib · 44c34c2e
      Paul Eggert authored
      This incorporates:
      2016-11-03 intprops: port to older XL C
      * lib/intprops.h: Copy from gnulib.
      44c34c2e
    • Paul Eggert's avatar
      ; Spelling fixes · a59f4bb5
      Paul Eggert authored
      a59f4bb5
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · ae0a1a89
      Paul Eggert authored
      acae275b ; Spelling fixes
      d8fac734 Update README for precompiled windows Emacs.
      23570fd9 Clarify documentation of 'vc-responsible-backend' wrt symlinks
      f708cb22 Clarify doc string of 'transpose-sexps'
      cd05b1db Fix docstring of 'browse-url-firefox-new-window-is-tab'
      bdc89eb4 Improve documentation of 'font-lock-remove-keywords'
      4a0c590c Fix documentation of the command summary key
      0221b7a9 Mark relocation workarounds with REL_ALLOC
      ae0a1a89
    • Paul Eggert's avatar
      ; Merge from origin/emacs-25 · 66b5222c
      Paul Eggert authored
      The following commits were skipped:
      
      5043e0a7 Fix documentation for 'eudc-options-file'
      26038aa6 Fix documentation of 'eudc-inline-expansion-format'
      66b5222c
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · 6a20bd35
      Paul Eggert authored
      dbb34102 python.el: Fix detection of native completion in Python 3 (bu...
      91c97b6e * Makefile.in (install-arch-indep): Skip etc/refcards/emacsve...
      9c1cb8d5 * lisp/subr.el (set-transient-map): Exit for unbound events (...
      9c247d20 Update category-table for Chinese characters
      43986d16 Inhibit buffer relocation during regex searches
      fee4cef7 Revert fixes to allocation of regex matching
      6a20bd35
    • Paul Eggert's avatar
      ; Spelling fixes · acae275b
      Paul Eggert authored
      acae275b
    • Phillip Lord's avatar
      Update README for precompiled windows Emacs. · d8fac734
      Phillip Lord authored
       * nt/README.W32: Describe 64 and 32-bit downloads, optional
         dependencies bundle. Remove old material on sourcing dependencies.
         Remove references to Windows 95. Update GUI references to recent
         Windows. Remove references to Usenet.
      d8fac734
    • Mark Oteiza's avatar
      ; Restore nixed comments · 29559361
      Mark Oteiza authored
      29559361
    • Mark Oteiza's avatar
      Fix references to long obsoleted functions/aliases · 2c6920a3
      Mark Oteiza authored
      * doc/lispintro/emacs-list-intro.texi (Miscellaneous):
      * doc/misc/cl.texi (Conditionals):
      * doc/misc/speedbar.texi (Major Display Modes): Use string-to-number,
      not string-to-int.
      * lisp/emulation/viper.el (viper-go-away): Use major-mode, not
      default-major-mode.
      * lisp/textmodes/reftex-toc.el (reftex-toc-visit-location): show-window
      here is not a function call, but shorten the binding names anyways.
      Also, use pop-to-buffer-same-window instead of switch-to-buffer cf
      Bug#22244.
      * lisp/textmodes/sgml-mode.el (html-tag-alist): Use read-string, not
      read-input.
      2c6920a3