1. 04 Oct, 2009 1 commit
  2. 28 Mar, 2009 2 commits
    • Stefan Monnier's avatar
      * editfns.c (general_insert_function): Adjust to insdel.c changes. · 9628fed7
      Stefan Monnier authored
      * insdel.c (prepare_to_modify_buffer, signal_before_change):
      Some more EMACS_INT.
      * lisp.h (copy_text, count_size_as_multibyte): Fix last change.
      9628fed7
    • Stefan Monnier's avatar
      * insdel.c (move_gap, move_gap_both, gap_left, gap_right) · ae19ba7c
      Stefan Monnier authored
      (adjust_markers_gap_motion, adjust_markers_for_delete)
      (adjust_markers_for_insert, adjust_point)
      (adjust_markers_for_replace, make_gap_larger, make_gap_smaller)
      (make_gap, copy_text, count_size_as_multibyte, insert)
      (insert_and_inherit, insert_before_markers)
      (insert_before_markers_and_inherit, insert_1)
      (count_combining_before, count_combining_after, insert_1_both)
      (insert_from_string, insert_from_string_before_markers)
      (insert_from_string_1, insert_from_gap, insert_from_buffer)
      (insert_from_buffer_1, adjust_after_replace)
      (adjust_after_replace_noundo, adjust_after_insert, replace_range)
      (replace_range_2, del_range, del_range_1, del_range_byte)
      (del_range_both, del_range_2, modify_region)
      (prepare_to_modify_buffer, signal_before_change)
      (signal_after_change, Fcombine_after_change_execute): Use EMACS_INT
      for buffer positions and sizes.
      * lisp.h: Adjust prototypes accordingly.
      * fileio.c (adjust_markers_for_delete): Move declaration to lisp.h.
      (non_regular_inserted, non_regular_nbytes, read_non_regular)
      (Finsert_file_contents): Use EMACS_INT for buffer positions.
      ae19ba7c
  3. 22 Feb, 2009 1 commit
  4. 08 Jan, 2009 1 commit
  5. 30 Dec, 2008 1 commit
  6. 14 May, 2008 1 commit
  7. 03 Apr, 2008 1 commit
  8. 12 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1. · 13818c30
      Stefan Monnier authored
      (detect_coding_system):
      * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
      (string_char_to_byte, string_byte_to_char, insert_from_gap):
      * insdel.c (insert_from_gap):
      * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
      (string_char_to_byte, string_byte_to_char, string_make_multibyte)
      (string_to_multibyte):
      * character.c (chars_in_text, multibyte_chars_in_text):
      * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
      13818c30
  9. 08 Jan, 2008 1 commit
  10. 02 Oct, 2007 1 commit
  11. 21 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      (reset_var_on_error): New fun. · 97c4ef2a
      Stefan Monnier authored
      (signal_before_change, signal_after_change):
      Use it to reset (after|before)-change-functions to nil in case of error.
      Bind inhibit-modification-hooks to t.
      Don't bind (after|before)-change-functions to nil while they run.
      97c4ef2a
  12. 15 Aug, 2007 1 commit
  13. 13 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      (reset_var_on_error): New fun. · 4a181359
      Stefan Monnier authored
      (signal_before_change, signal_after_change):
      Use it to reset (after|before)-change-functions to nil in case of error.
      Bind inhibit-modification-hooks to t.
      Don't bind (after|before)-change-functions to nil while they run.
      4a181359
  14. 25 Jul, 2007 1 commit
  15. 29 Apr, 2007 2 commits
  16. 28 Feb, 2007 1 commit
  17. 21 Jan, 2007 1 commit
  18. 01 Sep, 2006 1 commit
    • Chong Yidong's avatar
      * buffer.h (struct buffer_text): New field chars_modiff. · 3e145152
      Chong Yidong authored
              (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
              * buffer.c (Fbuffer_chars_modified_tick): New function returning
              value of BUF_CHARS_MODIFF.
              (syms_of_buffer): Defsubr it.
              (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
              * insdel.c (modify_region): New argument preserve_chars_modiff.
              Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
              (insert_1_both, insert_from_string_1, insert_from_buffer_1)
              (adjust_after_replace, adjust_after_replace_noundo)
              (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
              * lisp.h (modify_region): Add fourth argument in extern.
              * casefiddle.c (casify_region): Call modify_region with fourth
              argument zero to assert that CHARS_MODIFF is updated.
              * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
              (Ftranspose_regions): Likewise.
              * textprop.c (Fadd_text_properties, Fset_text_properties)
              (Fremove_text_properties, Fremove_list_of_text_properties):
              Call modify_region with fourth argument 1 to avoid that
              CHARS_MODIFF is updated.
      3e145152
  19. 05 Jul, 2006 1 commit
  20. 06 Feb, 2006 1 commit
  21. 23 Dec, 2005 1 commit
  22. 07 Aug, 2005 1 commit
  23. 23 Jul, 2005 1 commit
  24. 04 Jul, 2005 1 commit
  25. 01 Feb, 2005 1 commit
  26. 02 Dec, 2004 1 commit
  27. 02 Nov, 2004 1 commit
  28. 22 May, 2004 1 commit
  29. 16 Apr, 2004 1 commit
  30. 25 Mar, 2004 1 commit
  31. 16 Oct, 2003 1 commit
  32. 08 Sep, 2003 1 commit
  33. 01 Sep, 2003 1 commit
  34. 09 Jul, 2003 1 commit
  35. 26 Jun, 2003 1 commit
  36. 04 Feb, 2003 1 commit
  37. 06 Jan, 2003 1 commit
  38. 30 Oct, 2002 1 commit