1. 11 Apr, 2011 1 commit
  2. 30 Mar, 2011 1 commit
    • Eli Zaretskii's avatar
      Documentation parts of the scroll fix. · 09725d26
      Eli Zaretskii authored
       src/xdisp.c (syms_of_xdisp) <scroll-conservatively>: Document the
       threshold of 100 lines for never-recentering scrolling.
       doc/emacs/display.texi (Auto Scrolling): Document the limit of 100
       lines for never-recentering scrolling with `scroll-conservatively'.
      09725d26
  3. 29 Mar, 2011 1 commit
  4. 28 Mar, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix failures in try_scrolling when scrolling back. · 9f3842ce
      Eli Zaretskii authored
       src/xdisp.c (try_scrolling): When point is above the window, allow
       searching as far as scroll_max, or one screenful, to compute
       vertical distance from PT to the scroll margin position.  This
       prevents try_scrolling from unnecessarily failing when
       scroll-conservatively is set to a value slightly larger than the
       window height.
      9f3842ce
  5. 27 Mar, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix scrolling back with scroll-down-aggressively. · fd738ca5
      Eli Zaretskii authored
       src/xdisp.c (try_scrolling): Clean up the case of PT below the
       margin at bottom of window: scroll_max can no longer be INT_MAX.
       (redisplay_window): Find character position of margin and use
       that, rather than adding margin to PT.
      fd738ca5
  6. 26 Mar, 2011 6 commits
    • Eli Zaretskii's avatar
      Fix scrolling with scroll-*-aggressively. · 3b2c5ab1
      Eli Zaretskii authored
      Aggressive scrolling backward by large distance still doesn't DTRT.
      
       src/xdisp.c (try_scrolling): When aggressive scrolling is in use, don't
       let point enter the opposite scroll margin as result of the scroll.
       (redisplay_window): Fix operator precedence in condition.
      3b2c5ab1
    • Eli Zaretskii's avatar
      Fix bug #6671 with point position in the window when scrolling far away. · 06b6bbb5
      Eli Zaretskii authored
       src/xdisp.c (redisplay_window): Don't check buffer's clip_changed
       flag as a prerequisite for invoking try_scrolling.
       (try_scrolling): Limit scrolling to 100 screen lines.
       (SCROLL_LIMIT): New macro.
       (try_scrolling): Use it when setting scroll_limit.
       (redisplay_window): Even when falling back on "recentering",
       position point in the window according to scroll-conservatively,
       scroll-margin, and scroll-*-aggressively variables.
      06b6bbb5
    • Eli Zaretskii's avatar
      Don't scroll more than 100 lines in try_scrolling. · 5d9bd976
      Eli Zaretskii authored
       src/xdisp.c (try_scrolling): Limit scrolling to 100 screen lines.
      5d9bd976
    • Eli Zaretskii's avatar
      Call try_scrolling even if buffer's clip_changed flag is set. · 66537049
      Eli Zaretskii authored
       src/xdisp.c (redisplay_window): Don't check buffer's clip_changed
       flag as a prerequisite for invoking try_scrolling.  (Bug#6671)
      66537049
    • Juanma Barranquero's avatar
      src/*.c: Fix more warnings about unused parameters. · 59eb0929
      Juanma Barranquero authored
      * keymap.c (describe_vector): Remove parameters `indices' and
        `char_table_depth', unused since 2002-03-01T01:43:26Z!handa@m17n.org.
        (describe_map, Fdescribe_vector): Adjust calls to `describe_vector'.
      
      * w32.c (read_unc_volume): Use parameter `henum', instead of
        global variable `wget_enum_handle'.
      59eb0929
    • Juanma Barranquero's avatar
      src/*.h: Remove unused parameters and functions. · f868cd8a
      Juanma Barranquero authored
      * keyboard.h (timer_check, show_help_echo): Remove unused parameters.
      
      * keyboard.c (timer_check): Remove parameter `do_it_now',
        unused since 1996-04-12T06:01:29Z!rms@gnu.org.
        (show_help_echo): Remove parameter `ok_to_overwrite_keystroke_echo',
        unused since 2008-04-19T19:30:53Z!monnier@iro.umontreal.ca.
      
      * keyboard.c (read_char):
      * w32menu.c (w32_menu_display_help):
      * xmenu.c (show_help_event, menu_help_callback):
        Adjust calls to `show_help_echo'.
      
      * gtkutil.c (xg_maybe_add_timer):
      * keyboard.c (readable_events):
      * process.c (wait_reading_process_output):
      * xmenu.c (x_menu_wait_for_event): Adjust calls to `timer_check'.
      
      * insdel.c (adjust_markers_gap_motion):
        Remove; no-op since 1998-01-02T21:29:48Z!rms@gnu.org.
        (gap_left, gap_right): Don't call it.
      f868cd8a
  7. 25 Mar, 2011 16 commits
  8. 24 Mar, 2011 3 commits
  9. 23 Mar, 2011 10 commits