1. 31 Mar, 2013 1 commit
  2. 30 Mar, 2013 17 commits
  3. 29 Mar, 2013 9 commits
  4. 28 Mar, 2013 11 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/edebug.el (edebug-mode): Make it a minor mode. · 17c781d1
      Stefan Monnier authored
      (edebug--recursive-edit): Use it.
      (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
      (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
      17c781d1
    • Stefan Monnier's avatar
      * src/lisp.h (save_type, XSAVE_POINTER, set_save_pointer, XSAVE_INTEGER) · 717b8bcd
      Stefan Monnier authored
      (set_save_integer, XSAVE_OBJECT, XSAVE_VALUE): Move to avoid
      forward references.
      717b8bcd
    • Dmitry Antipov's avatar
      * window.h (struct window): Replace hchild, vchild and buffer slots · e74aeda8
      Dmitry Antipov authored
      with the only contents slot.  This is possible because each valid
      window may have either the child window (in vertical or horizontal
      combination) or buffer to display (for the leaf window).  Using that,
      a lof of operations to traverse and/or change window hierarchies may
      be simplified.  New member horizontal is used to distinguish between
      horizontal and vertical combinations of internal windows.
      (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P)
      (WINDOW_VERTICAL_COMBINATION_P): New macros.
      (WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes.
      * window.c (wset_hchild, wset_vchild): Remove.  Adjust all users.
      Use contents slot, not buffer, where appropriate.
      (wset_combination): New function.
      (wset_buffer): Add eassert.
      (Fframe_first_window): Simplify the loop reaching first window.
      (Fwindow_buffer): Use WINDOW_LEAF_P.
      (Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P.
      (Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P.
      (unshow_buffer): Convert initial debugging check to eassert.
      (replace_window, recombine_windows, Fdelete_other_windows_internal)
      (make_parent_window, window_resize_check, window_resize_apply)
      (resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal)
      (Fset_window_configuration, delete_all_child_windows, save_window_save):
      Adjust to match struct window changes.
      (window_loop): Check for broken markers in CHECK_ALL_WINDOWS.
      (mark_window_cursors_off, count_windows, get_leaf_windows)
      (foreach_window_1): Simplify the loop.
      * alloc.c (mark_object): Do not check for the leaf window because
      internal windows has no glyph matrices anyway.
      * dispnew.c (clear_window_matrices, showing_window_margins_p)
      (allocate_matrices_for_window_redisplay, fake_current_matrices)
      (allocate_matrices_for_frame_redisplay, free_window_matrices)
      (build_frame_matrix_from_window_tree, mirror_make_current)
      (frame_row_to_window, mirror_line_dance, check_window_matrix_pointers)
      (update_window_tree, set_window_update_flags): Simplify the loop.
      (sync_window_with_frame_matrix_rows): Enforce live window.
      Use contents slot, not buffer, where appropriate.
      * frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P
      and WINDOW_HORIZONTAL_COMBINATION_P.
      (make_frame_visible_1): Simplify the loop.
      Use contents slot, not buffer, where appropriate.
      * xdisp.c (hscroll_window_tree, mark_window_display_accurate)
      (redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree)
      (expose_window_tree): Likewise.
      Use contents slot, not buffer, where appropriate.
      * textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW
      to avoid deleted windows.  Use contents slot instead of buffer.
      * buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c:
      * indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c:
      * nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c:
      * xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate.
      e74aeda8
    • Eli Zaretskii's avatar
      Fix inaccuracy in a comment. · 9d42d31f
      Eli Zaretskii authored
      9d42d31f
    • Eli Zaretskii's avatar
      Fix bug #14073 with referencing window total number of columns. · 21e930f8
      Eli Zaretskii authored
       src/w32fns.c (Fx_show_tip): Fix compilation error under
       "--enable-check-lisp-object-type".
      21e930f8
    • Dmitry Antipov's avatar
      Fix 2013-03-28T02:41:05Z!dmantipov@yandex.ru which brokes Fbuffer_swap_text. · c7f53895
      Dmitry Antipov authored
      * buffer.c (Fbuffer_swap_text): Adjust window start markers.
      Fix comment.
      c7f53895
    • Eli Zaretskii's avatar
      Add debugging code to w32fns.c. · ef454cf7
      Eli Zaretskii authored
       src/w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help
       identify the reasons for assertion violations in bug#14062 and
       similar ones.
      ef454cf7
    • Eli Zaretskii's avatar
      Add DEF_IMGLIB_FN for g_error_free to image.c. · 121ab1cd
      Eli Zaretskii authored
       src/image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN.
       Reported by <rzl24ozi@gmail.com>.
      121ab1cd
    • Leo Liu's avatar
      * vc/vc-bzr.el (vc-bzr-revert): Don't backup. · f67bfbcf
      Leo Liu authored
      Fixes: debbugs:14066
      f67bfbcf
    • Dmitry Antipov's avatar
      * xdisp.c (with_echo_area_buffer_unwind_data): Save window · 5c89ca24
      Dmitry Antipov authored
      start marker...
      (unwind_with_echo_area_buffer): ...to restore it here.  This
      is needed to ensure that...
      (redisplay_window): ...both window markers are valid here,
      which is verified by eassert.
      * editfns.c (save_excursion_save): Do not assume that
      selected_window always displays the buffer.
      5c89ca24
    • Katsumi Yamaoka's avatar
  5. 27 Mar, 2013 2 commits