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
      'gnutls-available-p'.
      
      * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS
      2.x is available.  (Bug#29147)
      c572e1f3
    • 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
      with-selected-window.
      (flymake-goto-next-error): Call help-echo with a window and an
      overlay.
      a2cc6d74
    • 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.
      58bb3462
    • 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
      uses.
      
      * lisp/progmodes/cperl-mode.el (cperl-mode): Add to
      flymake-diagnostic-functions.
      
      * 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
      defcustom.
      (perl--flymake-proc): New buffer-local variable.
      (perl-flymake): New function.
      (perl-mode): Add to flymake-diagnostic-functions.
      58e742b2
    • 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
      defcustom.
      (ruby--flymake-proc): New buffer-local variable.
      (ruby-flymake): New function.
      (ruby-mode): Add flymake-diagnostic-functions.
      9dee7641
    • 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-command-output-pattern)
      (python-flymake-msg-alist): New defcustom.
      (python--flymake-parse-output): New function, able to parse
      python-flymake-command output accordingly to
      python-flymake-command-output-pattern.
      (python-flymake): New function implementing the backend
      interface using python--flymake-parse-output for the real
      work.
      (python-mode): Add python-flymake to flymake-diagnostic-functions.
      3ad712eb
    • 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.
      8db2b3a7
    • Michael Albinus's avatar
      ; Fix typo in test/file-organization.org · 8c508427
      Michael Albinus authored
      8c508427
    • Charles A. Roelli's avatar
      ; Fix typo · 00fa4449
      Charles A. Roelli authored
      * doc/misc/cc-mode.texi (Other Commands): Fix typo.
      00fa4449
  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.
      918a2dda
    • 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
      'python-mode'.
      (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-tool-grep):
      (semantic-symref-perform-search): Fix typos.
      725ab635
    • 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.
      369da287
    • 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.
      93818eed
    • 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
      MS-Windows.
      1f1de8e8
    • 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
      680e8e11
    • 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)
      ff330745
    • 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.
      787b75ad
    • 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)
      d9be8704
  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.
      36400c7d
    • 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.
      04bc1410
    • 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.
      6b08ad52
    • 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
      empty.
      a9f8706f
    • Eli Zaretskii's avatar
      9031dec5