1. 15 Oct, 2013 8 commits
  2. 14 Oct, 2013 11 commits
    • Xue Fuqiao's avatar
    • Xue Fuqiao's avatar
      Comment · c463be09
      Xue Fuqiao authored
      c463be09
    • Dima Kogan's avatar
      * lisp/progmodes/subword.el (subword-capitalize): Be careful when · c2de5588
      Dima Kogan authored
      the search for [[:alpha:]] fails.
      
      Fixes: debbugs:15580
      c2de5588
    • Eli Zaretskii's avatar
      Attempt to fix time_t related problems with MinGW 4.0 runtime. · 279066b2
      Eli Zaretskii authored
       nt/inc/mingw_time.h: New file.
       nt/inc/ms-w32.h: Include mingw_time.h instead of doing its job.
      
       src/w32proc.c: Include mingw_time.h.
       src/w32.c: Include mingw_time.h.
      279066b2
    • Eli Zaretskii's avatar
      Implement scrolling of TTY menus when the screen is too short. · ccd4a783
      Eli Zaretskii authored
       src/term.c (tty_menu_display): Accept an additional argument, the
       menu item from which to start displaying the menu.  Account for
       the value of Y when limiting the menu to the number of available
       screen lines.
       (mi_result): New enumeration.
       (read_menu_input): Return enumerated value.  When the y coordinate
       hits min_y or max_y, return scroll indication instead of wrapping
       around the menu.
       (tty_menu_activate): Handle the scrolling indications from
       read_menu_input.  Compute the first menu item to display and pass
       it to tty_menu_display.
      
       lisp/menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
       to commands that scroll the menu.
      ccd4a783
    • Dmitry Antipov's avatar
      * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK) · 77e3b1b7
      Dmitry Antipov authored
      (FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK)
      (FRAME_SCROLL_REGION_COST, FRAME_MEMORY_BELOW_FRAME):
      Adjust to match the change described below.
      (struct terminal): Move must_write_spaces, line_ins_del_ok,
      char_ins_del_ok, scroll_region_ok, scroll_region_cost and
      memory_below_frame members to...
      * termchar.h (struct tty_display_info): ...here because they're
      relevant only on TTYs.  Prefer unsigned bitfield where appropriate.
      * term.c (init_tty):
      * nsterm.m (ns_create_terminal):
      * w32term.c (w32_create_terminal):
      * xterm.c (x_create_terminal): Adjust users.
      * dispnew.c (line_hash_code, line_draw_cost): Pass frame arg
      to filter out non-TTY frames.  Adjust comment.
      (scrolling): Adjust user.  Prefer eassert for debugging check.
      77e3b1b7
    • Dmitry Antipov's avatar
      * xfaces.c (PT_PER_INCH): Remove unused macro. · e558436b
      Dmitry Antipov authored
      * termhooks.h (struct terminal): Remove set-but-unused
      member fast_clear_end_of_line.
      (FRAME_FAST_CLEAR_END_OF_LINE): Remove.
      * nsterm.m (ns_create_terminal):
      * term.c (init_tty):
      * w32term.c (w32_create_terminal):
      * xterm.c (x_create_terminal): Adjust users.
      e558436b
    • Glenn Morris's avatar
      Auto-commit of generated files. · 3083cf62
      Glenn Morris authored
      3083cf62
    • Paul Eggert's avatar
      * lisp.h (bool_vector_size): New function. · 1c0a7493
      Paul Eggert authored
      All uses of XBOOL_VECTOR (x)->size changed to bool_vector_size (x).
      * data.c (bool_vector_spare_mask, bool_vector_binop_driver)
      (Fbool_vector_not, Fbool_vector_count_matches_at):
      Remove uses of 'eassume' that should no longer be needed,
      because they are subsumed by the 'eassume' in bool_vector_size.
      1c0a7493
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Handle · 1eda1d8d
      Dmitry Gutov authored
      methods ending with `?' and `!'.
      
      * test/indent/ruby.rb: More examples for bug#15594, both failing and
      now passing.
      1eda1d8d
    • Akinori MUSHA's avatar
      * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from · e70181b8
      Akinori MUSHA authored
      `japanese-cp932' to `cp932' to fix the problem where saving a
      source file written in Shift_JIS twice would end up having
      `coding: japanese-cp932' which Ruby could not recognize.
      (ruby-mode-set-encoding): Add support for encodings mapped to nil
      in `ruby-encoding-map'.
      (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
      doesn't need to be explicitly declared in magic comment.
      (ruby-encoding-map): Add type declaration for better customize UI.
      e70181b8
  3. 13 Oct, 2013 16 commits
  4. 12 Oct, 2013 5 commits