1. 12 Nov, 2017 2 commits
  2. 11 Nov, 2017 7 commits
  3. 10 Nov, 2017 6 commits
    • Paul Eggert's avatar
      Fix off-by-1 bug in --enable-checking=stringbytes · 05aa6d4a
      Paul Eggert authored
      Evidently nobody builds Emacs with --enable-checking=all,
      which is no surprise as it is so slow as to be unusable nowadays.
      Perhaps we should remove the slowest checks, or move them into
      another category, or speed them up, or something.
      * src/alloc.c (SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Fix off-by-one
      error in size calculation, which caused a failure when
      --enable-checking=stringbytes was used.  I introduced this bug in
      2016-09-08T01:08:45!eggert@cs.ucla.edu "Port flexible array
      members to GCC + valgrind".
    • Alan Mackenzie's avatar
      Correct the indentation of C99's compound literals. · 096f638d
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Amend so that
      if there is only syntactic whitespace in a brace block, it is regarded as a
      statement block.  Also, if there is no semicolon or comma delimiter, treat as
      a statement block when there is a keyword.
      (c-guess-basic-syntax): CASE 9 test: Regard a brace as starting a brace block
      when its contents indicate a brace block.
    • Eli Zaretskii's avatar
      Improve the doc string of 'dired-isearch-filter-filenames' · c52a2aa8
      Eli Zaretskii authored
      * lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix display of line numbers in GTK builds · f3e69a80
      Eli Zaretskii authored
      * src/xdisp.c (should_produce_line_number) [USE_GTK]: Make sure
      tip_frame is indeed a tooltip frame, before disabling line numbers
      on it.  (Bug#27647)
      * src/dispextern.h (tip_frame): Add commentary describing the
      kludgey usage of this variable in GTK builds.
    • João Távora's avatar
      Fix previous change to flymake-diag-region (bug#29174) · e6f1fd40
      João Távora authored
      * lisp/progmodes/flymake.el (flymake-diag-region):
      Pass line and col to commit.
  4. 09 Nov, 2017 10 commits
    • João Távora's avatar
      flymake-diag-region really returns nil if region is invalid (bug#29174) · 89382780
      João Távora authored
      Reported by Lele Gaifax <lele@metapensiero.it>.
      * lisp/progmodes/flymake.el (flymake-diag-region): Really
      return nil if the region is invalid.
    • João Távora's avatar
      Flymake correctly highlights whole last line if eob (bug#29201) · 535688a4
      João Távora authored
      If a line/column pair indicates an end-of-buffer position, flymake
      should behave like the case where the last line of the buffer is
      referenced without a column indication.  This behavior is currently
      to highlight the whole last line.
      * lisp/progmodes/flymake.el (flymake-diag-region): Correct
      conditions of fallback to the fallback-eol local function.
    • João Távora's avatar
      Protect Flymake checkdoc backend against checkdoc errors (bug#29176) · 72e62d3f
      João Távora authored
      The function checkdoc-current-buffer may error if there are unbalanced
      parens, for example, but this shouldn't disable the
      elisp-flymake-checkdoc backend.
      * lisp/progmodes/elisp-mode.el (elisp-flymake-checkdoc): Use
    • João Távora's avatar
      Sort entries of the Flymake diagnostics buffer (bug#29175) · b28de574
      João Távora authored
      Reported by Lele Gaifax <lele@metapensiero.it>.
      * lisp/progmodes/flymake.el
      (flymake--diagnostics-buffer-entries): Sort results of flymake-diagnostics.
    • Alan Mackenzie's avatar
      Correctly indent C++14 brace lists which are a second argument to a function. · fc56bea1
      Alan Mackenzie authored
      In particular, don't indent contained brace lists in "staircase" fashion.
      This fixes bug #28623.
      * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): When
      testing for being enclosed in parens, recognise also a brace directly
      following a comma, as well as a brace being the first thing inside the paren.
      Enhance the return value, by indicating when we're directly inside an open
      (c-inside-bracelist-p): Add an extra argument ACCEPT-IN-PARAM which indicates
      whether we will accept a bracelist directly inside an open parenthesis.
      Simplify the manipulation of PAREN-STATE by dispensing with variable LIM and
      using c-pull-open-brace.  Enhance the return value, respecting the new argument.
      (c-guess-basic-syntax): Save a copy of the initial parse-state in the new
      variable STATE-CACHE.  Use this variable in place of C-STATE-CACHE throughout
      the function.  At CASE 7B, call c-inside-bracelist-p with extra argument nil.
      At CASE 9, call that function with extra argument t.
    • Eli Zaretskii's avatar
      Fix redisplay of overlay-arrows on GUI frames · 9dde8be9
      Eli Zaretskii authored
      * src/xdisp.c (try_window_reusing_current_matrix)
      (try_cursor_movement): Disallow these optimizations if the buffer
      has overlay arrow(s) shown on the fringe(s).  (Bug#29198)
    • João Távora's avatar
      Protect Flymake tests against older Ruby and Perl (bug#29187) · 0da08f2f
      João Távora authored
      * test/lisp/progmodes/flymake-tests.el (perl-backend): Search
      for the error from the bottom.
      (ruby-backend): Protect against situation of bug#29187
    • Paul Eggert's avatar
      Fix URL cookie expiration bug · 781f276c
      Paul Eggert authored
      Problem reported by Damien Cassou (Bug#29223).
      * lisp/url/url-cookie.el (url-cookie-expired-p):
      Fix typo in previous change, which caused unexpired cookies
      to be treated as expired and vice versa.
    • Paul Eggert's avatar
      Use GCALIGNED properly for GCC · 9e59de94
      Paul Eggert authored
      Apparently GCC requires that ‘__attribute__ ((aligned (8)))’ must
      immediately follow the ‘struct’ keyword when aligning a structure.
      The attribute silently does not work if it follows a tag after the
      ‘struct’ keyword.  Who knew?  Anyway, this patch is designed to
      fix a SIGSEGV problem reported by John Mastro (Bug#29183).
      * 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):
      Put 'GCALIGNED' immediately after 'struct'.
    • Glenn Morris's avatar
      In f90.el, set fill-paragraph-function to a useful value · b9d7c902
      Glenn Morris authored
      * lisp/progmodes/f90.el (f90-mode-map) <menu>: Add fill-paragraph.
      (f90-mode): Set fill-paragraph-function.
      (f90-fill-paragraph): New command.
  5. 08 Nov, 2017 5 commits
  6. 07 Nov, 2017 4 commits
    • Eli Zaretskii's avatar
      ; Minor comment copyedit in window.c · 949b70a7
      Eli Zaretskii authored
      * src/window.c (Fset_window_configuration): Don't use non-ASCII
      quotes in comments.
    • K. Handa's avatar
      Describe Lao rendering problem · 20f9bf30
      K. Handa authored
      * etc/PROBLEMS: Describe a workaround for the problem of Lao rendering
      by OpenTyype font.
    • K. Handa's avatar
      Fix docstring of arabic-shaper-ZWNJ-handling · 3d616576
      K. Handa authored
      * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Adjusted
      the doctstring for addition of :set (bug#28312).
    • Antonin Houska's avatar
      Handle single-line comments correctly (Bug#26049) · db949166
      Antonin Houska authored
      * lisp/newcomment.el (comment-region-internal): Previously, the
      comment text had to contain at least one line break character for the
      ending extra line to be added.  Make the behavior more consistent by
      looking for end of line instead.
      (comment-region-internal): Remove trailing white space from the
      comment's initial line.
      Copyright-paperwork-exempt: yes
  7. 06 Nov, 2017 4 commits
  8. 05 Nov, 2017 2 commits
    • Michael Albinus's avatar
      Do not load Tramp unless `tramp-mode' is non-nil · ca2d94ba
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-autoload-file-name-handler): Load Tramp only if
      `tramp-mode' is non-nil.
      (tramp-unload-file-name-handlers): Unload also
      * test/lisp/net/tramp-tests.el (tramp-test42-delay-load): Extend test.
    • Michael Albinus's avatar
      Prefer `customize-set-variable' in tramp.texi · 709478ea
      Michael Albinus authored
      * doc/misc/tramp.texi (Configuration, Default Method, Default User)
      (Default Host, Remote shell setup, Auto-save and Backup)
      (Ad-hoc multi-hops, Frequently Asked Questions):
      Prefer `customize-set-variable' over `custom-set-variables'.