1. 20 May, 2017 3 commits
    • Eli Zaretskii's avatar
      Avoid crashes in GC due to unescaped characters warning · 6c7bf039
      Eli Zaretskii authored
      * src/lread.c (load_warn_unescaped_character_literals): Don't cons
      Lisp objects from stack-based variables.  (Bug#26961)
      6c7bf039
    • Charles A. Roelli's avatar
      New commands: find-library-other-window, find-library-other-frame · 021430f4
      Charles A. Roelli authored
      * lisp/emacs-lisp/find-func.el (find-library-other-window)
      (find-library-other-frame): New commands to complement the
      existing 'find-library' command.  (Bug#26712)
      (read-library-name): New function to read a library name.
      * etc/NEWS: Mention 'find-library-other-window' and
      'find-library-other-frame'.
      021430f4
    • Eli Zaretskii's avatar
      Fix automatic hscrolling of only the current line · 1cbbecee
      Eli Zaretskii authored
      * src/xdisp.c (display_line): When hscrolling only the current
      line, increment iterator's first_visible_x and last_visible_x
      values to account for the hscroll.  This propagates the hscroll
      effect on the iterator geometry all the way down to the
      subroutines called by display_line, and avoids scrolling bugs
      under large hscroll values.  (Bug#26994)
      1cbbecee
  2. 19 May, 2017 25 commits
  3. 18 May, 2017 5 commits
    • Eli Zaretskii's avatar
      Support hscrolling only the current line · 064b92d6
      Eli Zaretskii authored
      * src/xdisp.c (hscrolling_current_line_p): New function.
      (init_iterator): If auto-hscrolling just the current line, don't
      increment the iterator's first_visible_x and last_visible_x
      variables.
      (hscroll_window_tree): Recompute window's hscroll when moving
      vertically to another screen line.
      (redisplay_window): If we are hscrolling only the current line,
      disable the optimizations that rely on the current matrix being
      up-to-date.
      (display_line): Accept an additional argument CURSOR_VPOS, the
      vertical position of the current screen line which might need
      hscrolling; all callers changed.  Compute first_visible_x and
      last_visible_x specially when auto-hscrolling current line, by
      repeating the calculation that is done in init_iterator in other
      modes.
      (syms_of_xdisp) <auto-hscroll-mode>: No longer boolean, it can now
      accept a 3rd value 'current-line, to turn on the mode where
      only the current line is hscrolled.
      
      * etc/NEWS: Mention the new auto-hscroll-mode value.
      064b92d6
    • Eli Zaretskii's avatar
      Fix last change in line-move-finish · f6816a65
      Eli Zaretskii authored
      * lisp/simple.el (line-move-finish): Fix last change.  This corrects a
      regression in C-n and C-p when lines are truncated, introduced by the
      change in 2017-05-10.
      f6816a65
    • Simen Heggestøyl's avatar
      Expand docstring for CSS mode · 8deef1d6
      Simen Heggestøyl authored
      * lisp/textmodes/css-mode.el (css-completion-at-point, css-mode):
      Expand docstrings.
      8deef1d6
    • Tino Calancha's avatar
      Use the expression angle units while simplifying it · c48e5392
      Tino Calancha authored
      Don't use the angle mode, use the angle units included
      in the expression instead (Bug#23889).
      * lisp/calc/calc-alg.el (calc-input-angle-units): New defun.
      (math-simplify): Use it.
      * lisp/calc/calc-forms.el (math-to-hms, math-from-hms):
      Don't use calc-angle-mode if math-simplifying-units is non-nil.
      * lisp/calc/calc-math.el (calcFunc-nroot, math-from-radians)
      (math-to-radians-2, math-from-radians-2): Don't convert angle
      to radians if math-simplifying-units is non-nil.
      * test/lisp/calc/calc-tests.el (test-calc-23889): Add test.
      c48e5392
    • Tino Calancha's avatar
      Revert "Ignore angle mode while simplifying units" · eab1a630
      Tino Calancha authored
      This reverts commit 713e9222.
      This commit causes Bug#25652.
      eab1a630
  4. 17 May, 2017 7 commits