1. 19 May, 2017 11 commits
  2. 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
  3. 17 May, 2017 9 commits
  4. 16 May, 2017 12 commits
  5. 15 May, 2017 3 commits