1. 05 Nov, 2017 9 commits
    • Eli Zaretskii's avatar
      Return non-nil from gnutls-available-p under GnuTLS 2.x · c572e1f3
      Eli Zaretskii authored
      * doc/misc/emacs-gnutls.texi (Help For Users): Update the
      documentation of 'gnutls-available-p'.
      * etc/NEWS (GnuTLS): Mention the change in the value returned by
      * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS
      2.x is available.  (Bug#29147)
    • João Távora's avatar
      Fix Flymake help-echo functions across windows (bug#29142) · a2cc6d74
      João Távora authored
      * lisp/progmodes/flymake.el (flymake--highlight-line): Use
      (flymake-goto-next-error): Call help-echo with a window and an
    • João Távora's avatar
      Add tests for Flymake backends for Ruby and Perl · 58bb3462
      João Távora authored
      * test/lisp/progmodes/flymake-tests.el (perl-backend)
      (ruby-backend): New tests.
      (warning-predicate-rx-perl, warning-predicate-function-perl):
      Delete tests.
      * test/lisp/progmodes/flymake-resources/test.pl: Include an
      error the test file.
      * test/lisp/progmodes/flymake-resources/test.rb: file.
    • João Távora's avatar
      Add a Flymake backend for Perl · 58e742b2
      João Távora authored
      Define a simple backend in perl-mode.el, which cperl-mode.el also
      * lisp/progmodes/cperl-mode.el (cperl-mode): Add to
      * lisp/progmodes/flymake-proc.el
      (flymake-proc-allowed-file-name-masks): Disable legacy backend
      for perl files.
      * lisp/progmodes/perl-mode.el (perl-flymake-command): New
      (perl--flymake-proc): New buffer-local variable.
      (perl-flymake): New function.
      (perl-mode): Add to flymake-diagnostic-functions.
    • João Távora's avatar
      Add a Flymake backend for Ruby · 9dee7641
      João Távora authored
      * lisp/progmodes/ruby-mode.el (ruby-flymake-command): New
      (ruby--flymake-proc): New buffer-local variable.
      (ruby-flymake): New function.
      (ruby-mode): Add flymake-diagnostic-functions.
    • Lele Gaifax's avatar
      Add a Flymake backend for Python (bug#28808) · 3ad712eb
      Lele Gaifax authored
      Implement new Flymake backend with related customizable settings.
      * lisp/progmodes/python.el (python-flymake-command)
      (python-flymake-msg-alist): New defcustom.
      (python--flymake-parse-output): New function, able to parse
      python-flymake-command output accordingly to
      (python-flymake): New function implementing the backend
      interface using python--flymake-parse-output for the real
      (python-mode): Add python-flymake to flymake-diagnostic-functions.
    • Michael Albinus's avatar
      Allow "%" in Tramp host names · 8db2b3a7
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-url-file-name): Hexify also host.
      * lisp/net/tramp.el (tramp-host-regexp): Allow "%" in host names.
    • Michael Albinus's avatar
      ; Fix typo in test/file-organization.org · 8c508427
      Michael Albinus authored
    • Charles A. Roelli's avatar
      ; Fix typo · 00fa4449
      Charles A. Roelli authored
      * doc/misc/cc-mode.texi (Other Commands): Fix typo.
  2. 04 Nov, 2017 9 commits
    • Noam Postavsky's avatar
      Use hybrid malloc for FreeBSD (Bug#28308) · 918a2dda
      Noam Postavsky authored
      FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when
      using system malloc dumping does not work correctly (allocated data is
      invalid after dumping).
      * configure.ac: Set hybrid_malloc for freebsd.
      * src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk.
    • Charles A. Roelli's avatar
      Add html-, mhtml- and python-mode support to semantic symref · 725ab635
      Charles A. Roelli authored
      * lisp/cedet/semantic/symref/grep.el
      (semantic-symref-filepattern-alist): Fix the entry for
      'html-mode', which used a regexp-like syntax where only glob
      syntax is permitted.  As a result, 'xref-find-references' (M-?)
      can now find references in HTML files.  Also duplicate the same
      entry for the sake of 'mhtml-mode', and add a new one for
      (semantic-symref-derive-find-filepatterns): In the documentation,
      clarify that returned patterns must follow the glob syntax.  Fix
      an 'if' test that always evaluates to nil.
      (semantic-symref-perform-search): Fix typos.
    • Eli Zaretskii's avatar
      Improve documentation of 'window-scroll-functions' · 369da287
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Hooks): Clarify the values of
      arguments of 'window-scroll-functions' functions.
      * src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Doc fix.
    • Eli Zaretskii's avatar
      Fix subtle problems in tabulated-list-mode with line numbers · 93818eed
      Eli Zaretskii authored
      * lisp/emacs-lisp/tabulated-list.el
      (tabulated-list-watch-line-number-width): Call
      tabulated-list-init-header instead of tabulated-list-revert.
      (tabulated-list-window-scroll-function): New function.
      (tabulated-list-mode): Put 'tabulated-list-window-scroll-function'
      on the buffer-local 'window-scroll-functions' list.
    • Eli Zaretskii's avatar
      Make gdb-non-stop-setting default to nil on MS-Windows · 1f1de8e8
      Eli Zaretskii authored
      * lisp/progmodes/gdb-mi.el (gdb-non-stop-setting): Now nil on
    • Mike Gulick's avatar
      Fix gdb-mi prompt after "attach PID" command · 680e8e11
      Mike Gulick authored
      * lisp/progmodes/gdb-mi.el (gdbmi-bnf-console-stream-output): Set
      gdb-first-done-or-error non-nil.  (Bug#29020)
      Copyright-paperwork-exempt: yes
    • Eli Zaretskii's avatar
      Fix doc string of 'window-configuration-change-hook' · ff330745
      Eli Zaretskii authored
      * src/window.c (syms_of_window) <window-configuration-change-hook>:
      Doc fix.  (Bug#29049)
    • Eli Zaretskii's avatar
      Improve documentation of window hooks · 787b75ad
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Hooks): Fix the description of
      window-configuration-change-hook.  (Bug#29049)
      <run-window-scroll-functions, run-window-configuration-change-hook>:
      Document these functions.
    • Eli Zaretskii's avatar
      Fix hscroll suspension after cursor motion · d9be8704
      Eli Zaretskii authored
      * src/xdisp.c (hscroll_window_tree): Trigger a thorough redisplay
      of the window when temporary suspension of hscrolling is
      disabled.  (Bug#29002)
  3. 03 Nov, 2017 17 commits
  4. 02 Nov, 2017 5 commits
    • Alan Third's avatar
      Fix mouse-scrollbar offset on GNUstep and old macOS (bug#29053) · 36400c7d
      Alan Third authored
      * src/nsterm.m (EmacsScroller::mouseDown,
      EmacsScroller::mouseDragged): Take scroller buttons into account when
      calculating scroller knob position.
    • Paul Eggert's avatar
      Merge from Gnulib · 04bc1410
      Paul Eggert authored
      This incorporates:
      2017-10-29 timespec: prefer ‘assume’ to ‘assure’
      2017-10-27 timespec.h: use "assure" to avoid a spurious warning
      2017-10-09 getopt-posix: Fix build failure if ac_cv_header_getopt_h=no
      * build-aux/config.guess, build-aux/config.sub:
      * lib/timespec.h, lib/unistd.in.h:
      Copy from Gnulib.
    • Paul Eggert's avatar
      Fix alignment portability problems · 6b08ad52
      Paul Eggert authored
      Do not assume that the natural alignment of Lisp objects is a
      multiple of GCALIGNMENT.  This improves on the portability of the
      recent fix for Bug#29040.
      * lib-src/make-docfile.c (close_emacs_globals):
      * src/buffer.c (buffer_defaults, buffer_local_symbols):
      * src/lisp.h (DEFUN):
      * src/thread.c (main_thread):
      Use GCALIGNED, not alignas (GCALIGNMENT).
      * src/alloc.c (COMMON_MULTIPLE):
      Move back here from lisp.h, since it is no longer used elsewhere.
      * src/lisp.h (GCALIGNMENT): No longer a macro, since we need not
      worry about MSVC.  Omit no-longer-needed consistency check.
      * src/thread.c (THREAD_ALIGNMENT): Remove.
    • Simen Heggestøyl's avatar
      Fix completion of colon after CSS property (Bug#29056) · a9f8706f
      Simen Heggestøyl authored
      * lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert
      ": ;" after completing a CSS property unless the rest of the line is
    • Eli Zaretskii's avatar