1. 12 Sep, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #12403 with garbled display under non-zero scroll-margin. · aa36e4d2
      Eli Zaretskii authored
       src/xdisp.c (try_window_reusing_current_matrix): Under bidi
       reordering, locate the cursor by calling set_cursor_from_row; if
       that fails, clear the desired glyph matrix before returning a
       failure indication to the caller.  Fixes leaving garbled display
       when fast scrolling with a down-key when scroll-margin is non-zero.
      aa36e4d2
  2. 30 May, 2012 1 commit
  3. 19 May, 2012 1 commit
    • Eli Zaretskii's avatar
      A better fix for bug #11464 with pos-visible-in-window-p and R2L text. · 44e27368
      Eli Zaretskii authored
       src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
       state after an additional call to move_it_in_display_line_to, keep
       the values of it->max_ascent and it->max_descent found for the
       entire line.
       (pos_visible_p): Revert the comparison against bottom_y to what it
       was in 2012-05-13T18:22:35Z!eliz@gnu.org.
      44e27368
  4. 15 May, 2012 1 commit
  5. 13 May, 2012 2 commits
    • Eli Zaretskii's avatar
      Fix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph. · c8fb9dc6
      Eli Zaretskii authored
       src/xdisp.c (pos_visible_p): Don't report a position visible when move_it_to
       stopped at the last line of window, which happens to be scanned
       backwards by the bidi iteration.
      c8fb9dc6
    • Eli Zaretskii's avatar
      Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY. · ac268e67
      Eli Zaretskii authored
       src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
       already have overlays loaded.
       (handle_single_display_spec): Before returning without displaying
       fringe bitmap, synchronize the bidi iterator with the main display
       iterator, by calling iterate_out_of_display_property.
       (iterate_out_of_display_property): Detect buffer iteration by
       testing that it->string is a Lisp string.
       (get_next_display_element): When the current object is exhausted,
       and there's something on it->stack, call set_iterator_to_next to
       proceed with what's on the stack, instead of returning zero.
       (set_iterator_to_next): If called at the end of a Lisp string,
       proceed to consider_string_end without incrementing string
       position.  Don't increment display vector index past the end of
       the display vector.
      ac268e67
  6. 11 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix display when left-fringe/right-fringe display spec is invalid. · 82f9b393
      Eli Zaretskii authored
       src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
       and right-margin display specs even if the spec is invalid or we
       are on a TTY, and thus unable to display on the fringes.  That's
       because the text with the property will not be displayed anyway,
       so we need to signal to the caller that this is a "replacing"
       display spec.  This fixes display when the spec is invalid or we
       are on a TTY.
      82f9b393
  7. 29 Apr, 2012 1 commit
  8. 23 Apr, 2012 1 commit
    • Eli Zaretskii's avatar
      Avoid assertion violation when scrolling minibuffer windows. · f0ee99a0
      Eli Zaretskii authored
       src/xdisp.c (pos_visible_p): If the window start position is beyond
       ZV, start the display from buffer beginning.  Prevents assertion
       violation in init_iterator when the minibuffer window is scrolled
       via the scroll bar.
       src/window.c (window_scroll_pixel_based): Likewise.
      f0ee99a0
  9. 17 Apr, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11261 with cursor movement in a continued line when header line is present. · 20a68157
      Eli Zaretskii authored
       src/xdisp.c (string_buffer_position_lim): Limit starting position to BEGV.
       (set_cursor_from_row): If called for a mode-line or header-line
       row, return zero immediately.
       (try_cursor_movement): If inside continuation line, don't back up
       farther than the first row after the header line, if any.  Don't
       consider the header-line row as "partially visible", even if
       MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero.
      20a68157
  10. 09 Apr, 2012 2 commits
  11. 31 Mar, 2012 3 commits
  12. 30 Mar, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11068 with window display when default face was remapped. · 65a0a738
      Eli Zaretskii authored
       src/xdisp.c (append_space_for_newline): If the default face was
       remapped, use the remapped face for the appended newline.
       (extend_face_to_end_of_line): Use the remapped default face for
       extending the face to the end of the line.
       (display_line): Call extend_face_to_end_of_line when the default
       face was remapped.
      65a0a738
  13. 24 Mar, 2012 1 commit
  14. 22 Mar, 2012 1 commit
    • Chong Yidong's avatar
      For line prefixes, use default face; don't inherit from previous line. · 9f851fbd
      Chong Yidong authored
      * src/dispextern.h (struct it): New member string_from_prefix_prop_p.
      
      * src/xdisp.c (push_prefix_prop): Renamed from push_display_prop.
      Mark string as coming from a prefix property.
      (handle_face_prop): Use default face for prefix strings.
      (pop_it, reseat_1): Save and restore string_from_prefix_prop_p.
      
      Fixes: debbugs:4281
      9f851fbd
  15. 18 Mar, 2012 1 commit
  16. 02 Mar, 2012 3 commits
  17. 29 Feb, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #10903 with displaying an empty display string. · 312508d7
      Eli Zaretskii authored
       src/xdisp.c (get_overlay_strings_1): Under bidi redisplay, call
       push_it before setting up the iterator for the first overlay
       string, even if we have an empty string loaded.
       (next_overlay_string): If there's an empty string on the iterator
       stack, pop the stack.
      312508d7
  18. 12 Feb, 2012 1 commit
  19. 02 Feb, 2012 2 commits
  20. 12 Jan, 2012 1 commit
  21. 11 Jan, 2012 2 commits
  22. 09 Jan, 2012 6 commits
  23. 05 Jan, 2012 1 commit
  24. 31 Dec, 2011 2 commits
  25. 30 Dec, 2011 1 commit
  26. 23 Dec, 2011 1 commit